Add new comment
|
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
3 hours 29 min ago
5 hours 35 min ago
5 hours 44 min ago
8 hours 15 min ago
9 hours 4 min ago
11 hours 41 min ago
12 hours 6 min ago
13 hours 59 min ago
18 hours 10 min ago
21 hours 22 min ago