Looking through my logs [yes, I have no life] I see numerous attempts to deliver mail that are stopped by greylisting that I would like to stop before the greylist happens, and I would like to auto-create a temporary ban on the offending IP address. Over and over I see repeated attempts to deliver from email@example.com to email addresses I have never given to Amex. I also see tons of delivery attempts to addresses that have never existed at my domain (and by this I mean many attempts to deliver to a single non-existent address). It is nice that greylisting works, but I am a goof and don't even want to give them the courtesy of a 451 message.
This may seem like a waste of time but frankly greylisting is stopping almost all of my spam, and these few particular addresses are a significant percentage of it (and a significant portion of my port 25 traffic). My scripting is poor at best, but I have tried basic things like
Code: Select all
If (InStr(1, oMessage.Recipients(i).Address, "firstname.lastname@example.org", 1) > 0) Then Result.Message = "Spam not accepted here." Result.Value = 2 End If