One of themore annoying types of spam is the one that seems to be coming fromyour own domain; or worse— from your own email address! Of course,users from your own domain don’t generally spam each other— unlessyou’re using one of the free web-based email services. And most ofus don’t spam ourselves.
Obviously, thisis coming from a spammer who has spoofed your email address, orthat of someone else from your domain.Unfortunately,
In ExchangeServer 2007,
You may haveremote POP3/IMAP4 users who use SMTP to send mail. However, suchsessions should be authenticated, and preferably use a separateReceive Connector.
Thanks to theextensive
Use the followingcommand to remove the
Get-ReceiveConnector “My Internet ReceiveConnector” |Get-ADPermission -user “NT AUTHORITY\Anonymous Logon” | where{$_.ExtendedRights -like“ms-exch-smtp-accept-authoritative-domain-sender”} |Remove-ADPermission
Once thispermission is removed, when anonymous senders try to submit mailusing your Accepted Domain(s), here’s how the SMTP conversationgoes:
220 E12Postcard.e12labs.com Microsoft ESMTP MAIL Service ready atWed, 3 Sep 2008 06:22:43 -0700
helo
250 E12Postcard.e12labs.com Hello [172.31.0.170]
mailfrom:jadams@e12labs.com
5505.7.1 Client does not have permissions to send as thissender
Exchange stoppedspoofing of P1/envelope headers. Let’s continue the session and tryto spoof the P2 headers
mailfrom:someone@someotherdomain.com
250 2.1.0 Sender OK
rcpt to:jadams@e12labs.com
250 2.1.5 Recipient OK
data
354 Start mail input; end with
from:jadams@e12labs.com
subject: Header spoofing
This is how wespoof headers, spoof headers.
.
5505.7.1 Client does not have permissions to send as thissender
quit
221 2.0.0 Service closing transmission channel
As you can see,removing the
Whennot to remove the permission?
Is there a scenario where one should not removethe
But you do havethese internal/trusted hosts submitting to a separate ReceiveConnector, don’t you?