I'm tying to use KMail 17.04 on Archlinux, Qt 5.8.0, in a corporate network with a foward proxy in place. My system has http(s)_proxy and no_proxy configured both on system level and in systemsettings. The SMTP server is on the local network and covered by no_proxy. Sending a message results in: "Failed to transport message. smtp.internaldomain.com: the proxy type is invalid for this operation" This seems related: https://bugreports.qt.io/browse/QTBUG-58706
I have exactly the same problem, but I use newer versions of the relevant software: QT 5.9.2 kmail-17.08.2 kmailtransport-17.08.2 Why on earth does kmail try to use the proxy? Is there a way to stop kmail from doing so without affecting konqueror and the other applications that really so use the proxy server?
Confirmed with current Git master. Suspect same root cause as bug 373870.
Git commit f6b366e82644e63d4d698607c897af33fa0e72df by Jonathan Marten. Committed on 02/03/2018 at 14:23. Pushed by marten into branch 'master'. Settings for SMTP network proxy option Differential Revision: https://phabricator.kde.org/D10940 M +5 -0 src/session.cpp M +11 -3 src/session.h M +20 -1 src/sessionthread.cpp M +3 -0 src/sessionthread_p.h https://commits.kde.org/ksmtp/f6b366e82644e63d4d698607c897af33fa0e72df
Git commit b536593f5bfa96458c1a45bd5a6e5500efd00231 by Jonathan Marten. Committed on 02/03/2018 at 14:25. Pushed by marten into branch 'master'. Mail transport setting and GUI for the SMTP proxy option This is the GUI for the option, appearing on the "Advanced" tab of the resource configuration dialogue. The setting is take from the transport configuration and set for the SMTP session. Differential Revision: https://phabricator.kde.org/D10941 M +5 -0 src/kmailtransport/mailtransport.kcfg M +1 -0 src/kmailtransport/plugins/smtp/smtpjob.cpp M +7 -0 src/kmailtransport/plugins/smtp/smtpsettings.ui https://commits.kde.org/kmailtransport/b536593f5bfa96458c1a45bd5a6e5500efd00231