In reply to:
What it amounts to is the email server of the domain owner, (the OP), needs to attach an SPF record to outgoing emails.
Actually, no. The email itself doesn't change. The SPF record is held by the DNS server. It's just part of the information about a domain that can be obtained. It lists which IP addresses are responsible for sending email.
When the sender contacts the receiver it is initially just a standard TCP/IP data transfer. The first thing the receiver does is check with DNS that the sender's IP is allowed to originate the email. Example:
Sender is 123.321.123.321, trying to deliver an email claiming to be from "
[email protected]".
Receiver performs a DNS query to get the SPF record for wibble.com. The record states that only 100.100.100.100 is allowed to send mail from wibble.com. Receiver tells the sender to bog off and terminates the connection.
Given that IP addresses are the bedrock of the Internet the system is pretty solid..
...as long as the recipient uses it. The weak point is that the receiver has to choose to query DNS. If it doesn't then the message is accepted and processed as normal.
I suppose that a crude analogy is a nightclub bouncer that verifies customer IDs by checking against a government database. The ID doesn't change but the nightclub bouncer requires a third party to confirm that the ID is valid. Sadly, not all nightclub bouncers bother and consequently you get all kinds of riff-raff in those places
..although eventually the government database is leaked by a secretary who takes a laptop home to play computer games but leaves it on a park bench while they feed the ducks. After extensive enquiries the government concludes that "It's just not good enough" and establishes half a dozen committees to come up with a solution. Each committee comes up with a different solution, most are leaked ahead of time and in the resulting confusion and press hysteria the whole matter is forgotten.
Rather ironically DNS is even less secure and more open to corruption.
Still...you have to laugh, really
Andrue Cope
[Brackley, UK]
Edited by Andrue (Thu 27-Mar-08 12:06:14)