[exim] Rewriting duff 'From:' headers

Top Page
Delete this message
Reply to this message
Author: Jonathan Sambrook
Date:  
To: exim-users
New-Topics: [exim] Exim not honouring rewrite request, [exim] Exim not honouring rewrite request
Subject: [exim] Rewriting duff 'From:' headers
Hi,

I'm having difficulty getting Exim to rewrite headers containing address
phrases in the incorrect (unquoted) form:

me@??? <me@mydomain>

to correct form:

"me@???" <me@???>


[Yes, I know, the sending processes shouldn't be sending badly formatted
addresses, but our clients are used to our previous Sendmail setup just
working.]


It seems Exim is balking at the first @ sign in the address phrase.

Running with '-d-all+rewite' shows that even a simple rewrite rule such as:

* $0 fw

doesn't bite when there is an unquoted address phrase containing an @.

Can someone beat me with the clue stick please?

Regards,
Jonathan