Re: [Exim] Inspecting headers in DATA ACL

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Patrice Fournier
Dátum:  
Címzett: Greg Ward
CC: exim-users
Tárgy: 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