summaryrefslogtreecommitdiff
path: root/postfix
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2002-12-07 19:22:41 +0000
committerJonas Smedegaard <dr@jones.dk>2002-12-07 19:22:41 +0000
commita743eaa457df05c16191e29aa68f573eed5e19a9 (patch)
tree6253ab2ac0998f68576b5865f24aee46500f54b8 /postfix
parentcf48f3faa0eca82151fa957f82ce6d4cdbae8893 (diff)
Add reload command (not done by postconf itself it seems).
Diffstat (limited to 'postfix')
-rwxr-xr-xpostfix/anti-uce.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/postfix/anti-uce.sh b/postfix/anti-uce.sh
index c0619a8..b4a4859 100755
--- a/postfix/anti-uce.sh
+++ b/postfix/anti-uce.sh
@@ -4,6 +4,8 @@ postconf -e "permit_mx_backup_networks = /etc/local-COMMON/postfix/mx_networks"
postconf -e "maps_rbl_domains = "`cat /etc/local-COMMON/postfix/rbl_lookup_hosts`
postconf -e "smtpd_recipient_restrictions = reject_invalid_hostname,reject_non_fqdn_hostname,reject_non_fqdn_sender,reject_non_fqdn_recipient,reject_unknown_sender_domain,reject_unknown_recipient_domain,reject_unauth_pipelining,permit_mynetworks,permit_mx_backup,reject_unauth_destination,reject_maps_rbl,reject"
+/etc/init.d/postfix reload
+
# The above is based on this:
# http://jimsun.linxnet.com/misc/postfix-anti-UCE.txt
# with the addition of MX backup networks and the PCRE stuff avoided