Re: IIS SMTP question
me_at_privacy.net
Date: 06/04/04
- Next message: dreihs: "IIS lockdown tool and OWA"
- Previous message: Jeff: "best practices - domain or no domain"
- In reply to: Ken Schaefer: "Re: IIS SMTP question"
- Next in thread: Jeff Cochran: "Re: IIS SMTP question"
- Reply: Jeff Cochran: "Re: IIS SMTP question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 4 Jun 2004 10:25:12 -0400
<<Can you explain exactly what's changed then? From your posts here and
elsewhere I'm gathering that:
a) you have a web application>>
Correct.
<<b) the web application sends email out (for various purposes) using the
Quickmailer component>>
No - I was using the quickmailer application as a test tool to see if I
could send email from that server. It's a no-frills application in which
you can put a from address, to address, and specify a smtp server & login
info and send an email via that smtp server using that from address & to
address. It was just a test tool I was using to see what error message I
got from the box where SMTP no longer worked.
Regarding the first part of item (b), that is correct. If for some reason I
have a problem (expired session, index out of bounds, intra-query
parallelism, etc) within my dotnet application, it'll send me an email using
the code I posted earlier (the code is part of my global.asax)
<<c) when your app attempts to send the email out, your page generates an
unhandled exception which is caught by your Application_Error global
handler, which sends you an email via the MailMessage class>>
No - it doesn't do that. It does put something in the message log, but it
tells me that it was an invalid login attempt when I try to send mail via
the Quickmail application. If an error is generated within the application,
it doesn't appear to generate anything in the error log. It'll make a note
that the error occurred (i.e. index out of bounds, intra query parallelism,
etc), but make no reference to SMTPSVC within the error log.
<<d) the error message you see if caused by (c)>>
Here's what I get:
This is the error message I get when I run the quickmailer application:
Server Replied: 5.7.3 Authentication unsuccessful
I'm using my username & password, which I would be using to get into the
website.
In the event log, here's what I get when I try to do that:
Source SMTPSVC, Event ID: 100
The server was unable to logon the windows NT account 'username' due to the
following error: Logon Failure: Unknown user name or bad password. The
data is the error code.
This error message appears in the error log when I try to run the quickmail
application, which should mimic the ability to send email via the SMTP
service on that IIS server. Errors from my application that show up in the
event log that should have generated an email only show up as the
application itself having the problem (index out of range, intra query
parallelism, etc). I get no entry in the error log from when it should have
sent the email containing the application error information.
However, I noticed this morning that I now have an error in the event log
showing up that relates to SMTP. The error says:
"Message delivery to the remote domain (myserver.com) failed for the
following reason: The remote server did not respond to a connection
attempt." Event ID is 4000, and the service is smtpsvc - it is a warning
message.
<< Is that correct so far? Or is something else happening?>>
The application had been sending error messages prior to the installation of
a new exchange server in the building, and also prior to changing the
administrator login (both of which happened at about the same time).
To the best of my knowledge, that's what's happening.
Sorry for the confusion.
SC
>
> Cheers
> Ken
>
> <me@privacy.net> wrote in message
> news:erZfVbZSEHA.3140@tk2msftngp13.phx.gbl...
> : I'm using the SMTP service that's on my web server (our mail server is a
> : different box). Wouldn't sending mail via my application be a function
of
> : my webserver, rather than of the mail server? I didn't recall making
any
> : connections to the existing mail server when it was first set up.
> :
> : SC
> :
> :
> : "Jeff Cochran" <jcochran.nospam@naplesgov.com> wrote in message
> : news:40c768b2.89118555@msnews.microsoft.com...
> : > >I get a message when I run it: Server Replied: 5.7.3 Authentication
> : > >unsuccessful
> : > >
> : > >I'm using my username & password, which I would be using to get into
> the
> : > >website.
> : > >
> : > >In the event log, here's what I get when I try to do that:
> : > >Source SMTPSVC, Event ID: 100
> : > >The server was unable to logon the windows NT account 'username' due
to
> : the
> : > >following error: Logon Failure: Unknown user name or bad password.
> The
> : > >data is the error code.
> : > >
> : > >As I said, this had been working fine up until a few months ago.
> : > >
> : > >The only changes that have been made since then is the installation
of
> a
> : new
> : > >mail server on our network (windows 2003 box), and they changed the
> : > >administrator account from administrator to another administrator
> account
> : > >for this location.
> : > >
> : > >Any help/advice appreciated.
> : >
> : > The basis of your error is a bad username/password combination for
> : > your SMTP server. The new mail server may not have the p[roper
> : > authorization for the account you're using, or may not be configured
> : > to accept mail from that system. You'll need to track this down on
> : > the mail server side to get enough details to diagnose the root cause.
> : >
> : > Jeff
> :
> :
>
>
- Next message: dreihs: "IIS lockdown tool and OWA"
- Previous message: Jeff: "best practices - domain or no domain"
- In reply to: Ken Schaefer: "Re: IIS SMTP question"
- Next in thread: Jeff Cochran: "Re: IIS SMTP question"
- Reply: Jeff Cochran: "Re: IIS SMTP question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|