I have an idea to reduce spam that I think would be very efficient and effective. I wanted to run it by the forum to see what people think so please feel free to voice your opinion.
My idea is simply to create a new DNS record type, MXO. An MXO record could point to a domain or host name. If a domain name is returned, the MXO records for that domain apply to the MXO lookup. With that, an SMTP server can, before receiving a message, verify that the connecting SMTP server is authorized to send mail for the MAIL FROM domain.
I can think of dozens of reason why this little test would prevent large amounts of spam. It would also prevent a lot of fraud (mail from spoofing).
Subject: Theory to solve spam using DNS – SPF
Congratulations, you’ve just re-invented SPF.See http://spf.pobox.com/
(Technically SPF is even a bit better since it doesn’t require a new kind of DNS record, but the gist is the same).
Just google for SPF / Sender Policy Framework, and find out why it will/will not work.
cheers,
Bram
Subject: Theory to solve spam using DNS
Isn’t this what reverse DNS lookups are for?
Subject: Re: reverse DNS
Isn’t this what reverse DNS lookups are for?
No that is not what reverse DNS is for. Reverse DNS exists to convert numbers, which are not human-friendly, into names, which are human-friendly.
Many mail servers can be configured to do a reverse DNS lookup to see if there is any sort of entry, because the theory is that ISPs won’t put in reverse entries for spammers. But there is nothing in either the DNS spec or the SMTP protocol that requires anything like that, and in fact this breaks some legitimate mail routing.
Subject: Re: Theory to solve spam using DNS
There is no such thing in the SMTP protocol that says “a mail server should be authorized to send mail for the MAIL FROM domain”, and if there were, it would stop people from sending some legitimate mail using, say, Outlook Express from their home.
I’ll admit that nowadays with the popularity of web-based mail combined with corporate VPNs the number of people it would adversely affect would be minimal, so amending the SMTP protocol in some way to combat spam is probably the “right” way to do it, but this is not simple given the number of mail servers currently in use. You’d have to get every mail server in the world to upgrade.
Subject: RE: Re: Theory to solve spam using DNS
I think it goes without saying that in order for spam to be solved, a significant change is required. For example, when RBL’s started to function under the DNS system, no SMTP servers supported that. The big problem with my proposal is that it would require an upgrade to everyone’s DNS server - something that would probably take 3 year to phase in. As far as blocking legitimate emails, I don’t see the concern. The MXO test would not apply to relay operations and anybody who sends emails directly from their client is in need of a change anyway.
I think the big benefit here would be the lack of fraud. Spam will always be possible, but if eventually the source of emails is un-spoofable, then all the aninimity will be gone and the anti spam laws that so many states are writing would actually be enforcable.