[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: exim: Rewriting from address for outgoing mail ?



> On Wed, Oct 27, 1999 at 02:08:45AM +0200, Shaul Karl wrote:
> > Package: exim
> > Version: 3.03-1
> > Severity: wishlist
> > 
> > How can I get exim to rewrite the from address only on outgoing mail ?
> > ######################################################################
> > #                      REWRITE CONFIGURATION                         #
> > ######################################################################
> > 
> > 
> > # There are no rewriting specifications in this default configuration file.
> > 
> > 
> > # This is an example of a useful rewriting rule---it looks up the real
> > # address of all local users in a file
> > 
> > # *@rakefet    ${lookup{$1}lsearch{/etc/email-addresses}\
> > #						{$value}fail} bcfrF
> > 
> > # End of Exim configuration file
> you can enter the rewrite-rules into /etc/email-addresses or just put it into
> /etc/exim.conf.
> Here is a sample-text for the exim.conf:
> 	--snip--
> 	neuro@* neuro@nitram.berlin.ccc.de Ffs
> 	firma@* wm@3point14.de Ffs
> 	--snap--
> it changes neuro@<anyhost> to neuro@nitram.berlin.ccc.de for all outgoing mails.
> the syntax is quite simple and very well documented.
> Just put into the section "REWRITE CONFIGURATION" I quoted above.
> 

Thank you.

I added 

shaul@*         shaulk@israsrv.net.il Ffs

Yet this is causing all mail, even the one that is sent locally, to have my ISP domain. How can I change this ?


Reply to: