IIS and SMTP - SMTP stuck in queue,

This is Interesting: Free IT Magazines  
Home > Archive > IIS and SMTP > December 2005 > SMTP stuck in queue,





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author SMTP stuck in queue,

2005-12-03, 8:48 pm

I am working with a web developer and his app need to mail using CDO. It
doesn't work because there is a bunch of his mail stuck in the IIS Smtp
Queue. I opened a telnet session as shown in
http://support.microsoft.com/kb/q153119/ and the remote server replied. The
errors in the event log say that the remote domain connection failed.
This machine at one time was our exchange 5.5 server but that job was
moved to another ex2k machine and Ex5.5 has been shut down though this
machine is still our webserver.
DNS resolution is OK (it is also a DNS server, we are our own ISP) and
that is about the only explaination I can locate on the web for this Mail
stuck in queue problem.
Anyone have any other ideas what the mail gets moved out of the pickup
folder, into the Queue, and stalls there?



Chris Crowe [MVP 1997 -> 2006]

2005-12-04, 2:48 am

Try setting the SMART HOST to the new exchange server.

Open the IIS Manager and select the SMTP Server
Right Click and select properties
Select the Delivery tab and select Advanced
Enter the name of the Exchange Server into the SMART HOST field.
Remove the option Attempt Delivery before sending to Smart Host.

See how that goes.

--

Cheers

Chris Crowe [IIS MVP 1997 -> 2006]
http://blog.crowe.co.nz
------------------------------------------------


<churchmouse@noemail.nospam> wrote in message
news:e083BhH%23FHA.160@TK2MSFTNGP12.phx.gbl...
> I am working with a web developer and his app need to mail using CDO.
> It doesn't work because there is a bunch of his mail stuck in the IIS Smtp
> Queue. I opened a telnet session as shown in
> http://support.microsoft.com/kb/q153119/ and the remote server replied.
> The errors in the event log say that the remote domain connection failed.
> This machine at one time was our exchange 5.5 server but that job was
> moved to another ex2k machine and Ex5.5 has been shut down though this
> machine is still our webserver.
> DNS resolution is OK (it is also a DNS server, we are our own ISP) and
> that is about the only explaination I can locate on the web for this Mail
> stuck in queue problem.
> Anyone have any other ideas what the mail gets moved out of the pickup
> folder, into the Queue, and stalls there?
>
>
>



2005-12-04, 5:52 pm

I'll do that now, but will any authentication be involved? The app can't use
it. (not sure why)

"Chris Crowe [MVP 1997 -> 2006]" <IISMVP2005@iisfaq.homeip.net> wrote in
message news:%23vlMb6J%23FHA.252@TK2MSFTNGP15.phx.gbl...
> Try setting the SMART HOST to the new exchange server.
>
> Open the IIS Manager and select the SMTP Server
> Right Click and select properties
> Select the Delivery tab and select Advanced
> Enter the name of the Exchange Server into the SMART HOST field.
> Remove the option Attempt Delivery before sending to Smart Host.
>
> See how that goes.
>
> --
>
> Cheers
>
> Chris Crowe [IIS MVP 1997 -> 2006]
> http://blog.crowe.co.nz
> ------------------------------------------------
>
>
> <churchmouse@noemail.nospam> wrote in message
> news:e083BhH%23FHA.160@TK2MSFTNGP12.phx.gbl...
>
>



2005-12-04, 5:52 pm

I get event 4000 "remote server did not respond to a connection attempt. "

