4006 error
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > IIS server support > IIS and SMTP > 4006 error




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    4006 error  
pau


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-19-05 12:50 PM

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/ii...e_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.







[ Post a follow-up to this message ]



    RE: 4006 error  
Steve Manatt


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
11-08-05 11:28 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.

"pau" wrote:

> Hi!
> I'm getting the 4006 error, from an IIS 6, when I try to send  a message t
o
> 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 I
IS
> 6 in a 2003 server), who, when reciving, resend the email to the appropiat
e
> address. The domains which I've detected that ar
>
> As I've read here: [url]http://www.dylanbeattie.net/docs/iis6_bare_linefeed.html[/url
]
> 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 solutio
n
> is valid only for ASP pages??
>
> anybody has the same problem and can help me?
>
> thanks a lot.
>
> pau.
>
>
>





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 01:39 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register