Gnus development mailing list
 help / color / mirror / Atom feed
From: Amos Gouaux <amos+lists.ding@utdallas.edu>
Subject: Re: Sender header?
Date: 02 Jun 2001 16:44:12 -0500	[thread overview]
Message-ID: <q6mu21yk15f.fsf@spartacus.utdallas.edu> (raw)
In-Reply-To: <m1g0dsyu5k.fsf@reader.notalegal.fqdn> (Harry Putnam's message of "26 May 2001 09:05:20 -0700")

Frightening thread.  

Personally, what I'm most concerned about is the envelope sender.
If I set an identity in PINE, the "Sender:" will be
me@mymachine.domain, but the "From:" and the envelope sender
(eventually "Return-Path:") will be the identity address.  If the
envelope sender doesn't match the "From:" (before posting to a
list), then it's really hell to deal with.

Currently, to deal with this in gnus, I use the following (this was
done a while ago, so the comments might be way out of date now):

;;; Using smtpmail because it allows me to easily keep the "From:" address
;;; and envelope sender the same, just by setting `user-mail-address' via
;;; some posting styles (see below).  Why is this important?  Well, some
;;; MLMs are really anal about using the envelope sender rather than the
;;; "From:" address.  So this just makes sure I don't have too many headaches.
(load "smtpmail" nil t) ;;;; loading my hacked version.....
(add-hook
 'message-load-hook
 (function
  (lambda ()
    ;;; Envelope sender still a problem... try this...
    (add-to-list 'message-syntax-checks '(sender . disabled))
    (require 'smtpmail)
    (setq send-mail-function 'smtpmail-send-it)
    (setq message-send-mail-function 'smtpmail-send-it)
    (setq smtpmail-smtp-server "smtp.utdallas.edu"))))

I guess I also have to add that while the new RFCs do seem to
clarify some points, there still seems to be some room for
interpretation.  For example, take this portion from 2821:

B. Generating SMTP Commands from RFC 822 Headers

   2. The return address in the MAIL command SHOULD, if possible, be
      derived from the system's identity for the submitting (local)
      user, and the "From:" header field otherwise.  If there is a
      system identity available, it SHOULD also be copied to the Sender
      header field if it is different from the address in the From
      header field.  (Any Sender field that was already there SHOULD be
      removed.)

which seems to confirm what Rat has been saying.  HOWEVER, the very
next sentence reads:

      Systems may provide a way for submitters to override the
      envelope return address, but may want to restrict its use to 
      privileged users.  This will not prevent mail forgery, but may
      lessen its incidence; see section 7.1.

Well, this seems to weaken the SHOULDs above.  Section 7.1 then goes
on to say:

   Efforts to make it more difficult for users to set envelope return
   path and header "From" fields to point to valid addresses other than
   their own are largely misguided: they frustrate legitimate
   applications in which mail is sent by one user on behalf of another
   or in which error (or normal) replies should be directed to a special
   address.

Oh well, so much for that.  Not meaning to be a pain in the ass, but
I sure rely on such identities (with Cyrus shared folders) bloody
heavily........ 

-- 
Amos



  reply	other threads:[~2001-06-02 21:44 UTC|newest]

Thread overview: 121+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-23 16:27 Kai Großjohann
2001-05-23 16:34 ` Paul Jarc
2001-05-24 13:17   ` Kai Großjohann
2001-05-23 18:14 ` Stainless Steel Rat
2001-05-24 13:11   ` Kai Großjohann
2001-05-24 15:59     ` Stainless Steel Rat
2001-05-24 16:31       ` Kai Großjohann
2001-05-24 18:35         ` Stainless Steel Rat
2001-05-24 19:00           ` Paul Jarc
2001-05-24 19:34             ` Stainless Steel Rat
2001-05-24 19:52               ` Paul Jarc
2001-05-24 20:32                 ` Stainless Steel Rat
2001-05-24 20:48                   ` Paul Jarc
2001-05-24 21:20                     ` Stainless Steel Rat
2001-05-24 21:31                       ` Paul Jarc
2001-05-25  1:15                         ` Stainless Steel Rat
2001-05-25 15:26                           ` Paul Jarc
2001-05-24 22:59                       ` Kai Großjohann
2001-05-25  1:23                         ` Stainless Steel Rat
2001-05-25  2:38                           ` Bjørn Mork
2001-05-25  4:12                             ` Stainless Steel Rat
2001-05-25  9:30                             ` Kai Großjohann
2001-05-25  9:28                           ` Kai Großjohann
2001-05-25 20:08                             ` Stainless Steel Rat
2001-05-25 20:30                               ` Paul Jarc
2001-05-25 22:00                                 ` Bjørn Mork
2001-05-26  5:09                                 ` Stainless Steel Rat
2001-05-27 22:34                                   ` Paul Jarc
2001-05-27 23:14                                     ` Stainless Steel Rat
2001-05-27 23:31                                       ` Paul Jarc
2001-05-25 21:49                               ` Kai Großjohann
2001-05-26  5:29                                 ` Stainless Steel Rat
2001-05-26 22:26                                   ` Kai Großjohann
2001-05-24 23:18                       ` Barry Fishman
2001-05-25  1:30                         ` Stainless Steel Rat
2001-05-25 16:06                           ` Paul Jarc
2001-05-25  2:10                         ` Harry Putnam
2001-05-25  4:24                           ` Stainless Steel Rat
2001-05-25  5:05                             ` Harry Putnam
2001-05-25 16:13                               ` Paul Jarc
2001-05-25 16:17                           ` Paul Jarc
2001-05-25 17:50                             ` Harry Putnam
2001-05-25 18:16                               ` Paul Jarc
2001-05-25 19:45                                 ` Harry Putnam
2001-05-25 21:59                                   ` Kai Großjohann
2001-05-25 21:55                               ` Kai Großjohann
2001-05-25 23:40                                 ` Harry Putnam
     [not found]                                   ` <87y9rknm6e.fsf@bandersnatch.i-did-not-set--mail-host-address--so-shoot-me>
