Re: [exim] Add recipient for subject line

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Mike Cardwell
日付:  
To: Exim Users List
題目: 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/