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
13 hours 11 min ago
14 hours 6 min ago
17 hours 28 min ago
22 hours 48 min ago
23 hours 11 min ago
1 day 6 hours ago
1 day 7 hours ago
1 day 7 hours ago
1 day 9 hours ago
1 day 11 hours ago