exchange 2003 Inbound Recipient Filtering at smtp level doesn't work

Posted on 2004-08-11
Last Modified: 2011-09-20
I wan't to use the filter recipients rules at smtp level as defined in Exchange 2003.

My intranet domain is SOLID-DYNAMICS.OFFICE

I receive emails for domain SOLID-DYNAMICS.COM and SOLID-DYNAMICS.FR

I've configured my server properly (it's seems) (I've just upgrade my serveur in EXC2003, we have a EXC2000 Server before)

I've read and applyed the document downloaded at : named "What's new in excahnge 2003" chapter : "Inbound Recipient Filtering page 166".

When I telnet my server, all recipients are accepted even if they are not in AD.

I've also added directly some users in the list box, but nothing to do : all recipients are allowed...

Need help, my server receive at leat 90% of junk email on wrong adress and send NDR...


Question by:FredTachet
  • 3
  • 2
LVL 17

Expert Comment

ID: 11771653
By default Exchange won't process the recipient until after it has received the message as long as the domain part is valid per the recipient policy(s).

If you enable recipient filtering and check "Filter recipients who are not in the directory" then you will get 550's for invalid local recipients.
This will eliminate the need for your system to generate NDR's for messages that are sent to non-existent users. Which in the case of spammers, the sender is either an invalid destination (NDR gets stuck in retry until the message times out) or an invalid user. Both of these case caues the NDR to be dumped in the badmail directory, thus making it difficult to keep track of real badmail issues.

On the other side of the coin, it makes it easier for a remote party to perform a directory harvest attack. Please note the word easier, as some people are under the false assumption that DHA's can't happen if you don't have recipient filtering. DHA's can happen without recipient filtering by processing NDR's and removing the recipients from the spamlist.

Author Comment

ID: 11772015
>> If you enable recipient filtering and check "Filter recipients who are not in the directory" then you will get 550's for invalid local recipients.
That's what I want. Never mind for DHA now...
The problem is that we have a lot of customers that are not well protected against viruses, and that's why we receice a lot of junk or viruses emails.

Our spam and virus scan engine clean every of them, but this morning we have recevied 11 legitimate emails, 83 junk emails,  and 642 unknown user mail...

The strange thing is that I've already done it on an other exchange 2003 server as it's explain on the word documentation from MS and it's working fine, but I can figure out why it doesn't work for this server. The only difference I can see is That this one is an upgrade from EXC2000 and the other is a fresh install.


LVL 17

Accepted Solution

Microtech earned 125 total points
ID: 11773230
"Recipient filter rules apply only to anonymous connections. Authenticated users and Exchange servers bypass these validations". ref the doc you put a link to.
make sure no one is relaying

also look at this doc see if it helps;EN-US;823866


Author Comment

ID: 11773623
A friend of mine tell me to try to repair my installation, because sometimes there is problem with upgrade...

That's what I've done, and all is working fine now...

The repair has removed a connector used to fight relay in EXC2000, it's perhaps this connector that cause the problem.

Anyway thank for your time Microtech.

Topic is closed.
LVL 17

Expert Comment

ID: 11773912
Glad I could help a bit... if you feel I am deserving of the points the accept one of my comments

or if you wish to close then post a please close this question link in community support

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Follow this checklist to learn more about the 15 things you should never include in an email signature from personal quotes, animated gifs and out-of-date marketing content.
Marketers need statistics and metrics like everybody else needs oxygen. In this article we explain how to enable marketing campaign statistics for Microsoft Exchange mail.
In this video we show how to create a Shared Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Sha…
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question