On Tue, Jul 27, 2004 at 09:00:04PM -0500, Jack L. Stone wrote: > >If anyone is interested, I wrote a milter that does an access-list on > >recipients. A bit like the recipient blacklist of sendmail, except that > >it supports regex. (snip) > Please count me as being VERY interested. I really like the "milter" > approach in order to catch the bad stuff as close to the front door (MTA) > as possible. Here it is, "as-is" after 4 hours of work, to get just what I want: ftp://ftp.espci.fr/pub/milter-rcptfilter/milter-rcptfilter-0.5.tgz SHA1 (milter-rcptfilter-0.5.tgz) = bd45295e07cb38099926cfebc25badbe9b1492f9 In a world where I could fork myself, I'd use that as a base to make milter-acl, which would enable filtering with strings or regex on connexion IP, connexion DNS, helo string, envelope from, envelope recipient, header or body. It could have rule grouping, and a quick keyword to pass through the next rules, I imagine an access file like this, a la ipfilter: reject quick helo "^192\.0\.2\.1" message "Hello string should be your FQDN, not my IP" reject /^TVqQAAMAAAA/ message "No win32 bins here" head 100 accept rcpt "precautious.user@example;com" group 100 accept rcpt "another.user@example;com" group 100 tempfail quick ip "192.0.240.1" message "I know you are an evil spammer so I'll always tempfail you just to waste your mail queues" But I have no time to work on that. -- Emmanuel Dreyfus manu@...
Message
Re: [milter-greylist] Re: How can I stop mail to non-exsisting users?
2004-07-28 by Emmanuel Dreyfus
Attachments
- No local attachments were found for this message.