Here's a simple way to white-list these emails for Postfix:
- Create a new file
/etc/postfix/ip_whitelist
with the following contents:
128.121.146.141 OK
128.121.146.142 OK
128.121.146.143 OK
128.121.146.144 OK
128.121.146.150 OK
128.121.146.151 OK
128.121.146.152 OK
128.121.146.153 OK
These map from mx001.twitter.com to mx008.twitter.com, which seem to be all they have for now. - Run:
postmap /etc/postfix/ip_whitelist
- Edit your
/etc/postfix/main.cf
file to include the IP whitelist. Find the line where you have your RBL checks, e.g.:
reject_rbl_client bl.spamcop.net
and add the following line above them:
check_client_access hash:/etc/postfix/ip_whitelist
- Restart Postfix.
These vital emails should now get through to your psychologically fragile account holders.
1 comment:
Thanks dude, this helped me a lot :)
Post a Comment