Yahoo has begun attaching digital signatures to outgoing e-mail in an effort they believe will subvert the overwhelming deluge of spam e-mail being sent with forged headers. Yahoo’s system has potential to become a major player in this market, besting rivals such as AOL and Microsoft, because their technology is the least dependant on external information and the most compatible with open-source licensing.
DomainKeys is a technology developed by Yahoo! that has its basis in public-key encryption. The basic theory is that a hash of the e-mail’s body is encrypted with the mail server’s private key, encoded as Base64, appended to the message as a normal mail header field then transmitted along with the plaintext e-mail. At any point along the message’s transmission, a system can request the mail server’s public key from a DNS server and decrypt the hash and compare it against the message’s text. Any interim machine or your local mail client can decide what to do with the message based on the outcome of the comparison, or more likely, use the results as a weighted factor in the decision to discard or retain the message.
This system is independent of external factors that other similar technologies, such as AOL’s Sender Permitted From and Microsoft’s SenderID, are reliant on. SPF and SenderID are dependant on a list of IP addresses being present in a DNS record, which could technically be revoked or altered and invalidating all of that user’s outgoing mail until the IPs could be updated and propagated back through the Internet. Steven Bellovin, a member of the Internet Engineering Task Force is critical of SPF: