--- greylist.conf.orig 2013-08-13 13:45:08.000000000 +0100 +++ greylist.conf 2015-07-21 22:04:55.635321889 +0100 @@ -9,8 +9,10 @@ socket "/var/milter-greylist/milter-greylist.sock" dumpfile "/var/milter-greylist/greylist.db" 600 dumpfreq 1 -user "smmsp" - +user "mailnull" +# If you're using GeoIP, uncomment below to point to the GeoIP database to use +# this one is from the net/GeoIP port/package: +#geoipdb "/usr/local/share/GeoIP/GeoIP.dat" # Log milter-greylist activity to a file #stat ">>/var/milter-greylist/greylist.log" \ @@ -108,6 +110,13 @@ user3@example.com \ } +# Example GeoIP exceptions (remember to enable it in the access list section too) +#list "whitelist_countries" geoip { \ +# "GB" \ +# "UK" \ +# "IE" \ +#} + # Give this a try if you enabled DNSRBL #dnsrbl "SORBS DUN" dnsbl.sorbs.net 127.0.0.10 #dnsrbl "SBL" sbl-xbl.spamhaus.org 127.0.0.2 @@ -129,6 +138,9 @@ # And here is the access list racl whitelist list "my network" racl whitelist list "broken mta" +#racl whitelist list "whitelist_countries" +# To disable greylisting for SPF pass emails, uncomment below: +#racl whitelist spf pass #racl whitelist dnsrbl "MTAWL" #racl blacklist urlcheck "userpref" $usrRBL "CBL" dnsrbl "CBL" \ # msg "Sender IP caught in CBL blacklist" @@ -143,3 +155,7 @@ # Example of content filtering for fighting image SPAM #dacl blacklist body /src[:blank:]*=(3D)?[:blank:]*["']?[:blank:]*cid:/ \ # msg "Sorry, We do not accept images embedded in HTML" + +# Example whitelist for DKIM passed messages (uncomment below) +#dacl whitelist dkim pass +