[Greylist-users] Daemonize,
sender domain whitelist/blacklist patch for 0.04
Paul Venezia
pvenezia at jpj.net
Fri Feb 4 06:01:40 PST 2005
Greetings all-
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
domain.
Thus, a whitelist/blacklist entry in the database where mail_from =
"domain.com" will either whitelist or blacklist anything from that
domain
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:
http://www.jpj.net/relaydelay/rd-daemon-domain-whitelist.patch
-Paul
More information about the Greylist-users
mailing list