[exim] Rewriting duff 'From:' headers

Etusivu
Poista viesti
Vastaa
Lähettäjä: Jonathan Sambrook
Päiväys:  
Vastaanottaja: exim-users
Uudet otsikot: [exim] Exim not honouring rewrite request, [exim] Exim not honouring rewrite request
Aihe: [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