diff options
author | root <root@mail.bitbase.dk> | 2009-05-22 15:49:22 +0200 |
---|---|---|
committer | root <root@mail.bitbase.dk> | 2009-05-22 15:49:22 +0200 |
commit | ddc0cd8da4a4a6c7607bf4f680e3283797c8872a (patch) | |
tree | 4bd4fcf1ec123bd2105782062d42b58a3f812595 /postfix | |
parent | fd39155673473cde65f10c12098392680b62d452 (diff) | |
parent | 37f949dc3927dd3f24fd03f45e80de776ec2868e (diff) |
Merge branch 'master' of git://source.jones.dk/local-COMMON
Diffstat (limited to 'postfix')
-rwxr-xr-x | postfix/cron.weekky/local-purgeoldtrashedmails | 9 | ||||
-rwxr-xr-x | postfix/cron.weekly/local-purgeoldtrashedmails | 9 | ||||
-rw-r--r-- | postfix/maps_rbl_domains | 3 | ||||
-rwxr-xr-x | postfix/postfix.sh | 2 | ||||
-rw-r--r-- | postfix/reject_rhsbl_sender | 2 |
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/ |