Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Troubleshooting
Research
Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

Sending email from IIS to local email server - messages stuck in IIS queue folder.

Avatar of Ponthecomputer
Ponthecomputer asked on
ExchangeWindows Server 2003Windows OS
5 Comments1 Solution423 ViewsLast Modified:
Windows server 2003 domain, server 2003 IIS 6 and Exchange 2003 SP2

I am using IIS to send out messages to website users. The script formats an email message and puts it in the "Pickup" directory in inetpub\mailroot of the IIS server.

Sometimes we need a message sent from the web server to one of our IT staff internally so in that case the message is addresesd to ITuser@ourdomain.com.

Any message sent to an outside  user from the web server sends without incident. IIS on the web server will NOT send sucessfully to anything addressed to our local domain.

An mx record lookup on the IIS server shows our email server address which is correct. Our email server allows the IP of the web server to relay through it. Further, a manual smtp session from the IIS server to the mail server will allow a message through OK. i.e. telnet mailserver.domain.local 25 mail from: etc..

The messages attempted on the IIS server to the local recipients will always get stuck in the queue folder of IIS and no SMTP errors are logged in the log files.

I have tried testing with the antivirus shut off on the mail server as well and it made no difference.

Both servers are on the same domain if that is important. Stil trying to figure this one out. Any help is appreciated. Thanks!

-P