Lines 1-11
Link Here
|
1 |
--- greylist.conf.orig 2009-02-13 01:39:01.000000000 +0300 |
1 |
--- greylist.conf.orig 2013-08-13 13:45:08.000000000 +0100 |
2 |
+++ greylist.conf 2009-04-22 09:10:46.000000000 +0400 |
2 |
+++ greylist.conf 2015-07-21 22:04:55.635321889 +0100 |
3 |
@@ -9,7 +9,7 @@ |
3 |
@@ -9,8 +9,10 @@ |
4 |
socket "/var/milter-greylist/milter-greylist.sock" |
4 |
socket "/var/milter-greylist/milter-greylist.sock" |
5 |
dumpfile "/var/milter-greylist/greylist.db" 600 |
5 |
dumpfile "/var/milter-greylist/greylist.db" 600 |
6 |
dumpfreq 1 |
6 |
dumpfreq 1 |
7 |
-user "smmsp" |
7 |
-user "smmsp" |
|
|
8 |
- |
8 |
+user "mailnull" |
9 |
+user "mailnull" |
|
|
10 |
+# If you're using GeoIP, uncomment below to point to the GeoIP database to use |
11 |
+# this one is from the net/GeoIP port/package: |
12 |
+#geoipdb "/usr/local/share/GeoIP/GeoIP.dat" |
9 |
|
13 |
|
10 |
# Log milter-greylist activity to a file |
14 |
# Log milter-greylist activity to a file |
11 |
#stat ">>/var/milter-greylist/greylist.log" \ |
15 |
#stat ">>/var/milter-greylist/greylist.log" \ |
|
|
16 |
@@ -108,6 +110,13 @@ |
17 |
user3@example.com \ |
18 |
} |
19 |
|
20 |
+# Example GeoIP exceptions (remember to enable it in the access list section too) |
21 |
+#list "whitelist_countries" geoip { \ |
22 |
+# "GB" \ |
23 |
+# "UK" \ |
24 |
+# "IE" \ |
25 |
+#} |
26 |
+ |
27 |
# Give this a try if you enabled DNSRBL |
28 |
#dnsrbl "SORBS DUN" dnsbl.sorbs.net 127.0.0.10 |
29 |
#dnsrbl "SBL" sbl-xbl.spamhaus.org 127.0.0.2 |
30 |
@@ -129,6 +138,9 @@ |
31 |
# And here is the access list |
32 |
racl whitelist list "my network" |
33 |
racl whitelist list "broken mta" |
34 |
+#racl whitelist list "whitelist_countries" |
35 |
+# To disable greylisting for SPF pass emails, uncomment below: |
36 |
+#racl whitelist spf pass |
37 |
#racl whitelist dnsrbl "MTAWL" |
38 |
#racl blacklist urlcheck "userpref" $usrRBL "CBL" dnsrbl "CBL" \ |
39 |
# msg "Sender IP caught in CBL blacklist" |
40 |
@@ -143,3 +155,7 @@ |
41 |
# Example of content filtering for fighting image SPAM |
42 |
#dacl blacklist body /src[:blank:]*=(3D)?[:blank:]*["']?[:blank:]*cid:/ \ |
43 |
# msg "Sorry, We do not accept images embedded in HTML" |
44 |
+ |
45 |
+# Example whitelist for DKIM passed messages (uncomment below) |
46 |
+#dacl whitelist dkim pass |
47 |
+ |