[kmailtransport] [Bug 392138] New: First SMTP authentication fails for almost every emails

Thomas Monjalon bugzilla_noreply at kde.org
Wed Mar 21 15:01:38 GMT 2018


https://bugs.kde.org/show_bug.cgi?id=392138

            Bug ID: 392138
           Summary: First SMTP authentication fails for almost every
                    emails
           Product: kmailtransport
           Version: 5.7.2
          Platform: Archlinux Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kdepim-bugs at kde.org
          Reporter: thomas at monjalon.net
  Target Milestone: ---

Hi,

I am using KMail 5.7.3 in ArchLinux.
Since recently (not sure about the version number), I have some delay when
sending emails.

I tried enabling logs with
kdebugsettings
export KSMTP_SESSION_LOG=/tmp/smtp.log
akonadictl restart


Most of the time, the first send attempt fails:

journalctl:
akonadi_maildispatcher_agent[21670]: org.kde.pim.mailtransport.smtpplugin:
Login started
akonadi_maildispatcher_agent[21670]: org.kde.pim.ksmtp: TLS negotiation done.
akonadi_maildispatcher_agent[21670]: qt.network.ssl:
QSslSocket::startClientEncryption: cannot start handshake on non-plain
connection
akonadi_maildispatcher_agent[21670]: qt.network.ssl:
QSslSocket::startClientEncryption: cannot start handshake on non-plain
connection
akonadi_maildispatcher_agent[21670]: org.kde.pim.ksmtp: Socket disconnected
akonadi_maildispatcher_agent[21670]: org.kde.pim.mailtransport.smtpplugin:
Removing session KSmtp::Session(0x55e5c5d67ca0) from the pool
akonadi_maildispatcher_agent[21670]: org.kde.pim.ksmtp: Socket disconnected

Session log:
C: EHLO xps.localnet
S: 220 smtp.fastmail.com ESMTP ready
S: 220 smtp.fastmail.com ESMTP ready

Notification:
E-Mail Sending Failed
Failed to transport messaged. Connection to server lost.


Then there is an automatic second attempt which works:

journalctl:
akonadi_maildispatcher_agent[21670]: org.kde.pim.mailtransport.smtpplugin:
Login started
akonadi_maildispatcher_agent[21670]: org.kde.pim.ksmtp: TLS negotiation done.
akonadi_maildispatcher_agent[21670]: qt.network.ssl:
QSslSocket::startClientEncryption: cannot start handshake on non-plain
connection
akonadi_maildispatcher_agent[21670]: org.kde.pim.ksmtp: Trying authmod "PLAIN"
akonadi_maildispatcher_agent[21670]: org.kde.pim.ksmtp: SASL_INTERACT Id 16385
akonadi_maildispatcher_agent[21670]: org.kde.pim.ksmtp: SASL_INTERACT Id 16386
akonadi_maildispatcher_agent[21670]: org.kde.pim.ksmtp:
SASL_CB_[USER|AUTHNAME]: ' "john at doe.net" '
akonadi_maildispatcher_agent[21670]: org.kde.pim.ksmtp: SASL_INTERACT Id 16388
akonadi_maildispatcher_agent[21670]: org.kde.pim.ksmtp: SASL_CB_PASS: [hidden]
akonadi_maildispatcher_agent[21670]: org.kde.pim.ksmtp: Trying authmod "PLAIN"
akonadi_maildispatcher_agent[21670]: org.kde.pim.mailtransport.smtpplugin: Send
started

Session log:
C: EHLO xps.localnet
S: 220 smtp.fastmail.com ESMTP ready
S: 250-smtp.fastmail.com
S: 250-PIPELINING
...

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list