Re: [Exim] Inspecting headers in DATA ACL

Página Inicial
Delete this message
Reply to this message
Autor: Patrice Fournier
Data:  
Para: Greg Ward
CC: exim-users
Assunto: Re: [Exim] Inspecting headers in DATA ACL
Quoting Greg Ward <gward@???>:

> Already tried this:
>
>   acl_smtp_data = check_message
>   [...]
>   check_message:
>     deny    condition = ${if eq {$h_subject:}{REJECTME} {yes}{no}}
>             message = well, you ASKED to be rejected!
>     accept

>
> ...to no avail.


Just cut and pasted your acl and it works as you intended here during my
exim -bs tests:

======
MAIL FROM:<>
250 OK
RCPT TO:<postmaster>
250 Accepted
DATA
354 Enter message, ending with "." on a line by itself
Subject: REJECTME