Hey everyone, while I love using the greylisting feature due to the INSANE amount of spam that I receive. I find that legit emails sometimes get blocked as well. What can I do to white list specific email addresses so that they are never greylisted? I've been using just the default settings of:
Delay: 5 mins
Retention Time: 35 days
Any help on this one would be fantastic, because there's nothing like the in laws saying "Hey you didn't reply to my email, why not"...
Thank you
Delay: 5 mins
Retention Time: 35 days
Any help on this one would be fantastic, because there's nothing like the in laws saying "Hey you didn't reply to my email, why not"...
Thank you
In Greylisting
Share this post:
Responses (3)
-
Accepted Answer
Have a look at /etc/postfix/postgrey_whitelist_clients. If you can, update this regularly from http://postgrey.schweikert.ch/pub/postgrey_whitelist_clients - I've a small file in /etc/cron.monthly containing the lines:
You can then build your own whitelist in /etc/postfix/postgrey_whitelist_clients.local where I, for example, have added 212.54.57.96/30 for Ebay's servers and /^euk\d+\.eukhosting\.net/ as eukhosting.net don't seem to retry and a few others.wget -q -N http://postgrey.schweikert.ch/pub/postgrey_whitelist_clients -O /etc/postfix/postgrey_whitelist_clients
/bin/systemctl restart postfix.service
Legit e-mails get blocked if they retry too quickly then stop, or, in some cases, don't retry.
If you search the internet, you'll also find ways of automatically creating a whitelist of people you've sent to. -
Accepted Answer
Thank you very much for the help Nick, you're the best. I'm guessing that I need to create a script that sits in the cron folder, is that correct? or is just a simple file like "greylistupdate" okay? I also didn't know about creating my own .local file, so I've done that and I will test it out.
Thank you -
Accepted Answer
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »