summaryrefslogtreecommitdiff
path: root/postfix
diff options
context:
space:
mode:
Diffstat (limited to 'postfix')
-rwxr-xr-xpostfix/cron.weekky/local-purgeoldtrashedmails9
-rwxr-xr-xpostfix/cron.weekly/local-purgeoldtrashedmails9
-rw-r--r--postfix/maps_rbl_domains3
-rwxr-xr-xpostfix/postfix.sh2
-rw-r--r--postfix/reject_rhsbl_sender2
5 files changed, 13 insertions, 12 deletions
diff --git a/postfix/cron.weekky/local-purgeoldtrashedmails b/postfix/cron.weekky/local-purgeoldtrashedmails
deleted file mode 100755
index 205585b..0000000
--- a/postfix/cron.weekky/local-purgeoldtrashedmails
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/sh
-#
-# Purge trashed mails older than 2 months
-
-set -e
-
-find /home/*/Maildir/.Trash /home/*/Maildir/.trash /home/*/Maildir/.Deleted\ Messages /home/*/Maildir/.Deleted\ Items -type f -mtime +60 -exec rm -f '{}' ';'
-
-exit 0
diff --git a/postfix/cron.weekly/local-purgeoldtrashedmails b/postfix/cron.weekly/local-purgeoldtrashedmails
new file mode 100755
index 0000000..7674508
--- /dev/null
+++ b/postfix/cron.weekly/local-purgeoldtrashedmails
@@ -0,0 +1,9 @@
+#!/bin/sh
+#
+# Purge trashed mails older than 2 months
+
+set -e
+
+find /home/*/Maildir/.Trash /home/*/Maildir/.Trash.* /home/*/Maildir/.INBOX_Trash /home/*/Maildir/.trash /home/*/Maildir/.Deleted\ Messages /home/*/Maildir/.Deleted\ Items /home/*/Maildir/.Slettet\ post -type f -mtime +60 -exec rm -f '{}' ';'
+
+exit 0
diff --git a/postfix/maps_rbl_domains b/postfix/maps_rbl_domains
index b2e15b0..03ed016 100644
--- a/postfix/maps_rbl_domains
+++ b/postfix/maps_rbl_domains
@@ -23,5 +23,6 @@
# Great RBL blog: http://www.dnsbl.com/
# Automated RBL comparison: http://stats.dnsbl.com/
-zen.spamhaus.net # Recommended at http://www.dnsbl.com/
+virbl.dnsbl.bit.nl # Virbl-project
+zen.spamhaus.org # Recommended at http://www.dnsbl.com/
bl.spamcop.net # Avoided in the past, but now recommended: http://www.dnsbl.com/2007/05/spamcop-bl-another-look-its-accurate.html
diff --git a/postfix/postfix.sh b/postfix/postfix.sh
index 2b923e0..102b8dc 100755
--- a/postfix/postfix.sh
+++ b/postfix/postfix.sh
@@ -66,7 +66,7 @@ else
fi
dkimproxy=
-if [ "1" = "$amavis" ] && [ -x /usr/bin/dkimsign ]; then
+if [ "1" = "$amavis" ] && [ -x /usr/bin/dkimproxy-sign ]; then
dkimproxy=1
else
echo >&2 "WARNING: Avoiding/disabling DKIMproxy setup: not installed."
diff --git a/postfix/reject_rhsbl_sender b/postfix/reject_rhsbl_sender
index 5d7933d..04ef383 100644
--- a/postfix/reject_rhsbl_sender
+++ b/postfix/reject_rhsbl_sender
@@ -10,7 +10,7 @@
# $Id: reject_rhsbl_sender,v 1.5 2008-05-25 15:31:28 jonas Exp $
#
-#bogusmx.rfc-ignorant.org # Disable for now - claims redpill domains "has demonstrably bogus MX record"
+bogusmx.rfc-ignorant.org
dsn.rfc-ignorant.org
block.rhs.mailpolice.com
dob.sibl.support-intelligence.net # newly registered domains: http://www.support-intelligence.com/dob/