Re: [Exim] Rewriting sender address to null sender

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Stephen Marquard
CC: exim-users
Subject: Re: [Exim] Rewriting sender address to null sender
On Fri, 17 Oct 2003, Stephen Marquard wrote:

> I want to use a rewrite rule like
>
> postmaster@???        <>        F

>
> i.e. mail sent with a postmaster@??? address should be regarded as
> a bounce message with null sender, subject to ignore_bounce_errors_after,
> for example.
>
> However, if I do this, then exim dies (core dump) after the To: address
> in the SMTP conversation.


I cannot reproduce this problem with Exim 4.24. Are you using 4.24? If
so, please can you send me more details of exactly what you do to cause
the error.

> If I use the S flag, as such:
>
> ^<postmaster\@my\.domain>    <>    FS

>
> and I try:
>
> sendmail -brw \<postmaster@???\> then I get
>
> 2003-10-17 12:53:04 Rewrite of <postmaster@???> yielded unparseable address:
> missing or malformed local part in address <>


That one I can reproduce, and will look into.

> In any event, exim surely shouldn't die with the first rewrite rule above.


It shouldn't, and it doesn't for me...


--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book