|
|
Log in / Subscribe / Register

Blocking forgeries and spam with SPF

Blocking forgeries and spam with SPF

Posted Oct 23, 2003 16:03 UTC (Thu) by copsewood (subscriber, #199)
Parent article: Blocking forgeries and spam with SPF

My first thoughts as an author of a minor anti-spam program and as a victim of spam pretending to come from my own domain , were that an approach like this could not work because of a catch 22: people won't implement blocks on this basis if there are many false positives, and if there are few blockers, DNS admins have less incentive to update their domains.

Further thoughts suggest that blocks probably can be usefully implemented on the easiest targets. These are likely initially to be faked mail coming from servers not belonging to the most heavily used mail domains on outgoing envelope headers, e.g. Hotmail and AOL. This would make it more difficult for people legitimately using Hotmail and AOL addresses from sending their mail from other clients on other networks but very few legitimate web-mail users would know how to do this, and those who wanted to do this would very soon acquire more reputable addresses. Spammers would then choose other domains to fake, but this fact provides a good incentive for any domains which don't want to be faked to update their DNS records and provide access to authenticated outgoing SMTP relays for their legitimate users.

Whether this succeeds in having a wider network effect might depend upon how many people are willing to block all mail coming from all domains which don't have the required DNS records, as well as all mail coming from unauthorised relays from domains with the required DNS records. The problem here is that the first people to block in this manner risk having a very high false positive rate to start with.

This proposal also only provides a start to prevent some of the worst abuse. When spammers have to use their own domains to send their spam, we will still need to be able to coordinate reporting and blocking of these spamming domains and relays, but hopefully this will make this job a bit easier.


to post comments

Blocking forgeries and spam with SPF

Posted Oct 23, 2003 17:46 UTC (Thu) by iabervon (subscriber, #722) [Link]

I don't think there should be a significant number of false positives (at least, that don't get resolved), because domains won't add spf until they actually mean to, which will probably be prompted by problems caused by forged addresses.

The tricky part, I believe, is actually handling forwarding addresses. If you run a domain which has any addresses which are supposed to receive mail and forward it to some other address (where it is actually read), it will be tricky to support sending mail legitimately from that address, and it will be tricky to use spf for any other addresses in the domain.

Of course, one possibility would be to set up the machine to relay for a forwarding address if its domain has spf and the message is coming from an authorized host, but that depends on the user's reading domain having spf set up (and requires the user to configure their mailer to relay through the right place).

I don't think it would be a problem for vanity domains (in the sense of "x@y.name" is actually really "xy@isp.com", where isp.com handles everything, and there is not a separate SMTP server for y.name, just an MX record which points to isp.com).

It would be a problem for webmail people who want to send through a different interface, but that's either something the webmail sites don't like anyway, or something they could support (by allowing relays from authenticated users using the SMTP-POP/IMAP hack).


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds