Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-13 23:57 UTC

Message

logging "Delayed for"

2016-10-05 by Marcus Schopen

Hi,

I'd like to generate some graphs with mailgrapher. Milter-greylist is
called via tcp from the receiving relay, so some logging is on the
receiving sendmail and some on the scanning machine. I'd like to feed
mailgrapher with the logs from the scanning machine and those look like
this:

Oct  4 11:24:20 scanner milter-greylist: u949OFLn005611: addr ... from
<yyy> to <xxx> delayed for 00:15:00 (GRL15)
Oct  4 11:34:24 scanner milter-greylist: u949YKhU006659: addr ... from
<yyy> to <xxx> delayed for 00:04:56 (GRL15)

If an email overcomes the greylisting barrier this is _only_ logged on
the receiving machine like this:

u949iPRc007745: Milter add: header: X-Greylist: Delayed for 00:20:10 by
milter-greylist-4.6.1 ...

Is there a way to log "Delayed for" beside add header ("Milter add:
header: X-Greylist"), something if above ACL GRL15 is passed?

Ciao
Marcus

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.