Raul Dias wrote:
> Hi,
>
> I am wondering why the greylist_delay time is 30m by default.
> Everybody keeps this way or change to something better?
>
> Is there any spammer retrying/queueing the 4xx messages for a later
> retry, but giving up before 30 minutes?
>
> Does this happen? So lowering this value I would get more spam and
> raising it less spam (as opposed to keep users happy ;-).
I keep mine set at 1 minute...
Last week 10530 connections were greylisted by my acl's. 584 of those ultimately
retried and delivered mail.
I'd say at present even a very short greylist is reasonably effective (94.4%).
I can't say how many of that 584 would give up with a longer greylist, but I'd
speculate most would continue for an extended period of time.
For reference, here's the grep commands I used to generate the counts:
# zgrep "delayed for 00:01:00" /var/log/maillog.1.gz |wc -l
10530
# zgrep "X-Greylist: Delayed for" /var/log/maillog.1.gz |wc -l
584
Also, for what it's worth, I only greylist selective hosts.. Hosts with no
reverse DNS, RDNS name that looks like dsl/cable/ppp pools, etc.
Because of my ACLs, the *vast* majority of mail matching my greylist in the
first place is spam. This will greatly bias my numbers (only 71 of the 584 made
it past spamassassin).
However, the bias in my numbers is somewhat useful, as it lets you observe
results on a sample set which is 99+% spam.
Thus, from my numbers you can estimate that approximately 94.4% of spammers
never try again at all, not even with a 1m greylist. An additional 4.8% of spam
messages do retry (at least within 1m), and 0.67% of the sample set appears to
be nonspam (usually small companies who don't know what PTR records are).