Re: deny is header present
Joseph Kezar <[email protected]>
| Newsgroups | gmane.mail.exim.exiscan.user |
|---|---|
| Message-ID | <[email protected]> |
I needed to have that after the DATA. And I also changed h_ to
header_(don't know if that matters).
But it is denying all messages that have that header now.
Joseph Kezar wrote:
> I want to deny all mail in an Exim ACL if the 'X-Spam-Warning:' header
> is present.
>
> I currently have this acl:
>
> check_recipient:
> deny condition = ${if def:h_X-Spam-Warning:{1}{0}}
> logwrite = :main,reject: Rejected Spam
> blah....
>
> But this seems to be ignored. Any ideas?
>
>