require verify = sender log_message = DENY - Sender verification failedbut this line is written for all messages that pass throughAre you sure? log_message text is supposed to be written to the log only when an ACL verb denies access, or if all conditions of a warn statement are true (but since you put log_message after the condition, it won't be reached in that case; processing of a statement stops as soon as the outcome is known.)No, I am sorry, I mixed things up, because I was writing this message and changing my config at the same time.In fact, I had logwrite = DENY - Sender verification failed ($sender_address)when I saw these messages in the log about sender addresses that actually passed sender verification (or should have, anyway). I changed it to log_message later.
Let me rephrase my question.
I would like to something like:
require condition = ${...}
logwrite = Failure message
but I want the log line to be written only when the ACL denies, so when
the condition fails.
Is that possible? If yes, how? Thanks, Martijn.
smime.p7s
Description: S/MIME Cryptographic Signature
-- ## List details at http://www.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://www.exim.org/eximwiki/
