On Thu, Jul 04, 2002 at 02:03:18PM -0500, Glen Lee Edwards wrote: | On Thursday 04 July 2002 01:25 pm, Derrick 'dman' Hudson wrote: | > On Thu, Jul 04, 2002 at 01:08:14PM -0500, Glen Lee Edwards wrote: | > | Thanks for your thoughts. I was able to subscribe to the Apache | > | users list with my primary email address from my wife's Windows | > | box, which is behind a Debian firewall. No problems, no questions. | > | > Share a bit of the setup of that windows machine ... I bet it reports | > the _correct_ domain in the envelope sender, rather than an incorrect | > one. | | There's nothing fancy about it. Outlook sends the mail through my ISP. | I can put in any email address I want in the From: field, and that's | the address I'm subscribed to. Yep. Outlook will put the same address in the envelope. | > Actually, don't post that windows' MUA's setup yet, I'm writing a | > (long) explanation of what the problem is and how to correct it. | > Give a few minutes. | | I hope your approach is better than Chuck Meads (Moongroup). His | approach to envelope masquerading locked me into one outgoing email | address. *Everything* I sent from here put the masquerade address in | the From: field. Ugh. No, the exim rewrite I proposed won't do that. | His approach made Linux as a desktop worthless. Unless you use a mail client that has the same SMTP semantics as outlook (eg mozilla, netscape, kmail (AFAIK)). | I was forced to use linux as a web and mail server, but I had to use | Windows as my desktop PC. | | > | I have no choice in using several email addresses. | > | > This is irrelevant. See my next post for the explanation. | | Hope so. If it works you're the smartest mail guru I've met. Thanks. The rewrite rule I posted will change envelope sender ('F') the From: header ('f') and the Reply-To: header ('r') at SMTP time ('S'), but will rewrite it iff the existing address matches the pattern. Thus if you use /bin/mail (which will make a From: header of user@host.domain), exim will correct that to be user@domain. However if you use mutt and tell it to create the From: header as "dsh8290@rit.edu", exim won't touch it. (see chapter 30 of the exim 4 spec, or chapter 34 in the exim 3 spec) You can test it like this : $ exim -C ./glen-exim.conf -brw "glen@hope-in-christ.fcwm.org" sender: glen@fcwm.org from: glen@fcwm.org to: glen@hope-in-christ.fcwm.org cc: glen@hope-in-christ.fcwm.org bcc: glen@hope-in-christ.fcwm.org reply-to: glen@fcwm.org env-from: glen@fcwm.org env-to: glen@hope-in-christ.fcwm.org the output shows what exim would do to the address given on the commandline *if* it appears in the given location. -D -- For society, it's probably a good thing that engineers value function over appearance. For example, you wouldn't want engineers to build nuclear power plants that only _look_ like they would keep all the radiation inside. (Scott Adams - The Dilbert principle) http://dman.ddts.net/~dman/
Attachment:
pgpq2EMZZX2bK.pgp
Description: PGP signature