Re: [exim] DATA ACL - Domain substitute ?

Startseite
Nachricht löschen
Nachricht beantworten
Autor: W B Hacker
Datum:  
To: exim users
Betreff: Re: [exim] DATA ACL - Domain substitute ?
Always Learning wrote:
> The current documentation states
>
> "Note carefully (because many people seem to fall foul of this): you
> cannot use domains in a DATA ACL."
>
> Any suggestions please what can be used in place of 'domains' ? Domain
> (singular) does not work.
>
> Thank you.
>
>


At some earlier stage, transfer what you need into an acl_m variable and
use that.

CAVEAT: 'Many' of the limitations on what one can and cannot do in the
DATA phase stem from the possible case that 'the (single) message' being
evaluted may have multiple recipients, not all necessarily with the same
domain.tld Carrying MULTIPLE acl_m variables cannot always help and
gets a mite tedious anyway.

ERGO: Whatever workaround, such as the above, works for the
statistically common, but seldom guaranteed, single-recipient case, will
fail you or fool you if/as/when there are multiple recipients.

Test throughly.

Bill
--
韓家標