Jay Lee <[EMAIL PROTECTED]> writes: > Alexander Schulz wrote: >> I get a lot of spam from "consumer broadband machines", which have >> dns names containing the ip address, like 24-205-10-141.dhcp.domain.tdl >> >> I would like to reject these mail early, like the badfrom addresses I >> can set in bofh. Or even earlyer, as soon as the connectio is made. >> >> Is there a way to achieve that with courier? [ ... ] > > Configure one of the DNS blacklists that keeps track of dynamic IP > Addresses. NJABL.org comes to mind. Be prepared to take the heat when > legit mail gets rejected (it will, although some may consider that > acceptable if it keeps spam down).
You could also make use of a custom global mail filter that can reject mail during the SMTP dialog based on whatever criteria you desire. Do a "man courierfilter" for details. You can check out Julian Mehnle's implementation of this, which automates a lot of the complexities of building global courier filters and lets you write your own filtering rules in Perl: http://search.cpan.org/dist/Courier-Filter/lib/Courier/Filter/Overview.pod Or if you prefer, Gordon Messmer wrote a similar global filter package which lets you write your filtering rules in Python: http://phantom.dragonsdawn.net/~gordon/courier-pythonfilter/ -- Lloyd Zusman [EMAIL PROTECTED] God bless you. _______________________________________________ courier-users mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
