Re: [exim-dev] Authenticated_id and redirect condition

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Leszek Dubiel
CC: exim-dev
Subject: 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