SMTP server report 501 error code

Got a question or comment about PowerChurch that doesn't belong anywhere else? Why not post it here!?

Moderators: Moderators, Tech Support

Post Reply
tborgal
Posts: 863
Joined: Thu Jun 03, 2004 4:55 pm
Location: New England Bible Church, Andover, MA
Contact:

SMTP server report 501 error code

Post by tborgal »

We just moved or data to a new computer using Window 8.1. We are using PC 11.55 with the latest Maint Release. I get the following error message when I try to email directly form my profile.

A problem occurred in connecting to the SMTP server prior to sending the emails.
The SMTP serve reported an error code 501; syntactically invalid EHLO argument(s)

I get the following log report when I do a test on the connection.
3/31/2014 11:50:09 AM <-- [00000067] 220 ESMTP Mon, 31 Mar 2014 11:50:04 -0400: UCE strictly prohibited
3/31/2014 11:50:09 AM --> [00000022] EHLO Church_OfficeHP
3/31/2014 11:50:09 AM <-- [00000043] 501 Syntactically invalid EHLO argument(s)
3/31/2014 11:50:09 AM --> [00000006] QUIT
3/31/2014 11:50:09 AM <-- [00000060] 221 bosauthsmtp04.yourhostingaccount.com closing connection

The SMTP server reported an error code 501; Syntactically invalid EHLO argument(s)
I checked the setup and it is identical to the old machine and it test ok.

The default email setup seems to work ok. Any ideas?
Tom

Tracy
Program Development
Program Development
Posts: 463
Joined: Fri Sep 05, 2003 3:08 pm
Location: PowerChurch Software
Contact:

Re: SMTP server report 501 error code

Post by Tracy »

Hello Tom,

I suspect the computer name is the culprit. The underscore might be causing this problem.
Tracy

Zorak
Tech Support
Tech Support
Posts: 3017
Joined: Thu May 13, 2004 9:59 am
Location: PowerChurch Software
Contact:

Re: SMTP server report 501 error code

Post by Zorak »

Also, I just noticed on the first line of that log you quoted "UCE strictly prohibited"

UCE is Unsolicited Commercial E-mail

tborgal
Posts: 863
Joined: Thu Jun 03, 2004 4:55 pm
Location: New England Bible Church, Andover, MA
Contact:

Re: SMTP server report 501 error code

Post by tborgal »

Since I can not change the computer name and I am not sure what is meant by UCE since this is just a connection test, what is the solution?

Also why does the default address in the setup work if the underscore might be the problem?
Tom

NeilZ
Posts: 10217
Joined: Wed Oct 08, 2003 1:20 am
Location: Dexter NM
Contact:

Re: SMTP server report 501 error code

Post by NeilZ »

tborgal wrote:Since I can not change the computer name and I am not sure what is meant by UCE since this is just a connection test, what is the solution?

Also why does the default address in the setup work if the underscore might be the problem?
Tom,

Windows allows characters that Linux may not, and you can change the Computer name from the System application in the control panel.

However, are you using a secure SSL connection on that server?
Neil Zampella

Using PC+ since 1999.

tborgal
Posts: 863
Joined: Thu Jun 03, 2004 4:55 pm
Location: New England Bible Church, Andover, MA
Contact:

Re: SMTP server report 501 error code

Post by tborgal »

This was set up by our IT guy and I am not sure about the Secure SSL connection. Also if I change the computer name I will loose my network connections.

If there was an issue with the connection from the server why does the default email setup work?
Tom

NeilZ
Posts: 10217
Joined: Wed Oct 08, 2003 1:20 am
Location: Dexter NM
Contact:

Re: SMTP server report 501 error code

Post by NeilZ »

tborgal wrote:This was set up by our IT guy and I am not sure about the Secure SSL connection. Also if I change the computer name I will loose my network connections.

If there was an issue with the connection from the server why does the default email setup work?
FWIW ... when I Googled "501 Syntactically invalid EHLO argument(s)" the answer is basically the same that Zorak mentioned, the underscore is not a valid hostname character.

That said, another reason given for your error is that authentication is needed, thus you may need to see if something has changed. The quick fix is to check what your local email program (Outlook, Thunderbird, etc) has setup for the SMTP server.
Neil Zampella

Using PC+ since 1999.

Post Reply