How I Stopped over 1000 Spam Emails/Day from Reaching Me in 5 Minutes
merricklozano.com
merricklozano.com
Another downside is that some poorly written applications try to deliver mail on their own, instead of using a real mailserver.
It is somehow required that the mail user knows about the greylisting setup so that he can request the other application to send the same mail again after some minutes. One real world example are those registration links you get via mail to confirm your account. It happens very often to me that I have to re-request the mail, to get it into my mailserver.
In our case, it's just two of us, and the level of spam was overwhelming. I accept the trade-off.
Oh, you'll get those in an hour or so, when their mailer retires. I have never had a problem.
I did kill greylisting, though, because it breaks when the mail server that first tried to send the message is not the one that tries to send it again. Gmail does this, for example, and unless you keep up to date on Google's internal architecture, you are going to lose mail from Gmail users. Combined with being tired of waiting an hour or more for every email, this killed greylisting for me. Now I let the spammers deal with spamassassin, which is quite nice if you bump up the scores on the content and URI blacklists.
And BTW, spammers have figured out RFC822 now, so this doesn't even prevent a lot of spam.
I am aware that most prominent site do this the right way, but just wanted to mention that some do not.
About the problem with gmail, I was not aware of that. Thanks for the info. I will go grep my logs now. :)
btw: anybody needs to see a list of 'no-retry' servers, check out:
/etc/postgrey/whitelist_clients
So no greylisting for me.
http://www.policyd.org/tiki-index.php?page=Greylisting&s...
I still had the same problems others have mentioned though, where crappy registration systems were sending their confirmation mails directly from their PHP application, rather than relaying it through a smart MTA that actually understood the SMTP protocol and would do the retry.
Ultimately, too many users complained about mail delays and missing email. This is one of those scenarios where the cost of not delivering an important email may outweigh the benefits of blocking a few more invalid ones.
1) The greylisting would initially reject the mail from bigcorp.com. 2) Bigcorp.com would get the rejection, but the re-send would come from a different mail server: mailserver1.bigcorp.com. 3) Since this is a new IP address, the greylisting would bounce the new email. 4) Bigcorp.com would re-send, but this time from mailserver8.bigcorp.com. 5) rinse and repeat
Now, you can say that the guys at bigcorp.com are boneheads and they should hide these details from the outside world. But the reality is, as an end-user, I don't care. I just want to get my mail.
Gave up, postini... $1/month -- more than worth my $$/hour.
The problem with braindead simple things like postgrey is that they are incredibly easy to circumvent and the more attractive a target you are, the quicker the spammers will get around the solution. For instance, if one of the major providers (Yahoo, Hotmail, Verizon, Comcast) were to implement this, spammers would work around it within the hour. If you're low enough on their radar they won't care that they can't get email through to you but as soon as it starts to bother them enough to care, it stops being effective.