2001-05-26 16:05                                     ` Harry Putnam
2001-06-02 21:44                                       ` Amos Gouaux [this message]
2001-05-26 22:21                                   ` Kai Großjohann
2001-05-27 21:39                                   ` Paul Jarc
2001-05-27 22:00                                     ` Harry Putnam
2001-05-27 22:22                                       ` Paul Jarc
2001-05-26 17:02                           ` Barry Fishman
2001-05-26 20:20                             ` Harry Putnam
2001-05-27 23:38                               ` Paul Jarc
2001-05-27 23:42                             ` Paul Jarc
2001-05-25  3:08                         ` Russ Allbery
2001-05-25  4:28                           ` Stainless Steel Rat
2001-05-25  5:21                             ` Russ Allbery
2001-05-25  9:23                             ` Kai Großjohann
2001-05-25 20:00                               ` Stainless Steel Rat
2001-05-25 21:52                                 ` Kai Großjohann
2001-05-26  5:33                                   ` Stainless Steel Rat
2001-05-26 22:24                                     ` Kai Großjohann
2001-05-25 11:46                           ` Per Abrahamsen
2001-05-25 21:56                             ` Jesper Harder
2001-05-25 16:21                           ` Paul Jarc
2001-05-26  6:45                             ` Russ Allbery
2001-05-26 22:22                               ` Kai Großjohann
2001-05-27 21:46                                 ` Paul Jarc
2001-05-27 21:45                               ` Paul Jarc
2001-05-27 22:48                                 ` Russ Allbery
2001-05-25  2:01                       ` Bjørn Mork
2001-05-24 22:53                   ` Kai Großjohann
2001-05-25  1:38                     ` Stainless Steel Rat
2001-05-25 14:56                       ` Paul Jarc
2001-05-25 20:12                         ` Stainless Steel Rat
2001-05-25 20:39                           ` Paul Jarc
2001-05-25 22:04                             ` Kai Großjohann
2001-05-25 22:15                               ` Paul Jarc
2001-05-25 22:34                                 ` Kai Großjohann
2001-05-25 22:47                                   ` Paul Jarc
2001-05-26  5:26                             ` Stainless Steel Rat
2001-05-27 22:15                               ` Paul Jarc
2001-05-27 23:02                                 ` Stainless Steel Rat
2001-05-27 23:20                                   ` Paul Jarc
2001-05-24 20:30               ` Graham Murray
2001-05-24 21:13                 ` Stainless Steel Rat
2001-05-24 21:26                   ` Paul Jarc
2001-05-25  1:12                     ` Stainless Steel Rat
2001-05-25  2:27                       ` Bjørn Mork
2001-05-25  4:10                         ` Stainless Steel Rat
2001-05-25  9:37                           ` Kai Großjohann
2001-05-25 19:54                             ` Stainless Steel Rat
2001-05-25  3:10                       ` Russ Allbery
2001-05-25  4:11                         ` Stainless Steel Rat
2001-05-25  5:20                           ` Russ Allbery
2001-05-25 15:55                       ` Paul Jarc
2001-05-24 23:02                   ` Kai Großjohann
2001-05-25  1:12                     ` Stainless Steel Rat
2001-05-25  9:35                       ` Kai Großjohann
2001-05-24 22:40           ` Kai Großjohann
2001-05-25 14:44             ` Paul Jarc
2001-05-24 22:49           ` Kai Großjohann
2001-05-24 20:18     ` Christoph Conrad
2001-05-24 20:29       ` Paul Jarc
2001-05-25  8:17         ` Christoph Conrad
2001-05-25  1:45 ` Karl Kleinpaste
2001-05-25  9:19   ` Kai Großjohann
2001-05-25 11:50     ` Karl Kleinpaste
2001-05-25 15:31       ` Paul Jarc
2001-05-25 21:21       ` Christoph Conrad
2001-05-25 15:35     ` Paul Jarc
2001-05-25 16:12       ` Kai Großjohann
2001-05-25 16:24         ` Paul Jarc
2001-05-25 16:49           ` Kai Großjohann
2001-05-25 17:39             ` Paul Jarc
2001-05-25 18:01               ` Bjørn Mork
2001-05-25 18:23                 ` Paul Jarc
2001-05-25 18:01               ` Kai Großjohann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=q6mu21yk15f.fsf@spartacus.utdallas.edu \
    --to=amos+lists.ding@utdallas.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).