"Chris Crowe [MVP 1997 -> 2006]" <IISMVP2005@iisfaq.homeip.net> wrote in
message news:%23vlMb6J%23FHA.252@TK2MSFTNGP15.phx.gbl...
> Try setting the SMART HOST to the new exchange server.
>
> Open the IIS Manager and select the SMTP Server
> Right Click and select properties
> Select the Delivery tab and select Advanced
> Enter the name of the Exchange Server into the SMART HOST field.
> Remove the option Attempt Delivery before sending to Smart Host.
>
> See how that goes.
>
> --
>
> Cheers
>
> Chris Crowe [IIS MVP 1997 -> 2006]
> http://blog.crowe.co.nz
> ------------------------------------------------
>
>
> <churchmouse@noemail.nospam> wrote in message
> news:e083BhH%23FHA.160@TK2MSFTNGP12.phx.gbl...
>
>



2005-12-04, 5:52 pm

used technique in KB153119 to verify router blocking and all the telnet
stuff went fine, but the last thing said was that the message was "queued
for delivery".
Whats the next thing it has to do with the message? It seems to stop there.


<churchmouse@noemail.nospam> wrote in message
news:uMxDGmP%23FHA.3036@TK2MSFTNGP09.phx.gbl...
>I get event 4000 "remote server did not respond to a connection attempt. "
>
> "Chris Crowe [MVP 1997 -> 2006]" <IISMVP2005@iisfaq.homeip.net> wrote in
> message news:%23vlMb6J%23FHA.252@TK2MSFTNGP15.phx.gbl...
>
>



Chris Crowe [MVP 1997 -> 2006]

2005-12-05, 5:58 pm

Where is the message sitting now?

Have you configured the Smart Host property?


--

Cheers

Chris Crowe [IIS MVP 1997 -> 2006]
http://blog.crowe.co.nz
------------------------------------------------


<churchmouse@noemail.nospam> wrote in message
news:%23Zgm1uP%23FHA.740@TK2MSFTNGP12.phx.gbl...
> used technique in KB153119 to verify router blocking and all the telnet
> stuff went fine, but the last thing said was that the message was "queued
> for delivery".
> Whats the next thing it has to do with the message? It seems to stop
> there.
>
>
> <churchmouse@noemail.nospam> wrote in message
> news:uMxDGmP%23FHA.3036@TK2MSFTNGP09.phx.gbl...
>
>



2005-12-05, 8:53 pm

properly?? not sure what I have to do to the host itself. It's ex2000. I
configured SMTP to point to it (bu entering the IP) and if I drop a message
into the pickup folder containing the three necessary lines the message goes
out and I receive it. But the app does this and the message just disappears!
This start as soon as the smart host was configured so I am thinking that
there is the same syntax problem with the app(whatever that is!) , but now
the message is sitting somewhere else. but where?

"Chris Crowe [MVP 1997 -> 2006]" <IISMVP2005@iisfaq.homeip.net> wrote in
message news:%23jQzOpc%23FHA.2176@TK2MSFTNGP14.phx.gbl...
> Where is the message sitting now?
>
> Have you configured the Smart Host property?
>
>
> --
>
> Cheers
>
> Chris Crowe [IIS MVP 1997 -> 2006]
> http://blog.crowe.co.nz
> ------------------------------------------------
>
>
> <churchmouse@noemail.nospam> wrote in message
> news:%23Zgm1uP%23FHA.740@TK2MSFTNGP12.phx.gbl...
>
>



Chris Crowe [MVP 1997 -> 2006]

2005-12-06, 2:53 am

Not properly - "Property"

If you are using CDO then are you specifying a SMTP Server? if you are which
it sounds like you are, the IP of the exchange server then you are not using
the IIS SMTP service anyway.

If you put a file into the Pickup Directory and it is delivered then IIS is
correctly configured.

If you are specifying a SMTP server that is not LOCALHOST then you may find
that the exchange server is bouncing it.

I am not an exchange server guru so not a lot I can offer but if you load
the Exchange System Manager (or get someone who has the rights to) and
select the TOOLS node and the Message Tracking Center you will be able to
search for your messages and see what exchange did with them.

--

Cheers

Chris Crowe [IIS MVP 1997 -> 2006]
http://blog.crowe.co.nz
------------------------------------------------


