lol You talk to Apple people and they say Apple could NOT get it wrong.
Thanks for the tip about the BASE64 encoded string.
What Apple Mail is doing is it attempts to login with the username appended to itself: firstname.lastname@example.org
Hmail responds with "Authentication Failed" message. It tries again with the email@example.comPASSWORD
and gets authenticated.
This happens every time the user sends an email. This explains why some emails are getting out.
If they attempt to send email 7 times (my auto ban limit) within the hmailserver "minutes before reset" then they get banned.
Why would Apple Mail send username twice??
Yes, I did find this thread from last year -- I hope it is ok to post a quote from it:
Bill48105 wrote: MiloMali wrote:
Are you confirming you had that option enabled & disabling solved it or that Apple mail tries even though it's not enabled?
Macs can't login using AUTH LOGIN. You must at least provide AUTH PLAIN. If you do that, the mac client logs in according to the rfc using the format
authzid UTF8NUL authcid UTF8NUL passwd
If this is rejected (and hMailServer rejects it)
the mac tries again with
UTF8NUL authcid UTF8NUL passwd
This latter attempt is accepted by hMailServer. But all rejected attempts are added up so that the login is banned, if the autoban feature is enabled.
I see two solutions:
1. accept the complete PLAIN login. For hMailServer this means to accept the following format:
mailAddress UTF8NUL mailAddress UTF8NUL password
where the two instances of mailAddress should be equal.
2. set the invalid login counter for a certain ip to 0, if a login is successful.
You can't be serious.. I thought AUTH PLAIN was long dead. Is your Mac from the 90's or something? lol Besides that how have we not heard of this before if this was indeed the case (you can't be the one & only person using a mac with hmail. heck I am pretty sure I have mac users) and how is it they could not support AUTH LOGIN like every other email client on the planet?
As much as I like percepts' suggestion you do have the option of using a better email client even.
HERE IS MY SMTP LOG for an Apple Mail typical login: First time fail, second time login
"xx.xx.70.127" "SENT: 220 Welcome to ark.net, go ahead."
"SMTPD" 12896 14925 "2015-01-16 07:36:07.651" "x.x.70.127" "RECEIVED: EHLO [10.0.1.3]"
"SMTPD" 12896 14925 "2015-01-16 07:36:07.651" "x.x.70.127" "SENT: 250-xxxx.net[nl]250-SIZE 100480000[nl]250 AUTH LOGIN PLAIN"
"SMTPD" 2188 14925 "2015-01-16 07:36:09.177" "x.x.70.127" "RECEIVED: AUTH PLAIN username username password="
"SMTPD" 2188 14925 "2015-01-16 07:36:09.181" "x.x.70.127" "SENT: 535 Authentication failed. Restarting authentication process."
"SMTPD" 6688 14925 "2015-01-16 07:36:09.227" "x.x.70.127" "RECEIVED: AUTH PLAIN username password="
"SMTPD" 6688 14925 "2015-01-16 07:36:09.229" "x.x.70.127" "SENT: 235 authenticated."
"SMTPD" 2188 14925 "2015-01-16 07:36:09.265" "x.x.70.127" "RECEIVED: MAIL FROM:<firstname.lastname@example.org
"SMTPD" 2188 14925 "2015-01-16 07:36:09.266" "x.x.70.127" "SENT: 250 OK"
I have "Allow Plain Text Authentication" selected in the SMTP settings selected
Postby Bill48105 » 2014-04-25 17:07
From what this person says turning off AUTH PLAIN option in hmail fixes the problem & apple mail seems to use AUTH LOGIN instead:
SMTP settings DO NOT SELECT "Allow Plain Text Authentication"