[Gross] Patch to Greylist Bad Helo
Eino Tuominen
eino at utu.fi
Tue Oct 21 14:38:12 EEST 2008
Rolf E. Sonneveld wrote:
>
> Is this configurable?
> What is the logic? I assume something like:
It's a separate check that needs to be enabled. (check = helo) Currently
(not yet committed to the svn) the weights are as follows:
weight = 0
if (helo string is invalid) {
weight += 1
} else if (helo string does not resolve) {
weight += 1
} else if (helo string resolves but does not match client ip) {
weight += 1
}
if (client ip has no PTR record) {
weight += 1
} else if (helo string and the PTR for client ip do not match) {
weight += 1
}
I'll add configurable weights before releasing it.
--
Eino Tuominen
More information about the Gross
mailing list