Re: [exim] Add recipient for subject line

Top Page
Delete this message
Reply to this message
Author: Mark Little
Date:  
To: Peter Kirk
CC: Exim Users List, Mike Cardwell
Subject: Re: [exim] Add recipient for subject line

>>router_name:
>>    driver    = redirect
>>    condition = \
>>${if and{{\
>>    eq{$h_Subject:}{The subject line}\
>>}{\
>>   !eq{$local_part@$domain}{the.additional.address@???}\
>>}}}
>>    data      = the.additional.address@???
>>    no_verify
>>    unseen

>


> Sorry but one more question, I have been trying but cant get it right,
> say now I want:
>
> All mail got to user1@??? with subject "whateva"... must be
> redirected to user2@???, so user1@??? no longer gets it
>



Just take the 'unseen' off the router. Then when an email matches those
options it will route and then stop processing any further routers.


Cheers,
Mark