[exim-dev] Authenticated_id and redirect condition

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Leszek Dubiel
Data:  
Para: exim-dev
Asunto: [exim-dev] Authenticated_id and redirect condition

I have created a router:

copysend:
driver = redirect
data = ${if eq{$local_part}{nowak} {kowalski} }
headers_remove = Subject
headers_add = Subject: authenticated_id is $authenticated_id...
unseen = yes

When user "test" sends mail to user "nowak" then user "kowalski" gets
mail with "Subject: authenticated_id is test...".


I modified that router -- in third line i have put "authenticated_id"
instead of "local_part", so it looks like this:

copysend:
driver = redirect
data = ${if eq{$authenticated_id}{nowak} {kowalski} }
headers_remove = Subject
headers_add = Subject: authenticated_id is $authenticated_id...
unseen = yes


When user "nowak" sends mail to user "test", then user "kowalski" gets
copy of that mail, but subject is NOT changed. So router is run, because
$authenticated_id equals "nowak", so mail is copied to "kowalski". I
DON'T understand why this time headers are not changed.


Do I have to file a BUG on this?


Debian GNU/Linux 3.0
Kernel 2.4.18-686
*Exim* version 4.50 #1 built 11-Apr-2006 12:29:22