Home > Microsoft Exchange Tips > Exchange Security Tips > You got rights to send that? New protocol is watching, part 2
Exchange Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

EXCHANGE SECURITY TIPS

You got rights to send that? New protocol is watching, part 2


Serdar Yegulalp
02.26.2004
Rating: -4.43- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


Second of two parts

Yesterday, I discussed the Sender Permitted From (SPF) protocol that works in conjunction with existing e-mail protocols to ensure that a person sending an e-mail on behalf of a given address has the right to do so.

Remember that SPF does not verify individual sender usernames; it only verifies that the e-mail being sent does in fact come from the domain in question. SPF has two requirements: the sending domain must publish a reverse MX record, and the receiving domain must perform the reverse MX lookup on in-coming mail.

This article will look at how to create the reverse MX record and how to add SPF support to Exchange.

You can create the reverse MX record by hand or through a wizard provided by the creators of the SPF RFC http://spf.pobox.com/wizard.html. The format of a typical reverse MX record is simple enough:

<domain-name>. IN TXT "v=spf1 a mx ptr -all"

In this example, <domain-name> is the domain name to publish a reverse MX record for. Note the trailing dot after the domain name; if you published the domain name foo.com, it would look like this:

foo.com. IN TXT "v=spr1 a mx ptr -all"

To add the appropriate reverse MX record to a server running Microsoft's DNS, follow these steps:

1. Open the DNS snap-in via Microsoft Management Console
2. Right-click the domain that you want to add an SPF record for.
3. Choose Other New Records.
4. Choose a record type of TXT.
5. Enter the SPF record to specify valid mail senders.

For other DNS servers, such as BIND or the free DNS server BIND-PE, you need to add the record manually.

Adding SPF support to Exchange is more difficult, since Exchange doesn't natively support this sort of lookup. It is possible to do this through an event sink, however, using the OnArrival event and an external SPF package. One such package, which is free, is http://www.wayforward.net/spf/, and is written in Python. The Win32 implementation for Python would allow this script to be implemented in the context of a WSH object, or from a command line (slower, but probably easier to debug). Another implementation possibility is to use a compiled object using one of the C libraries that supports SPF http://www.libspf.org/, and create a .DLL that does the trapping -- harder to program but ostensibly much faster.

One problem with SPF is that it breaks direct forwarding (where the envelope sender is preserved). Most of the time when a message is forwarded in Exchange, however, the original message is sent as an attachment, with the carrying message bearing the identity of the re-mailer, so this is usually not a problem. The SPF FAQ http://spf.pobox.com/faq.html contains details on how forwarding breaks in an SMTP/PIP environment, and how it can be preserved.

SPF's adoption has started very swiftly. America Online, one of the largest ISPs and also one of the biggest refuges for hit-and-run spammers, implemented SPF at the beginning of January 2004. Microsoft is also looking into implementing SPF, so a native Exchange solution may become available before long. Other folks who have shown interest in supporting SPF in their products include Qualcomm (makers of Eudora), the SpamAssassin spam filter, ActiveState (makers of PureMessage), MailArmory, and Declude JunkMail.

Serdar Yegulalp is the editor of the Windows 2000 Power Users Newsletter.

Rate this Tip
To rate tips, you must be a member of SearchExchange.com.
Register now to start rating these tips. Log in if you are already a member.


Submit a Tip




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


RELATED CONTENT
Exchange Security Tips
Why you should secure Exchange 2007 using administrative policies
Microsoft Exchange Server security dos and don'ts
Create a journal rule in Exchange 2007 to secure journaling mailboxes
How to protect an Exchange journaling mailbox from email spoofing
Lock down Microsoft Outlook 2007 to prevent .PST file access
Using Exchange Server journaling as an email-archiving solution
Use the OWA Admin tool to 'segment' Outlook Web Access 2003 features
Why are .PST files a security threat to Exchange Server mailboxes?
OWA won't load after applying Exchange 2007 SP1 security patch
Minimize remote and mobile Outlook Web Access (OWA) security risks

Antispam Software and Spam Filtering
Microsoft Exchange Server security dos and don'ts
Troubleshooting Microsoft Exchange Server Event ID error 6009
How can I configure Exchange IMF to allow an IP address or DNS?
Tool helps identify inbound Exchange Server email flow issues
Exchange email sent to a domain using SPF authentication is returned
Configure SMTP relay restrictions in Exchange Server 2003 to stop spam
Secure Edge Transport servers using the Security Configuration Wizard
Create a global Safe Senders List in Exchange 2007 to filter spam
Migrating antispam settings from Exchange 2003 to Exchange 2007
The six-layered secret of effective Exchange Server email filtering
Antispam Software and Spam Filtering Research

Email Protocols
How Exchange Server performs Active Directory LDAP queries
Enabling protocol logging for Exchange Server
How HTTP verbs can 'hang' Outlook Web Access
Establishing a direct Microsoft Outlook connection using RPC over HTTP
Should I be concerned with a large number of user HTTP logons?
Receiving MAPI error after uninstalling Outlook on SBS and Exchange
Why HTTP can hurt Exchange ActiveSync attachments
Exchange Server mailbox-level MAPI backups
A primer on messaging standards: NNTP, X.400 and LDAP
8004010F MAPI not found error with Exchange 2003

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
greylist  (SearchExchange.com)
hash buster  (SearchExchange.com)
image spam  (SearchExchange.com)
KnujOn  (SearchExchange.com)
Sender ID  (SearchExchange.com)
spam confidence level  (SearchExchange.com)
spamblock  (SearchExchange.com)
spim  (SearchExchange.com)
tarpitting  (SearchExchange.com)
teergrube  (SearchExchange.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



Email Server Solutions: Exchange 2007, Exchange 2003, Exchange 2000, SharePoint
HomeNewsTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersIT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2004 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts