Re: [Exim] problem with acl = and dropping

Góra strony
Delete this message
Reply to this message
Autor: Nico Erfurth
Data:  
Dla: Exim-users
Temat: Re: [Exim] problem with acl = and dropping
William Thompson wrote:
> This is exim 4.14 (I have not tested 4.20, but I assume the problem still
> exists)
>
> Lets say:
>
> acl_smtp_mail = acl_mail
>
> acl_mail:
>     accept    hosts = 127.0.0.2
>     #I used .2 for use in -bh  exim does this for real as well as
>     #testing
>         acl = acl_drop

>
> acl_drop:
>     <some acl tests>

>
>     drop    message = bad sender
>         senders = bad@localhost

>
>     <some more acl tests>


....

> Changing drop to deny, it works as expected.


drop is useless inside of an embedded ACL, you should only use
accept/deny/require (yes or no).

Nico