[exim] SMTP-time rewriting

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Nikita Koshikov
Dátum:  
Címzett: exim-users
Tárgy: [exim] SMTP-time rewriting
Hello exim experts,

I need exim to rewrite addresses like: <user@domain*admin> to the form <user@domain>.

Here is the rule I made for this:

\N^(.*)\*admin(.*)?$\N          $1$2 S


This is working on smtp-time MAIL FROM stage as I needed, but headers doesn't touched by it.
Adding one more rule without S flag didn't help and body headers From, Sender, etc list unrewritten data.

What's wrong and how can I fix this ?