> > Hi folks, > > > > I suspect this exists, but can't come up with the right search. > > > > I have domains that should never receive mail. I'd like a milter that > > looks for mail to those domains and feeds the IP of the sender to an > > outside program. > > > > Surely someone wrote this spamtrap software? Or does everyone just > > parse the log? > > Ever looked at MIMEDefang? You can write your milter code in Perl.
MIMEDefang is an excellent suggestion. > Only thing is I think you'll have to let the domains that should never > receive email get email for your MTA so the milter "sees" the email. Setting up MX records will certainly make it easier for the spammers to spew their crap to your systems, but in my experience their spamware seems to fall back to the "A" and "AAAA" records in the absence of an MX records (and sometimes in addition to the presence of an MX record when any or all of the defined MXes rejects their attempts with 4yz {temporary} or 5yz {permanent} SMTP error codes). -- Postmaster - postmas...@inter-corporate.com Randolf Richardson, CNA - rand...@inter-corporate.com Inter-Corporate Computer & Network Services, Inc. Vancouver, British Columbia, Canada https://www.inter-corporate.com/ _______________________________________________ mailop mailing list mailop@mailop.org https://list.mailop.org/listinfo/mailop