On 12.01.2010 13:21, Stan Hoeppner wrote: > Daniel L. Miller put forth on 1/11/2010 5:03 PM: >> Does anyone have an auto-whitelisting policy daemon? I want to have a >> test early in sender checks that would bypass most of my other spam >> prevention if a sender is in the whitelist - and have that whitelist >> automatically updated by internal users sending to those remote senders. > > sed -n -e '/postfix\/smtp\[.*status=sent/s/^.*to=<\([^>]*\).*$/\1/p' > /var/log/mail.log | sort -u > > Thank Victor. He answered this in 2004.
OP might also want to look at pen pals feature of amavisd-new. Check its release notes for "pen pals soft-whitelisting" -- Eray