> Upon receipt of mail at the end of the DATA portion > of the SMTP transaction, look at the mail envelope > (and possibly the From: header) and parse out the > domain name that the mail is supposedly sent from. > Then, look up the DNS for that domain name, looking > for IN MX records.
I wrote a sendmail milter that does that. You give it list of major spam domain names and what thier legal mx hosts are and if they don't match, it's rejected. You could also wildcard certain mx's like *modem* dsl*.* etc Daniel P. Stasinski Software Engineer Mayor Pharmaceutical Laboratories [EMAIL PROTECTED] -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank.