<churchmouse@noemail.nospam> wrote in message
news:%23K6disg%23FHA.360@TK2MSFTNGP09.phx.gbl...
> properly?? not sure what I have to do to the host itself. It's ex2000. I
> configured SMTP to point to it (bu entering the IP) and if I drop a
> message into the pickup folder containing the three necessary lines the
> message goes out and I receive it. But the app does this and the message
> just disappears! This start as soon as the smart host was configured so I
> am thinking that there is the same syntax problem with the app(whatever
> that is!) , but now the message is sitting somewhere else. but where?
>
> "Chris Crowe [MVP 1997 -> 2006]" <IISMVP2005@iisfaq.homeip.net> wrote in
> message news:%23jQzOpc%23FHA.2176@TK2MSFTNGP14.phx.gbl...
>
>



2005-12-07, 3:50 am

Sorry. a play on words that failed.
Yes, if I create a message file myself with from to and message, and drop
it in there, it goes. but the app written by others doesn't work. I really
need to see the failed message and see the syntax of what they are creating.
They must have messed up somewhere.
Last question, will using a smarthost require authentication? Apparently
it is common to not use authentication in a simple web app like this but
since I shut off relay privileges long ago, it's required if it runs through
the exchange server. But somehow it's not when it runs through IIS.
Hence my curiousity about the smarthost. How does that work?


"Chris Crowe [MVP 1997 -> 2006]" <IISMVP2005@iisfaq.homeip.net> wrote in
message news:OVJwM0i%23FHA.3852@TK2MSFTNGP14.phx.gbl...
> Not properly - "Property"
>
> If you are using CDO then are you specifying a SMTP Server? if you are
> which it sounds like you are, the IP of the exchange server then you are
> not using the IIS SMTP service anyway.
>
> If you put a file into the Pickup Directory and it is delivered then IIS
> is correctly configured.
>
> If you are specifying a SMTP server that is not LOCALHOST then you may
> find that the exchange server is bouncing it.
>
> I am not an exchange server guru so not a lot I can offer but if you load
> the Exchange System Manager (or get someone who has the rights to) and
> select the TOOLS node and the Message Tracking Center you will be able to
> search for your messages and see what exchange did with them.
>
> --
>
> Cheers
>
> Chris Crowe [IIS MVP 1997 -> 2006]
> http://blog.crowe.co.nz
> ------------------------------------------------
>
>
> <churchmouse@noemail.nospam> wrote in message
> news:%23K6disg%23FHA.360@TK2MSFTNGP09.phx.gbl...
>
>



Jeff Cochran

2005-12-10, 5:54 pm

On Tue, 6 Dec 2005 20:59:04 -0800, <churchmouse@noemail.nospam> wrote:

>Sorry. a play on words that failed.
>Yes, if I create a message file myself with from to and message, and drop
>it in there, it goes. but the app written by others doesn't work. I really
>need to see the failed message and see the syntax of what they are creating.
>They must have messed up somewhere.


That's exactly the symtoms of an error in the creatinon of the
message. Incorrect addressing, bad formatting, etc.

> Last question, will using a smarthost require authentication? Apparently
>it is common to not use authentication in a simple web app like this but
>since I shut off relay privileges long ago, it's required if it runs through
>the exchange server. But somehow it's not when it runs through IIS.
>Hence my curiousity about the smarthost. How does that work?


Smarthosts may or may not require SMTP authentication. It depends on
the smarthost. Normally you wouldn't authenticate if you control both
boxes, but if the smarthost had to realy for a number of sources
authentication is one more security feature to prevent spammers from
hijacking the server. If IIS is on the same system as the SMTP
server, it's likely relaying for local accounts only.

Jeff



>
>"Chris Crowe [MVP 1997 -> 2006]" <IISMVP2005@iisfaq.homeip.net> wrote in
>message news:OVJwM0i%23FHA.3852@TK2MSFTNGP14.phx.gbl...
>


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com