On 2010-06-29 02:13:08 +0000, Robin H. Johnson wrote: > I'm mucking with an idea, and hoping the denizens here might have some > input, esp. about potential breakage introduced. > > Summary: > For any given valid recipient, compare the sender whitelist of exact > matches and regexes. If the sender is NOT present, issue a permanant > deny (5xx).
I've written a plugin to do this for majordomo mailinglists: http://www.hjp.at/projekte/qpsmtpd/majordomo/ It's been in use for several years now. Early versions only looked at the envelope sender, but that was surprising to majordomo users (majordomo uses the From: header), so I implemented an alternate check for the From: header. Since then it works flawlessly. Cuts down enormously on the spam the moderators get. I started porting it to mailman, but we never got around to switch our public mailinglists from majordomo to mailman that wasn't finished either. hp -- _ | Peter J. Holzer | Openmoko has already embedded |_|_) | Sysadmin WSR | voting system. | | | h...@hjp.at | Named "If you want it -- write it" __/ | http://www.hjp.at/ | -- Ilja O. on commun...@lists.openmoko.org
signature.asc
Description: Digital signature