sender domain whitelist/blacklist patch for 0.04
pvenezia at jpj.net
Fri Feb 4 06:01:40 PST 2005
Here's a patch to 0.04 that includes the available daemonizing patch and
adds sender whitelisting on a domain level. The new code is nearly
identical to the tuple whitelisting code, but it works on a whole
Thus, a whitelist/blacklist entry in the database where mail_from =
"domain.com" will either whitelist or blacklist anything from that
based on the expiration set on that record.
Further, the domain white/blacklisting can be split on subdomain, so it
should be possible to blacklist this.domain.com while whitelisting
domain.com and vice-versa. I haven't tested this extensively, but it has
handled everything I've thrown at it so far.
This patch also incorporates Evan's fix for the ($rowid >0) problem.
Also, Matt Prigge has coded a PHP white/blacklisting Web front end to
facilitate simple whitelist/blacklist management by domain, sender, and
relay_ip if anyone's interested.
The patch is available here:
More information about the Greylist-users