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?
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.