Before you enable Sender ID on a server running Exchange Server 2003 SP2, make sure to apply the Microsoft Windows Server™ 2003 hotfix that is documented in Microsoft Knowledge Base article 905214, “Windows Server 2003 or Windows 2000 Server may stop responding when you enable the “Sender ID Filtering” setting on an SMTP virtual server in Exchange Server 2003 SP2."
Note: |
|---|
|
If you are running Microsoft Windows® 2000 Server, contact Microsoft Product Support Services (PSS) for support assistance. Windows 2000 Server is in extended support mode only.
|
Sender ID focuses on one of the most common and deceitful practices used by spammers: domain spoofing. The term domain spoofing refers to the use of someone else's domain name when sending a message. Domain spoofing is part of the larger problem of spoofing, which is the practice of forging a sender's address on e-mail messages. Domain spoofing can also be used by malicious individuals in phishing scams, which try to lure consumers into disclosing sensitive personal information by pretending the e-mail is from a trusted source, such as a consumer's bank. Disclosure of such information could lead to identity theft and other online consumer fraud.
Sender ID is an e-mail authentication protocol that verifies the origin of the e-mail and prevents forged mail from entering an Exchange organization. In essence, Sender ID asks a question: “Has this e-mail message been spoofed?” If the answer is “Yes, it has been spoofed,” the Sender ID filter rejects or deletes the message immediately. If the answer is “No, we can confirm the sender’s authenticity,” the message is assigned a Sender ID status and transmitted to Intelligent Message Filter, if Intelligent Message Filter is enabled on the server, for additional anti-spam processing.
So how does Sender ID work? Sender ID functionality relies, in part, on an algorithm that is implemented in the Sender ID filter detects the purported responsible address (PRA). PRA is the e-mail address of the entity that is most recently responsible for injecting a message into the e-mail system. The Sender ID filter determines the actual e-mail domain by locating the first definition of the following RFC2822 message headers in this order:
-
Resent-Sender
-
Resent-From
-
Sender
-
From
If none of these headers is found, the Sender ID filter uses the STMP RFC 2821 MAIL FROM value.
Figure 1 How Sender ID Works.gif)
Here are the steps in the Sender ID verification process in Figure 1:
-
A sender sends an e-mail message to the receiver.
-
The receiver’s inbound mail server receives the e-mail message and extracts the PRA.
-
The inbound mail server checks which domain claims to have sent the message, and examines the domain name system (DNS) for the sender policy framework (SPF) record of that domain. These SPF records identify authorized outgoing e-mail servers. The inbound server determines whether the sending e-mail server's IP address matches any of the IP addresses that are published in the SPF record. For more information about what an SPF record contains and how to create an SPF record, see Sender ID.
-
If the IP addresses match, the e-mail message is authenticated and delivered to the receiver. If the IP addresses do not match, the e-mail message fails authentication and is not delivered.
Based on the evaluation of the Sender ID record, every message is stamped with a Sender ID status. Intelligent Message Filter considers this status for the final assignment of an SCL rating, if Intelligent Message Filter is enabled on the server and the status is also available as an output from the Sender ID filter.
The Sender ID status reflects the results of the Sender ID filtering process. The Sender ID status can be one of the following:
Successful validation status
-
Pass The IP address for the PRA is in the permitted set in DNS.
-
Neutral Published Sender ID data is explicitly inconclusive.
-
Softfail This value indicates a weaker type of failure. The IP address may not be in the permitted set in DNS.
-
Fail The IP Address is in the not permitted set in DNS.
None validation status
-
None No published data is available.
Error status
-
TempError There is a transient error, such as an unavailable DNS server.
-
PermError There is an unrecoverable error, such as an error in the record format.
Sometimes, for example, when there is a misconfiguation of the operating environment, the “FROM” IP address may be missing on an inbound message. Therefore, Sender ID status cannot be set. In this case, message processing continues without assigning a Sender ID status to the e-mail message.
A new performance object has been added to the System Monitor: MSExchange Sender ID with counters that correspond to the Sender ID statuses described earlier. The following counters are available for the Sender ID filter:
-
Total DNS Queries
-
Total Messages Missing Originating IP
-
Total Messages Validated by Sender ID
-
Total Messages Validated with a Fail – Malformed Domain Result
-
Total Messages Validated with a Fail – Non-existent Domain Result
-
Total Messages Validated with a Fail – Not Permitted Result
-
Total Messages Validated with a Neutral Result
-
Total Messages Validated with a None Result
-
Total Messages Validated with a PermError Result
-
Total Messages Validated with a Pass Result
-
Total Messages Validated with a SoftFail result
-
Total Messages Validated with a TempError Result
-
Total Messages with no PRA
The Sender ID filter rejects or deletes mail only if the validation was successful with a status of Fail. In all other cases, the mail is transferred to Intelligent Message Filter for additional anti-spam processing, if Intelligent Message Filter has been enabled, or to the recipient’s mailbox.
Sender ID Administration
Exchange Server 2003 SP2 provides a user interface for administering Sender ID. You’ll find the new Sender ID filter interface in Exchange System Manager by navigating to Global Settings, Message Delivery, Properties, and then to the Sender ID Filter tab.
You can configure Sender ID filter to handle incoming e-mail messages in three modes. Accept mode is the default configuration.
-
Delete The e-mail message is deleted and no non-delivery report (NDR) is sent to the sender.
-
Reject The e-mail message is rejected during the SMTP transaction.
-
Accept The e-mail message is assigned a Sender ID status for additional anti-spam processing.
You should understand that the Sender ID filter deletes or rejects mail only if a particular e-mail message has failed Sender ID verification. Therefore, the Sender ID filter deletes or rejects spoofed mail only. All other mail traffic is assigned a Sender ID status and passed along for additional anti-spam processing.
If the Sender ID filter is configured to work in the default Accept mode, the Sender ID just assigns the Sender ID status to the e-mail message, even with obvious spoofing. The Sender ID status is passed on to Intelligent Message Filter and triggers an appropriate modification of the spam confidence level (SCL) rating. If reputed sender does not have SPF records that are configured in DNS, the Sender ID filter does not reject mail from the sending organization.
The key to successful Sender ID implementation is correct filter configuration. I cannot stress enough how important it is to provide accurate configuration information about the messaging infrastructure. For Sender ID to function correctly, you must provide the IP address of every server in your organization that can route mail. That is why you must configure both the internal IP address range and the list of static IP addresses that handle inbound e-mail traffic from the Internet. If the e-mail servers that handle inbound traffic are in the internal IP address range, you do not have to provide list of static IP addresses.
You configure the Sender ID filter on the Message Delivery Properties page under Global Settings, but the Sender ID filter must be applied on the SMTP virtual server level. If you don’t enable the Sender ID filter on the appropriate SMTP Virtual Server Instance (VSI), it will not work.
For additional Sender ID Deployment information, see Sender ID Framework Deployment Overview.
For more information about publishing SPF records, see Sender ID Framework SPF Record Wizard.
For more information about Sender ID and additional resources, see Sender ID.