> Date: Friday, October 09, 2015 03:10:17 -0700
> From: Christophe Meessen <[email protected]>
> To: K-9 Mail <[email protected]>
>
> Oops. I just figured out that the logs is for failed attempts to
> connect to  imap. 
> 
> Checking my mail.log file I do find this matching an attempt to
> send a test  mail with the phone. Note that I could send mail a
> few days ago. 
> 
> Oct  9 11:41:10 home postfix/submission/smtpd[32248]: connect from 
> unknown[<ip>]
> Oct  9 11:41:10 home postfix/submission/smtpd[32248]: Anonymous
> TLS  connection established from unknown[<ip>]: TLSv1 with cipher 
> ECDHE-RSA-AES256-SHA (256/256 bits)
> Oct  9 11:41:15 home postfix/submission/smtpd[32248]: warning: 
> unknown[<ip>]: SASL PLAIN authentication failed: 
> Oct  9 11:41:45 home postfix/submission/smtpd[32248]: disconnect
> from  unknown[<ip>]
> Oct  9 11:41:45 home postfix/submission/smtpd[32248]: connect from 
> unknown[<ip>]
> Oct  9 11:41:46 home postfix/submission/smtpd[32248]: Anonymous
> TLS  connection established from unknown[<ip>]: TLSv1 with cipher 
> ECDHE-RSA-AES256-SHA (256/256 bits)
> Oct  9 11:41:50 home postfix/submission/smtpd[32248]: warning: 
> unknown[<ip>]: SASL PLAIN authentication failed: 
> 
> This is what I found in the auth.log.
> Oct  9 11:40:34 home auth: pam_unix(dovecot:auth): authentication
> failure;  logname= uid=0 euid=0 tty=dovecot ruser=<me> rhost=<ip>
> user=<me> Oct  9 11:41:46  auth: last message repeated 2 times
> 
> I managed to connect to my imaps server with k9mail. But sending a
> test  mail fails. I get the same message as above. 


Ports 25 and 587 are configured very differently in terms of mail
acceptance. Port 25 is (generally) unauthenticated and accepts mail
for local recipients, regardless of source. It shouldn't accept mail
for non-local recipients from other than a very tightly defined set
of IPnumbers without authentication - or it will be an open relay.
Authenticating through port 25 for non-local delivery has been
depreciated for some time (there is a way to do it with postfix, but
it's not in the default configuration).

Your log, above, for port 587 delivery attempts isn't showing
anything "special" except an authentication failure. Port 587 is
handled by postfix, and your authentication is backended by SASL.
Check that your saslauthd is running, and properly configured --
including looking in the correct place for users (/etc/passwd for
local vs. a db for virtual users). If it's using passwd and you
recently changed the pw for your host login you'll need to update
that with K-9.

You may want to look back in your logs to see if you can see where
587 authentication last worked and then check what may have changed
since then - e.g., updates/changes that may have broken something.

By the way, the dovecot authentication failures shown in your
earlier message today:

  Oct  9 05:07:53 home auth: pam_unix(dovecot:auth): authentication
  failure; logname= uid=0 euid=0 tty=dovecot ruser=<me> 
  rhost=192.168.2.6  user=<me>

would also seem to point to a password mismatch. So, the first thing
I'd likely do is update the pw on both the "sending" and "receiving"
configurations in K-9.


-- 
-- 
You received this message because you are subscribed to the K-9 Mail Users List.
To post to this group, send email to [email protected]
To unsubscribe, email [email protected]
To report an issue with K-9 Mail, visit 
http://code.google.com/p/k9mail/issues/list
For more options, visit this group at http://groups.google.com/group/k-9-mail

--- 
You received this message because you are subscribed to the Google Groups "K-9 
Mail" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to