aboutsummaryrefslogtreecommitdiffstats
path: root/modules/postgrey
diff options
context:
space:
mode:
Diffstat (limited to 'modules/postgrey')
-rw-r--r--modules/postgrey/templates/postgrey.sysconfig10
-rw-r--r--modules/postgrey/templates/whitelist_clients.local7
2 files changed, 5 insertions, 12 deletions
diff --git a/modules/postgrey/templates/postgrey.sysconfig b/modules/postgrey/templates/postgrey.sysconfig
index ec4e6947..f08b8f6f 100644
--- a/modules/postgrey/templates/postgrey.sysconfig
+++ b/modules/postgrey/templates/postgrey.sysconfig
@@ -1,12 +1,10 @@
# change default configuration option here
-# SOCKET=$(postconf -h queue_directory)/extern/postgrey/socket
-# OPTIONS="--unix=$SOCKET"
-# DBPATH=/var/lib/postgrey
-# OPTIONS="$OPTIONS --dbdir=$DBPATH"
+# default: unix socket
+SOCKET="--unix=/var/spool/postfix/extern/postgrey/socket"
-# to use an inet connection instead of a socket
-#OPTIONS="--inet=127.0.0.1:10031"
+# to use an inet socket instead
+#SOCKET="--inet=127.0.0.1:10031"
# enable whitelisting
OPTIONS="$OPTIONS --auto-whitelist-clients"
diff --git a/modules/postgrey/templates/whitelist_clients.local b/modules/postgrey/templates/whitelist_clients.local
index 7510506d..8c87b88c 100644
--- a/modules/postgrey/templates/whitelist_clients.local
+++ b/modules/postgrey/templates/whitelist_clients.local
@@ -1,7 +1,2 @@
-# zarb
-ryu.zarb.org
-cthulhu.zarb.org
# mageia
-*.<%= domain %>
-# for damsweb mail server
-/mail-out\.ovh\.net$/
+<%= domain %>