diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1998-02-15 05:00:07 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1998-02-15 05:00:07 +0000 |
commit | 2aa3c11b14c9b0b91ae720b0f1cb7b88f5a0f55d (patch) | |
tree | 59cdba369a7a792d7d3186704867fb7cbc2cee4e | |
parent | 3e3f80d2449128884b70929feee97fa3c240421a (diff) | |
download | fetchmail-2aa3c11b14c9b0b91ae720b0f1cb7b88f5a0f55d.tar.gz fetchmail-2aa3c11b14c9b0b91ae720b0f1cb7b88f5a0f55d.tar.bz2 fetchmail-2aa3c11b14c9b0b91ae720b0f1cb7b88f5a0f55d.zip |
Document multidrop search algorithm.
svn path=/trunk/; revision=1625
-rw-r--r-- | fetchmail.man | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/fetchmail.man b/fetchmail.man index 5f31a017..885e52df 100644 --- a/fetchmail.man +++ b/fetchmail.man @@ -1110,6 +1110,39 @@ a command-line --daemon option; in particular --daemon 0 can be used to force foreground operation. Finally, `set syslog' sends log messages to syslogd(8). +.SH INTERACTION WITH RFC 822 +When trying to detertmine the originating address of a message, +fetchmail looks through headers in the following order: + + Return-Path: + Resent-Sender: + Sender: + Resent-From: + From: + Reply-To: + Apparently-From: + +The originating address is used for logging, and to set the MAIL FROM +address when forwarding to SMTP. This order is intended to cope +gracefully with receiving mailing list messages in multidrop mode. The +intent is that if a local address doesn't exist, the bounce message +won't be returned blindly to the author or to the list itself, but +rather to the list manager (which is less annoying). + +In multidrop mode, destination headers are processed as follows: +First, fetchmail looks for the Received: header (or whichever one is +specified by the `envelope' option) to determine the local +recipient adress. If the mail is addressed to more than one recipient, +the Received line won't contain any information regarding recipient adresses. + +Then fetchmail looks for the Resent-To:, Resent-Cc:, and Resent-Bcc: +lines. If they exists, they should contain the final recipients and +have precedence over their To:/Cc:/Bcc: counterparts. If the Resent-* +lines doesn't exist, the To:, Cc:, Bcc: and Apparently-To: lines are +looked for. (The presence of a Resent-To: is taken to impluy that the +person referred by the To: address has already received the original +copy of the mail). + .SH CONFIGURATION EXAMPLES Basic format is: |