Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Message

Re: [milter-greylist] Can't get dacls to work at all

2015-12-06 by manu@...

'Rudolph T. Maceyko' rm55@... [milter-greylist]
<milter-greylist@yahoogroups.com> wrote:

> Dec  5 12:46:25 xxx milter-greylist: I was here
> Dec  5 12:46:25 xxx milter-greylist: found X-Spam-Level header
> Dec  5 12:46:25 xxx milter-greylist: found subject header ()
> Dec  5 12:46:25 xxx milter-greylist: found test string in body
> Dec  5 12:46:25 xxx milter-greylist: message size is > 0

That is content examination: data-stage logic is executed (as your "I was here"
confirms anyway)

>  Dec 05 13:10:11 xxx milter-greylist[9422]: xxx: addr
> [103.17.60.125][103.17.60.125] from <zonnderr@...> to
> <webmaster@...> delayed for 00:23:14 (ACL )

That one is interesting the ACL line number/id string is missing. Hence we do
not really know if it happened at DATA or RCPT stage.

This is the code producing this is in
milter-greylist.c:log_and_report_greylisting()

        aclstr = fstring_expand(priv, NULL, " (ACL %a)", NULL);
        
        if (!(priv->priv_sr.sr_whitelist & EXF_NOLOG)) {
                mg_log(LOG_INFO,
                        "%s: addr %s[%s] from %s to %s delayed%s for %02d:%02d:%
02d%s",         
                        priv->priv_queueid, priv->priv_hostname, addrstr,
                        priv->priv_from, rcpt, delayed_rj, h, mn, s, aclstr);
        } 

Try replacing the " (ACL %a)" by " (ACL %A )", this will always display the line
number and never the ACL id string. That will let us have a definitive answer on
what ACL matches. 

Afterwards we will have to understand why %a returns an empty string.



-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu@...

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.