Mark Phillips wrote: > Sean 'Shaleh' Perry [EMAIL PROTECTED] wrote: > > enable /etc/email-address use. I use this so that mail from > > [EMAIL PROTECTED] becomes [EMAIL PROTECTED] > ...
> All in all, it is a bad idea --- so I'm told. The _correct_ solution, > I was told, is to tell the truth about the "From:" address, ie keep it > as [EMAIL PROTECTED], but to set the "Reply-To:" field to > [EMAIL PROTECTED] > > So this is what I want to do, except I don't know how to do it. I > could perhaps figure out how to do it in individual MUAs but I'd > prefer a system wide, MUA independent, approach. > Exim can rewrite just the headers you want to rewrite. Put your alias in the etc/email-addresses file (as was suggested earlier) /and then edit the REWRITE CONFIGURATION to rewrite "r" , the reply header. As you can see, I rewrite From: Reply-to: Sender: and Env-From: headers ###################################################################### # REWRITE CONFIGURATION # ###################################################################### # There are no rewriting specifications in this default configuration file. # This rewriting rule is particularly useful for dialup users who # don't have their own domain, but could be useful for anyone. # It looks up the real address of all local users in a file # s=sender, b=bcc, c=cc, f=from, r=reply-to, F=env-from, T=env-to [EMAIL PROTECTED] ${lookup{$1}lsearch{/etc/email-addresses}\ {$value}fail} frsF # End of Exim configuration file -- David Raeker-Jordan mailto:[EMAIL PROTECTED] Harrisburg, PA, USA