Re: [Exim] Dodging DATA ACL by recipient

Top Pagina
Delete this message
Reply to this message
Auteur: Kevin P. Fleming
Datum:  
Aan: Greg Ward
CC: exim-users
Onderwerp: Re: [Exim] Dodging DATA ACL by recipient
Greg Ward wrote:
> I can think of two equally reasonable interpretations:
>
>   * if the recipient list is a subset of
>     {python-i18n,mailman-i18n}*@???, skip the test
>   * if the recipient list includes either of
>     {python-i18n,mailman-i18n}*@???, skip the test

>
> ...so no wonder Exim punts.
>
> Can anyone think of a clean, simple way to implement this in a DATA ACL?
> Or should I just move this test to local_scan(), where I can pick
> whichever of the above interpretations I like?
>


Yep... do the recipient test in your RCPT ACL, but only add a header
(which is really a "warning", but in this case it doesn't matter). Then
check for the existence of the header in the DATA ACL.