Re: [exim] Add recipient for subject line

Góra strony
Delete this message
Reply to this message
Autor: Mark Little
Data:  
Dla: Peter Kirk
CC: Exim Users List, Mike Cardwell
Temat: 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