Re: [exim] acl_check_data discard, deny condition not workin…

Top Page
Delete this message
Reply to this message
Author: Mueller
Date:  
To: 'Jeremy Harris', exim-users
Subject: Re: [exim] acl_check_data discard, deny condition not working
If I do the warn condition = ${if
match{$h_x-spam-status:}{\NUNPARSEABLE_RELAY\N}}
log_message = Schriftzeichen von "$sender_address" , an "$h_to:" -
"$recipients" - ,Betreff: "$h_subject:" sind nicht lesbar,
Header,UNPARSEABLE_RELAY!
It logs fine to /etc/exim/main.log according to the log_message:
Ex.: Warn: Schriftzeichen von yuhulu@??? , an
mueller@???, - ,Betreff: ksjwepodwlmcwekcwpldwöedö sind nicht
lesbar, Header,UNPARSEABLE_RELAY!"

So if i change to: deny condition = ${if
match{$h_x-spam-status:}{\NUNPARSEABLE_RELAY\N}}
log_message = Schriftzeichen von "$sender_address" , an "$h_to:" -
"$recipients" - ,Betreff: "$h_subject:" sind nicht lesbar,
Header,UNPARSEABLE_RELAY!
Emails with this header slip through without beeing discarded,denied or a
message beeing logged.


Greetings
Daniel





-----Ursprüngliche Nachricht-----
Von: Jeremy Harris via Exim-users [mailto:exim-users@exim.org]
Gesendet: Donnerstag, 29. März 2018 11:24
An: exim-users@???
Betreff: Re: [exim] acl_check_data discard, deny condition not working

On 29/03/18 10:05, Mueller via Exim-users wrote:
> The deny or discard condition does not work, but warn condition does:
> warn condition = ${if match{$h_x-spam-status:}{\NUNPARSEABLE_RELAY\N}}
> log_message=..


"Does not work" is not very descriptive. What did it actually do?
What was logged? Did you run under debug; if so what did you get?
--
Cheers,
Jeremy

--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/