Add new comment
Do you like HowtoForge? Please consider supporting us by becoming 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
18 hours 52 min ago
20 hours 21 min ago
23 hours 55 min ago
1 day 2 hours ago
1 day 5 hours ago
1 day 6 hours ago
1 day 6 hours ago
1 day 7 hours ago
1 day 8 hours ago
1 day 9 hours ago