Re: [exim] Add recipient for subject line

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Mark Little
Data:  
Para: Peter Kirk
CC: Exim Users List, Mike Cardwell
Asunto: 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