summaryrefslogtreecommitdiff
path: root/postfix
diff options
context:
space:
mode:
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