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
5 hours 1 min ago
10 hours 49 min ago
12 hours 41 min ago
14 hours 25 min ago
18 hours 16 min ago
1 day 1 min ago
1 day 12 min ago
1 day 4 hours ago
1 day 10 hours ago
1 day 15 hours ago