Re: [exim] Add recipient for subject line

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Peter Kirk
Datum:  
To: Mike Cardwell, Exim Users List
Betreff: Re: [exim] Add recipient for subject line

>>Peter Kirk wrote:


>> Need to setup exim so that when a mail comes in with a certain

subject
>> line, it add's another recipient to the mail.
>> Is this possible?
>>
>> Thanks for the help in advance :-)


>You could do this by adding an unseen redirect router. Something like
>the below (completely untested)


>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


>--
>Mike Cardwell - IT Consultant and LAMP developer
>Cardwell IT Ltd. (UK Reg'd Company #06920226) http://cardwellit.com/


Thanks working like a charm and now tested :P