Yahoo Groups archive

Milter-greylist

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

Message

Why autowhite isn't distributed over all MX?

2018-05-26 by Gienek Nowacki

Hi,

I've got four MX servers and observed strange behavior of milter-greylist.
Please, see the fragments of databases (dumpfiles) below of each servers:

# server1
1.2.3.4 <sender@...> <recipient@...> 1527324170 # 2018-05-26 10:42:50

# server2
1.2.3.4 <sender@...> <recipient@...> 1528536443 AUTO # 2018-06-09 11:27:23

# server3
1.2.3.4 <sender@...> <recipient@...> 1527324170 # 2018-05-26 10:42:50

# server4
1.2.3.4 <sender@...> <recipient@...> 1527324170 # 2018-05-26 10:42:50

It shows, that serwer2 recived the email and milter-greylist added the flag AUTO. 

After the time of 8 hours (because of timeout=8h), this information contains server2 only:

# server2
1.2.3.4 <sender@...> <recipient@...> 1528536443 AUTO # 2018-06-09 11:27:23

So, at this situation, when the sender will start sending second email (the parameters: IP, sender, recipient are still the same) and connects to server3 or serwer1, or server4 it will be wait.

From my point of view, waiting in such situation is a nonsens. 

Why the information abut 'autowithe' isn't distributed over all MX servers?


P.S
All my config files are as follow:

stat "|logger -p mail.info"  "milter-greylist: MILTERSTAT: %T{%Y.%m.%d %T} %d [%i] %f -> %r %S (ACL %A) %Xc %Xe %Xm %Xh\n"
geoipdb "/usr/share/GeoIP/GeoIP.dat"
verbose
peer 10.10.10.1
peer 10.10.20.2
peer 10.10.30.3
peer 10.10.40.4
syncaddr * port 5252
racl whitelist addr 127.0.0.0/8
racl whitelist addr 10.0.0.0/8
racl whitelist addr 172.16.0.0/12
racl whitelist addr 192.168.0.0/16
report all
delayedreject
dumpfreq 5m
timeout 8h
greylist 6m
autowhite 14d
subnetmatch /24
nodrac
quiet
pidfile "/var/run/milter-greylist.pid"
socket "/var/spool/postfix/milter-greylist/milter-greylist.sock" 666
dumpfile "/var/spool/postfix/milter-greylist/greylist.db" 600
user "postfix"
racl whitelist spf pass
racl greylist spf fail  msg "SPFINFO: SPF:f  Greylisting in action: host %d [%i]  domain '%sf'" delay 60m autowhite 14d
racl greylist spf error msg "SPFINFO: SPF:e  Greylisting in action: host %d [%i]  domain '%sf'" delay 60m autowhite 14d

Regards,
Gienek Nowacki

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.