Re: [exim] Mixing Manualroute and Redirect router skills

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Andrew Johnson
Dátum:  
Címzett: 'Federico Tomassini', exim-users
Tárgy: Re: [exim] Mixing Manualroute and Redirect router skills
>
> Now, how can I mix the "smart host skill" and the "filter skill"?
>
> Do I have to use a Redirect router with a pipe command inside the
> filter, dropping the Manualroute router?
>
> In this case, if You have some good ideas, which command can I use to
> forward the mail to the remote smart host?
>
> Thanks in advance


I do something like :-

spamassassin:
no_verify
condition = ${if eq {$h_X-DSPAM-Result:}{Innocent}{yes}{no}}
driver = manualroute
transport = remote_smtp
route_data = SPAMAS_SERVER
no_more

Just a conditional on a manualroute router.

-Andy-