messages bounced with 530 SMTP authentication is required
messages bounced with 530 SMTP authentication is required
Every email I send to accounts I have set up in hmail server get bounced with the error message above. I check the hmail log, and it is sending the error message, so it is getting to the correct address. This is most likely a simple setting somewhere, but I have not been able to find it. Can anyone tell me what I did wrong/need to change.
Re: messages bounced with 530 SMTP authentication is required
You need to configure your email client to 'require authentication' to send e-mails.akerber00 wrote:530 SMTP authentication is required
Remember to use account@domain.com with the correct password.
Matt
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation
https://www.hmailserver.com/documentation
Re: messages bounced with 530 SMTP authentication is required
No, the problem is on the hmailserver side. I send the email from myaccount@gmail.com. Hmailserver returns the error message on the send that authentication is required. Its not when I try to get the mail from hmailserver, its when a foreign account sends it that the problem occurs.
This was sent back to the sending account:
The original message was received at Tue, 3 Jun 2008 08:57:10 -0400 from dbakerber.net [70.88.80.81]
----- The following addresses had permanent fatal errors ----- <andy@dbakerber.net>
(reason: 530 SMTP authentication is required.) <admin@dbakerber.net>
(reason: 530 SMTP authentication is required.)
This was in the hmailserver log:
DEBUG" 2300 "2008-06-03 22:26:06.022" "Socket::Socket(ID: 7)"
"SMTPD" 2300 7 "2008-06-03 22:26:06.022" "209.85.200.169" "SENT: 220 dbakerber.net ESMTP"
"SMTPD" 2300 7 "2008-06-03 22:26:06.100" "209.85.200.169" "RECEIVED: EHLO wf-out-1314.google.com"
"SMTPD" 2300 7 "2008-06-03 22:26:06.100" "209.85.200.169" "SENT: 250-hmailserver[nl]250-SIZE[nl]250 AUTH LOGIN"
"SMTPD" 2300 7 "2008-06-03 22:26:06.162" "209.85.200.169" "RECEIVED: MAIL FROM:<andrew.kerber@gmail.com>"
"DEBUG" 2300 "2008-06-03 22:26:06.256" "BLCheck::ClientExistsInDNSBL()"
"DEBUG" 2300 "2008-06-03 22:26:06.256" "BLCheck::_GetRevertedIP"
"DEBUG" 2300 "2008-06-03 22:26:06.256" "BLCheck::~_GetRevertedIP"
"TCPIP" 2300 "2008-06-03 22:26:06.256" "DNS - INAddr lookup: 169.200.85.209.zen.spamhaus.org"
"TCPIP" 2300 "2008-06-03 22:26:06.365" "DNSResolver - INAddr Lookup result for 169.200.85.209.zen.spamhaus.org: 0 responses"
"DEBUG" 2300 "2008-06-03 22:26:06.365" "BLCheck::~ClientExistsInDNSBL()"
"DEBUG" 2300 "2008-06-03 22:26:06.365" "BLCheck::ClientExistsInDNSBL()"
"DEBUG" 2300 "2008-06-03 22:26:06.365" "BLCheck::_GetRevertedIP"
"DEBUG" 2300 "2008-06-03 22:26:06.365" "BLCheck::~_GetRevertedIP"
"TCPIP" 2300 "2008-06-03 22:26:06.365" "DNS - INAddr lookup: 169.200.85.209.bl.spamcop.net"
"TCPIP" 2300 "2008-06-03 22:26:06.443" "DNSResolver - INAddr Lookup result for 169.200.85.209.bl.spamcop.net: 0 responses"
"DEBUG" 2300 "2008-06-03 22:26:06.443" "BLCheck::~ClientExistsInDNSBL()"
"SMTPD" 2300 7 "2008-06-03 22:26:06.443" "209.85.200.169" "SENT: 250 OK"
"SMTPD" 2300 7 "2008-06-03 22:26:06.522" "209.85.200.169" "RECEIVED: RCPT TO:<andy@dbakerber.net>"
"SMTPD" 2300 7 "2008-06-03 22:26:06.522" "209.85.200.169" "SENT: 530 SMTP authentication is required."
"DEBUG" 2300 "2008-06-03 22:26:06.522" "AWStats::LogDeliveryFailure"
"SMTPD" 2300 7 "2008-06-03 22:26:06.600" "209.85.200.169" "RECEIVED: QUIT"
"DEBUG" 2300 "2008-06-03 22:26:06.600" "PersistentMessage::DeleteFile()"
This was sent back to the sending account:
The original message was received at Tue, 3 Jun 2008 08:57:10 -0400 from dbakerber.net [70.88.80.81]
----- The following addresses had permanent fatal errors ----- <andy@dbakerber.net>
(reason: 530 SMTP authentication is required.) <admin@dbakerber.net>
(reason: 530 SMTP authentication is required.)
This was in the hmailserver log:
DEBUG" 2300 "2008-06-03 22:26:06.022" "Socket::Socket(ID: 7)"
"SMTPD" 2300 7 "2008-06-03 22:26:06.022" "209.85.200.169" "SENT: 220 dbakerber.net ESMTP"
"SMTPD" 2300 7 "2008-06-03 22:26:06.100" "209.85.200.169" "RECEIVED: EHLO wf-out-1314.google.com"
"SMTPD" 2300 7 "2008-06-03 22:26:06.100" "209.85.200.169" "SENT: 250-hmailserver[nl]250-SIZE[nl]250 AUTH LOGIN"
"SMTPD" 2300 7 "2008-06-03 22:26:06.162" "209.85.200.169" "RECEIVED: MAIL FROM:<andrew.kerber@gmail.com>"
"DEBUG" 2300 "2008-06-03 22:26:06.256" "BLCheck::ClientExistsInDNSBL()"
"DEBUG" 2300 "2008-06-03 22:26:06.256" "BLCheck::_GetRevertedIP"
"DEBUG" 2300 "2008-06-03 22:26:06.256" "BLCheck::~_GetRevertedIP"
"TCPIP" 2300 "2008-06-03 22:26:06.256" "DNS - INAddr lookup: 169.200.85.209.zen.spamhaus.org"
"TCPIP" 2300 "2008-06-03 22:26:06.365" "DNSResolver - INAddr Lookup result for 169.200.85.209.zen.spamhaus.org: 0 responses"
"DEBUG" 2300 "2008-06-03 22:26:06.365" "BLCheck::~ClientExistsInDNSBL()"
"DEBUG" 2300 "2008-06-03 22:26:06.365" "BLCheck::ClientExistsInDNSBL()"
"DEBUG" 2300 "2008-06-03 22:26:06.365" "BLCheck::_GetRevertedIP"
"DEBUG" 2300 "2008-06-03 22:26:06.365" "BLCheck::~_GetRevertedIP"
"TCPIP" 2300 "2008-06-03 22:26:06.365" "DNS - INAddr lookup: 169.200.85.209.bl.spamcop.net"
"TCPIP" 2300 "2008-06-03 22:26:06.443" "DNSResolver - INAddr Lookup result for 169.200.85.209.bl.spamcop.net: 0 responses"
"DEBUG" 2300 "2008-06-03 22:26:06.443" "BLCheck::~ClientExistsInDNSBL()"
"SMTPD" 2300 7 "2008-06-03 22:26:06.443" "209.85.200.169" "SENT: 250 OK"
"SMTPD" 2300 7 "2008-06-03 22:26:06.522" "209.85.200.169" "RECEIVED: RCPT TO:<andy@dbakerber.net>"
"SMTPD" 2300 7 "2008-06-03 22:26:06.522" "209.85.200.169" "SENT: 530 SMTP authentication is required."
"DEBUG" 2300 "2008-06-03 22:26:06.522" "AWStats::LogDeliveryFailure"
"SMTPD" 2300 7 "2008-06-03 22:26:06.600" "209.85.200.169" "RECEIVED: QUIT"
"DEBUG" 2300 "2008-06-03 22:26:06.600" "PersistentMessage::DeleteFile()"
Re: messages bounced with 530 SMTP authentication is required
Ok then untick require authentication for deliveries to local accounts in the internet ip range.
This is not on by default.
This is not on by default.
If at first you don't succeed, bomb disposal probably isn't for you! ヅ
Re: messages bounced with 530 SMTP authentication is required
Yes, that fixed it. I must have turned that on when I was debugging some firewall issues I had earlier thanks.
One more question, hopefully the last one. In the log is this conversation when checking the pop3 account. Why am I getting the '-ERR Invalid command in current state' error message? :
"DEBUG" 3180 "2008-06-04 08:12:37.459" "TransparentTransmissionBuffer::Initialize()"
"POP3D" 3180 37 "2008-06-04 08:12:37.459" "10.12.1.1" "SENT: +OK POP3"
"POP3D" 3180 37 "2008-06-04 08:12:37.459" "10.12.1.1" "RECEIVED: AUTH "
"POP3D" 3180 37 "2008-06-04 08:12:37.459" "10.12.1.1" "SENT: -ERR Invalid command in current state."
"POP3D" 3180 37 "2008-06-04 08:12:37.459" "10.12.1.1" "RECEIVED: USER andy"
"POP3D" 3180 37 "2008-06-04 08:12:37.459" "10.12.1.1" "SENT: +OK Send your password"
"POP3D" 3180 37 "2008-06-04 08:12:37.459" "10.12.1.1" "RECEIVED: PASS xxxxxxxxxx"
"POP3D" 3180 37 "2008-06-04 08:12:37.459" "10.12.1.1" "SENT: +OK Mailbox locked and ready"
"POP3D" 3180 37 "2008-06-04 08:12:37.459" "10.12.1.1" "RECEIVED: STAT"
"POP3D" 3180 37 "2008-06-04 08:12:37.459" "10.12.1.1" "SENT: +OK 0 0"
"POP3D" 3180 37 "2008-06-04 08:12:37.537" "10.12.1.1" "RECEIVED: QUIT"
"POP3D" 3180 37 "2008-06-04 08:12:37.537" "10.12.1.1" "SENT: +OK POP3 server saying goodbye..."
"TCPIP" 3180 "2008-06-04 08:12:37.553" "Disconnecting socket 1020 for session 37"
"DEBUG" 3180 "2008-06-04 08:12:37.553" "Socket::~Socket(ID: 37)"
One more question, hopefully the last one. In the log is this conversation when checking the pop3 account. Why am I getting the '-ERR Invalid command in current state' error message? :
"DEBUG" 3180 "2008-06-04 08:12:37.459" "TransparentTransmissionBuffer::Initialize()"
"POP3D" 3180 37 "2008-06-04 08:12:37.459" "10.12.1.1" "SENT: +OK POP3"
"POP3D" 3180 37 "2008-06-04 08:12:37.459" "10.12.1.1" "RECEIVED: AUTH "
"POP3D" 3180 37 "2008-06-04 08:12:37.459" "10.12.1.1" "SENT: -ERR Invalid command in current state."
"POP3D" 3180 37 "2008-06-04 08:12:37.459" "10.12.1.1" "RECEIVED: USER andy"
"POP3D" 3180 37 "2008-06-04 08:12:37.459" "10.12.1.1" "SENT: +OK Send your password"
"POP3D" 3180 37 "2008-06-04 08:12:37.459" "10.12.1.1" "RECEIVED: PASS xxxxxxxxxx"
"POP3D" 3180 37 "2008-06-04 08:12:37.459" "10.12.1.1" "SENT: +OK Mailbox locked and ready"
"POP3D" 3180 37 "2008-06-04 08:12:37.459" "10.12.1.1" "RECEIVED: STAT"
"POP3D" 3180 37 "2008-06-04 08:12:37.459" "10.12.1.1" "SENT: +OK 0 0"
"POP3D" 3180 37 "2008-06-04 08:12:37.537" "10.12.1.1" "RECEIVED: QUIT"
"POP3D" 3180 37 "2008-06-04 08:12:37.537" "10.12.1.1" "SENT: +OK POP3 server saying goodbye..."
"TCPIP" 3180 "2008-06-04 08:12:37.553" "Disconnecting socket 1020 for session 37"
"DEBUG" 3180 "2008-06-04 08:12:37.553" "Socket::~Socket(ID: 37)"
Re: messages bounced with 530 SMTP authentication is required
Your client sends the AUTH command which hMail is not expecting, your client then continues on as normal. I wouldn't worry about it if it is working correctly. There are lots of mail servers out there and some work in slightly different ways as the RFC's are open to user interpretation. As long as all servers and clients concerned handle errors properly as hMail and your client did then just ignore it.
I am assuming you are using Outlook with the auth if available crap turned on and if so that only works with exchange servers as it is a proprietary feature if my limited memory serves.
I am assuming you are using Outlook with the auth if available crap turned on and if so that only works with exchange servers as it is a proprietary feature if my limited memory serves.
If at first you don't succeed, bomb disposal probably isn't for you! ヅ
Re: messages bounced with 530 SMTP authentication is required
^DooM^ wrote:Your client sends the AUTH command which hMail is not expecting, your client then continues on as normal.
I'm having the exact same problem using POP3 from Outlook 2007. It is sending an AUTH that hMail doesn't like. hMail is replying with an ERR that causes Outlook to declare the connection a failure.
It isn't working for POP3. I can get it to work for IMAP, but some users need POP3 access instead.I wouldn't worry about it if it is working correctly.
All authorization is off, except for the "My outgoing server (SMTP) requires authorization" box.
So, the bottom line is that it looks like Outlook is set up as correctly as I can set it up, and it can't connect to hMail using POP3.
Any further insight would be appreciated.
Thanks,
Kirk
Re: messages bounced with 530 SMTP authentication is required
I doubt that's the bottom line...So, the bottom line is that it looks like Outlook is set up as correctly as I can set it up, and it can't connect to hMail using POP3.
Exactly what error message does hMailServer give you when you fail to authenticate?
What do you see in the hMailServer log if you enable logging of POP3?
Re: messages bounced with 530 SMTP authentication is required
G'day Kirk,kirk wrote:I'm having the exact same problem using POP3 from Outlook 2007. It is sending an AUTH that hMail doesn't like....All authorization is off, except for the "My outgoing server (SMTP) requires authorization" box.
The reason that Outlook sends an AUTH is because you have selected (in outlook) 'My outgoing server (SMTP) requires authorization'.
You need to either setup hmailserver to require authorisation, and leave the outlook setting 'My outgoing server (SMTP) requires authorization' selected, or
leave hMailserver to NOT require authorisation and uncheck the outlook setting 'My outgoing server (SMTP) requires authorization'.
Server and client need to be doing the same thing...
Matt
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation
https://www.hmailserver.com/documentation
Re: messages bounced with 530 SMTP authentication is require
Thanks for the tip. It solved my problem.^DooM^ wrote:Ok then untick require authentication for deliveries to local accounts in the internet ip range.
This is not on by default.
I was sending email using Comcast smtp service, and External to local email addresses under Require SMTP authentication was unchecked, but the email deliveries were still rejected. I unchecked all check boxes under Require SMTP authentication and the problem has been solved.
Hong
Re: messages bounced with 530 SMTP authentication is require
Hong,
You definitely don't want to uncheck all of the 'require authentication' boxes for internet range or your server will be abused by spammers! Make note of your current ranges & their values & click the "Default" button on the ip ranges main page to put it bake to safe settings..
Bill
You definitely don't want to uncheck all of the 'require authentication' boxes for internet range or your server will be abused by spammers! Make note of your current ranges & their values & click the "Default" button on the ip ranges main page to put it bake to safe settings..
Bill
hMailServer build LIVE on my servers: 5.4-B2014050402
#hmailserver on FreeNode IRC https://webchat.freenode.net/?channels=#hmailserver
*** ABSENT FROM hMail! Those in IRC know how to find me if urgent. ***
#hmailserver on FreeNode IRC https://webchat.freenode.net/?channels=#hmailserver
*** ABSENT FROM hMail! Those in IRC know how to find me if urgent. ***
Re: messages bounced with 530 SMTP authentication is require
Thanks, Bill, for the advice.
I was a bit hesitant but got very frustrated by the problem which suddenly occurred even though I did not change anything.
Now I leave the following two checked:
Local to external email addresses
External to external email addresses.
Could you point to a place where I can read more about how spammer can abuse the the mail server?
Hong
I was a bit hesitant but got very frustrated by the problem which suddenly occurred even though I did not change anything.
Now I leave the following two checked:
Local to external email addresses
External to external email addresses.
Could you point to a place where I can read more about how spammer can abuse the the mail server?
Hong
Re: messages bounced with 530 SMTP authentication is require
You'll need to do some research but I named off most of the big ones I could think of. There is TONS online regarding being open relay to spammers.hongz wrote:Thanks, Bill, for the advice.
I was a bit hesitant but got very frustrated by the problem which suddenly occurred even though I did not change anything.
Now I leave the following two checked:
Local to external email addresses
External to external email addresses.
Could you point to a place where I can read more about how spammer can abuse the the mail server?
Hong
Not sure if you read up the IP ranges info from hmail docs or not:
http://www.hmailserver.com/documentatio ... e_ipranges
Bill
hMailServer build LIVE on my servers: 5.4-B2014050402
#hmailserver on FreeNode IRC https://webchat.freenode.net/?channels=#hmailserver
*** ABSENT FROM hMail! Those in IRC know how to find me if urgent. ***
#hmailserver on FreeNode IRC https://webchat.freenode.net/?channels=#hmailserver
*** ABSENT FROM hMail! Those in IRC know how to find me if urgent. ***
Re: messages bounced with 530 SMTP authentication is require
Thanks, Bill.
Now I understand more. The current configuration should be fairly safe.
Hong
Now I understand more. The current configuration should be fairly safe.
Hong
Re: messages bounced with 530 SMTP authentication is required
As absurd as this may sound, check the spelling of your username@domainname - I just spent two hours trying to diagnose this problem only to discover I incorrectly spelled my domain name. 
