Re: [exim-dev] Authenticated_id and redirect condition

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Philip Hazel
Ημερομηνία:  
Προς: Leszek Dubiel
Υ/ο: exim-dev
Αντικείμενο: Re: [exim-dev] Authenticated_id and redirect condition
On Sun, 8 Apr 2007, Leszek Dubiel wrote:

> 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.


Try running with -d to get debugging information to see if that shows
you what is happening.

-- 
Philip Hazel            University of Cambridge Computing Service
Get the Exim 4 book:    http://www.uit.co.uk/exim-book