From 7b3c3bbd3b9f9383ccb559cf39631cf411fae0fc Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Wed, 20 Nov 1996 00:19:32 +0000 Subject: Process Received lines. svn path=/trunk/; revision=560 --- NEWS | 1 + fetchmail.man | 15 +++++++++++++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/NEWS b/NEWS index 53b9b796..3faf5478 100644 --- a/NEWS +++ b/NEWS @@ -8,6 +8,7 @@ pl 2.0.1 (): * Include Nalin Dahyabhai's patch for MIT Kerberos support. +* Deduce the envelope address from single-addressee mail through sendmail. fetchmail-2.0 (Mon Nov 18 00:32:17 EST 1996): diff --git a/fetchmail.man b/fetchmail.man index be3c558c..5037924c 100644 --- a/fetchmail.man +++ b/fetchmail.man @@ -620,8 +620,9 @@ delivered to client user `happy'. .SH THE USE AND ABUSE OF MULTIDROP MAILBOXES Use the multiple-local-recipients feature with caution -- it can bite. The fundamental problem is that by having your server toss several -peoples' mail in a box, you have thrown away potentially vital -information about who each piece of mail was actually addressed to. +peoples' mail in a box, you may have thrown away potentially vital +information about who each piece of mail was actually addressed to +(the `envelope address', as opposed to the addresses in the headers). This can't always be deduced from the headers, especially when mailing lists are involved. .SS Good Ways To Use Multidrop Mailboxes @@ -658,6 +659,16 @@ recipient address on it. If you have multiple local names declared, .I fetchmail cannot know which to send it to! It will only go to the account running fetchmail (probably root). +.PP +Matters are further complicated by the fact that sometimes +.I fetchmail +\fIcan\fR in fact deduce the envelope address. If the server-side +MTA is +.I sendmail +and the item of mail had just one recipient, the MTA will have written +a `for' clause that gives the envelope addressee into its Received +header. But this doesn't work for other MTAs, nor if there is more +than one recipient. .SH EXIT CODES To facilitate the use of .I fetchmail -- cgit v1.2.3