How to force Windows Server 2008 R2’s SMTP server to generate NDRs for non-existing local users

smtpwindows-server-2008-r2

I have a Windows Server 2008 R2 server with the SMTP service enabled, which provides mail relay to another server for some applications.

Sometimes, a message comes in with a wrong "To:" address, consisting of only a single word without a SMTP suffix, i.e. someone instead of someone@somedomain.com.

When this happens, the server treats the message as being addressed to its own fake local domain, i.e. someone@smtp.server.fqdn, and drops it into its "Drop" folder.

There is, of course, no user named someone on the server, and that address is obviously invalid; and yet, the server still drops the message there, instead of sending a NDR because someone without any domain suffix is not a valid SMTP address.

How can I force this server to send a NDR when such a message is received?

Best Answer

It looks like the behaviour you describe is default for the SMTP service in IIS and can't be changed:

http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/6bb0d71f-d3d7-4f59-aa01-4d5c022274a4.mspx?mfr=true