Add new comment
Want to support HowtoForge? Become a subscriber!
|
Sometimes you need to do manual whitelisting for mail users whose customers' admins don't respond to your complaints about their server settings. Another option to consider ist automatic whitelisting by using the hand-crafted DNSWL ( http://www.dnswl.org/ ). You should also consider requesting to get added to DNSWL. I use a simple shell script named dnswl-update.sh as a cron job to sync the data (see documentation for use of X-REPLACEME substitution): #!/bin/sh In /etc/postfix/main.cf I added these two lines as first check_* commands within the smtpd_recipient_restrictions : smtpd_recipient_restrictions = After that you restart Postfix. /etc/init.d/postfix restart My cron entry looks something like this and there is no need to restart or reload Postfix afterwards: 7 5,18 * * * /path-to-script/dnswl-update.sh &> /dev/null
Reply |



Recent comments
15 hours 4 min ago
19 hours 54 min ago
1 day 42 min ago
1 day 3 hours ago
1 day 3 hours ago
1 day 3 hours ago
1 day 7 hours ago
1 day 8 hours ago
1 day 10 hours ago
1 day 17 hours ago