Re: [exim] Assistance configuring router

Góra strony
Delete this message
Reply to this message
Autor: Jeremy Harris
Data:  
Dla: exim-users
Temat: Re: [exim] Assistance configuring router
On 13/12/16 17:44, Marc Haber wrote:
> On 11 Dec 2016 17:50:55 GMT, Jasen Betts <jasen@???> wrote:
>> On 2016-12-11, Marc Haber <mh+exim-users@???> wrote:
>>> On 8 Dec 2016 20:27:53 GMT, Jasen Betts <jasen@???> wrote:
>>> >from your brief description it spounds like you want a manualroute router with
>>>>
>>>> condition = ${if match{$h_subject:}{\N\[secure\]\N}}
>>>
>>> Is h_subject available in a router?
>>
>> when it's used in or after the data ACL, yes, so it won't work for
>> address verification in earlier ACLs. This probably means that the
>> destination address must be valid when used with a regular subject.
>
> You suggested using condition = in a router. Don't routers run before
> the DATA phase?


Only when called by an ACL "verify" condition. Those could be before
SMTP DATA. But routing is also done on any delivery attempt, which
is after the (reception) SMTP DATA phase.

For an overall view:

http://exim.org/exim-html-current/doc/html/spec_html/ch-how_exim_receives_and_delivers_mail.html
--
Cheers,
Jeremy