Re: [exim] Condition fail out of verify...

Top Page
Delete this message
Reply to this message
Author: Marco Gaiarin
Date:  
To: Andreas Metzler via Exim-users
CC: exim-users
Subject: Re: [exim] Condition fail out of verify...
Mandi! Andreas Metzler via Exim-users
In chel di` si favelave...

> You "require" any message recipient domain part to *not* match +local_domains
> which is not the case.


Probably i've found how this recipe goes in the file, it is clearly a
mistake, sorry.


> BTW it is not a good idea to specify log_message before doing the actual
> testing, you will log a message for every message not just the delayed
> ones.


?! Looking at:

    https://www.exim.org/exim-html-current/doc/html/spec_html/ch-access_control_lists.html


seems the converse:

    The message may be defined before the conditions to which it applies, because the string expansion does not happen until Exim decides that access is to be denied. This means that any variables that are set by the condition are available for inclusion in the message. For example, the $dnslist_<xxx> variables are set after a DNS black list lookup succeeds. If the expansion of log_message fails, or if the result is an empty string, the modifier is ignored. 


(now) i know that log_header have to be setup after the condition, but
looking also at the standard debian config file, most of the log_message
line are before the condition...


Anyway, thanks.

-- 
  Le parti si impegnano [...] ad astenersi nelle relazioni internazionali
  dalla minaccia o dall'uso della forza in ogni modo in contrasto con
  gli scopi delle Nazioni Unite.        (art.1 Trattato NATO)