Jeff Abrahamson on 19 Sep 2004 12:07:03 -0000

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

Re: [PLUG] exim return address rewriting

On Sat, Sep 18, 2004 at 05:50:56PM -0400, Stephen Gran wrote:
>   [33 lines, 233 words, 1488 characters]  Top characters: -etaiosn
> On Sat, Sep 18, 2004 at 12:48:59PM -0400, Jeff Abrahamson said:
> > I have a Debian stable machine running exim where my user name
> > ( is not my email address
> > (jeffxyz @
> > 
> > I would like to set up exim to make sure that email from me looks like
> > it's from  (I'd like to do it at the exim level
> > so that the choice of mailer isn't important.)
> > 
> > Ideally, I'd like Debian to understand this change so that future
> > installs / updates will get it write.
> > 
> > It's not clear to me that this is possible.  Any advice?
> > 
> > Tia.
> You want the 'rewrite' part of exim's conf file - By default it looks at
> /etc/email-addresses if found.  If you have root on the machine (which I
> guess you do, if you're planning on doing it at the exim level) put an
> entry of the form
> jeff:

Good idea, but it doesn't do the trick.  Although the docs suggest it
should.  I put in that line and type

    $ mail test |

and the mail received here still comes from

In exim.conf I see this line:

*    ${lookup{$1}lsearch{/etc/email-addresses}\
						{$value}fail} frFs

When I add this rule:

*    ${lookup{$1}lsearch{/etc/email-addresses}\
						{$value}fail} frFs

then it works.

Drat, that means I have to remember stuff when I upgrade to exim 4
when sarge is released.

But it works, so thanks much!


 Jeff Abrahamson  <>    +1 215/837-2287
 GPG fingerprint: 1A1A BA95 D082 A558 A276  63C6 16BF 8C4C 0D1D AE4B

 A cool book of games, highly worth checking out:

Attachment: signature.asc
Description: Digital signature