Groups | Blog | Home
all groups > iis smtp nntp > september 2005 >

iis smtp nntp : 4006 error



pau
9/19/2005 12:00:00 AM
Hi!
I'm getting the 4006 error, from an IIS 6, when I try to send a message to
certain domain which mail server is the known qmail server. The Event
viewer, says to me something like: "Message delivery to the host
'XXX.XXX.XXX.XXX' failed while delivering to the remote domain 'domain.com'
for the following reason: The connection was dropped by the remote host".
This is the 4006 error.

I'm building a message using a php page, who calls to the php mail()
function and attempts to send an email to the localhost SMTP server (the IIS
6 in a 2003 server), who, when reciving, resend the email to the appropiate
address. The domains which I've detected that ar

As I've read here: http://www.dylanbeattie.net/docs/iis6_bare_linefeed.html
a possible solution is to add a \r before all the \n from our code!! but
I've been trying to do it and it does'nt work for me. Perhaps this solution
is valid only for ASP pages??

anybody has the same problem and can help me?

thanks a lot.

pau.

Steve Manatt
11/7/2005 4:11:05 PM
Try adding the IP address of the web server in the Relay Restrictions of its
SMTP server. In other words,

Say the IIS Server that sends the e-mail has an IP address of
192.168.168.25.

1. Go to the IIS Admin MMC ~ the SMTP Server properties ~ Access
~ Relay
2. Choose "Only the list below" and add 19.168.168.25 to the list
3. Leave bottom checkbox checked that talks about authenticated users
4. Hit OK and mail should immediately be delivered

Hope this helps, this just worked for me and I have been battling the same
scenario you described for the past 6 days.

[quoted text, click to view]
AddThis Social Bookmark Button