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!