On 12/13/2012 11:35 AM:
> AUTH PLAIN + [hex string]
> -ERR Authentication failed.
>
> I have no idea what that the [hex string] is.
As a general rule, avoid posting _any hex strings at all_
In this case, it's:
User name _and_ password, each preceded by one null byte,
easily converted back from "base64" to _plain text_
It was therefore not a good idea to post it -- hopefully
the OP had his ISP change his password in the ensuing weeks,
before anyone read all his mail, stole his identity,
and spammed the entire world using his account -- perhaps
that's why the account got suspended, and private earlier email
saying these same things probably could not reach him,
so this warning is now for everyone else to become aware
that AUTH commands should not be posted, as they are
just as transparent as USER and PASS commands,
for which AUTH is an alternative, when supported by servers.
Technical reference: <
http://tools.ietf.org/html/rfc4616>
That's why it's strongly recommended to use SSL
(which encrypts everything from the very outset of a connection)
with every mail server that supports it,
which will involve port 995 for POP, 993 for IMAP, or 465 for SMTP,
so that plain text login info (even when converted to "base64")
is not easily captured by anyone "listening in" on the same network.
By the same token, any internal unencrypted log made by an email program
should not be posted without removing all personal data and all hex strings.
Second best is to _require_ TLS with any other ports, e.g.
110 for POP, 143 for IMAP, and 587 or 25 or anything else for SMTP.
TLS connections begin unencrypted, but the client then issues
a StartTLS command to negotiate encryption,
before transmitting any login info.
Not all servers offer TLS capability; those that do so
"advertise" their capability in response to a CAPA command
(for incoming servers) or EHLO command (for outgoing servers).
Some clients (e.g. even older versions of Thunderbird) offer an
"if available, use TLS" option -- this could be useful for an ISP
which offers no encryption at all at the present time, so that
encryption would automatically start being used at any time
the ISP later added that capability, but Thunderbird no longer
offers this way of specifying TLS, based on a flawed philosophy
that requires you to demand encryption, just to find out whether your ISP
offers it, then to reverse yourself and dictate refraining from encryption
if they don't, so that you'll never switch back again even if they start --
to me, that's obviously inferior, but TB often "hears a different drummer"
than makes the best sense, in many ill-reasoned behaviors, including
new "whoppers" that continue to accompany recent releases.
--