I'm trying to figure out what's going on with sending mail from my phone
through my server. It had been working for a while but suddenly
stopped. I am authenticating using saslauthd for outgoing mail. I can
check the authentication with testsaslauthd and that returns OK and I
can also test with swaks (from a machine on the local network) and that
authenticates. But when I put in the same login information into the
phone (via remote network), I get the incorrect authentication data error.
I ran exim in debug mode. I see that $auth2 is populated with the user
name and $auth3 has the password.
I compared two runs in debug mode, one from the swaks test and one from
the phone test. I looked for the authentication portion and they appear
to match in the operations but the result is differen (password and user
removed but I did verify that the plain text entries are identical):