Re: [exim] Add recipient for subject line

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Mark Little
Date:  
À: Peter Kirk
CC: Exim Users List, Mike Cardwell
Sujet: 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