By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,099 Members | 2,156 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,099 IT Pros & Developers. It's quick & easy.

Urgent help! smtp;501 local user must be authenticated at first.

P: 6
Hi,

I am working with a web site that uses CDONTS from a function in a Com+ component to send mail to clients after sign up etc, as well as sending clients mail to support from a web form.

A virtual default SMTP server is running in !!S (6.0)

We have moved the system to a new server (Windows 2003 Server as the previous installation) and the mail worked fine a few days. Now we cannot send any mail from the system.

SMTP is not my speciality, I am working with the databases and system design, so I desperately need help to get this working.

The settings are as follow:
The server (name "global") is set up as a member of Workgroup, not part of any domain or active directory.

In SMTP Virtual server:
Access > Authentication: Anonymous access
Access > Connection: All computers
Access > Relay: The IP address for global and also checked "Allow all computers which successfully authenticate..."

Delivery > Advanced > Fully qualified domain name: global
Delivery > Advanced > Smart Host:[IP address to our mail server]

At first all e-mail were found in the queue folder. After setting up our mail server ip (it's on another computer) as Smart Host all mail disappeared from the queue, but we get a reply on each mail;
From: postmaster@global,
Subject: Delivery Status Notification (Failure)
Body: "Delivery to the following recipients failed..."

The error in the attachment is like:
Reporting-MTA: dns;global
Received-From-MTA: dns;global
Arrival-Date: Tue, 12 Jun 2007 11:37:26 +0200

Final-Recipient: rfc822;lage@hotmail.com
Action: failed
Status: 5.5.0
Diagnostic-Code: smtp;501 local user must be authenticated at first.

I am grateful for any help. This is an online running web site... I have searched on Google and Microsoft, but cannot find relevant information about this error message.

/Lage
Jun 13 '07 #1
Share this Question
Share on Google+
4 Replies


kenobewan
Expert 2.5K+
P: 4,871
What language is the application written in?
Jun 14 '07 #2

Purple
Expert 100+
P: 404
Hi lage and welcome to TSDN !

some other questions:

Given you are running IIS6 is it safe to assume a windows infrastructure elsewhere ?
Is the mailserver microsoft exchange ?
Is your webserver on the domain and is the account it is running under a domain or local account ?

My initial guess is the account your webserver is running under does not have permission to relay through your exchange server..

Take a look and let us know

Regards Purple
Jun 14 '07 #3

P: 6
What language is the application written in?
The application is written in VB.
Jun 14 '07 #4

P: 6
Hi lage and welcome to TSDN !

some other questions:

Given you are running IIS6 is it safe to assume a windows infrastructure elsewhere ?
Is the mailserver microsoft exchange ?
Is your webserver on the domain and is the account it is running under a domain or local account ?

My initial guess is the account your webserver is running under does not have permission to relay through your exchange server..

Take a look and let us know

Regards Purple
Hi Purple and thank you for your reply.
The mail server is emailarchitect.
The web server is on a "stand alone" computer, not running under a domain. The name of the computer is global and the account is the local default Internet Guest account on global.

We tried to put the web server in the domain (as global.domain.com) in which the mail server is running (mailserver.domain.com), but then we couldn't log on to the SSL part of the web site where anonymous access not was allowed. It was not possible to access the site, neither with a Active Directory user nor a local user on global.

Maybe the problem is that the web server not have a Fully Qualified Domain Name when it's just named "global". Even though IIS accept it as a FQDN.

On the other hand are the "Delivery Status notification mail" sent from postmaster@global without problems. When I check the source I can see that the mail is delivered from global via the mailserver.

Our idea now is to set up the web server as a domain controller with a real registered domain name, active directory and dns.

Maybe this can help? Any suggestions?

Thanks

/Lage
Jun 15 '07 #5

Post your reply

Sign in to post your reply or Sign up for a free account.