[exim-dev] [Bug 2376] log_message doesn't log if connection …

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: admin
Ημερομηνία:  
Προς: exim-dev
Αντικείμενο: [exim-dev] [Bug 2376] log_message doesn't log if connection is interrupted (which is quite unexpected) while other rules in the same acl are applied
https://bugs.exim.org/show_bug.cgi?id=2376

--- Comment #1 from Jeremy Harris <jgh146exb@???> ---
Your warn verb calls logwrite before calling ratelimit. If the first condition
in the verb passes you'll get the logwrite. The conditional result of the
ratelimit can then result in the warn verb not being completed; if that happens
the the string set up for logging by log_message is not used.

You may find it easier to read if you place the ratelimit condition right after
the "match" condition/

--
You are receiving this mail because:
You are on the CC list for the bug.