[Bug 162175] Kmail does not recognise/use the port number set in the smtp account settings dialog
https://bugs.kde.org/show_bug.cgi?id=162175 Thomas McGuire changed: What|Removed |Added CC||kdepim-bugs@kde.org Component|sending |mailtransport Version|SVN trunk (KDE 4) |4.1 Product|kmail |kdepimlibs -- Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. You are the assignee for the bug. ___ Kdepim-bugs mailing list Kdepim-bugs@kde.org https://mail.kde.org/mailman/listinfo/kdepim-bugs
[Bug 162175] Kmail does not recognise/use the port number set in the smtp account settings dialog
--- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. http://bugs.kde.org/show_bug.cgi?id=162175 --- Additional Comments From mstarkey wcsgabon org 2008-07-14 14:33 --- Created an attachment (id=26110) --> (http://bugs.kde.org/attachment.cgi?id=26110&action=view) Wireshark capture file (packet data) showing that kmail does not use the port number set in the configuration dialog. ___ Kdepim-bugs mailing list Kdepim-bugs@kde.org https://mail.kde.org/mailman/listinfo/kdepim-bugs
[Bug 162175] Kmail does not recognise/use the port number set in the smtp account settings dialog
--- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. http://bugs.kde.org/show_bug.cgi?id=162175 --- Additional Comments From mstarkey wcsgabon org 2008-07-14 14:32 --- To try and work out what is going on here, I fired up wireshark. With the host set to 'localhost' and the portnumber set to 1025 in the kmail accounts - smtp dialog, I click on 'check what the server supports'. The attached wireshark packet file shows the traffic generated. I'm not an expert but it looks like kmail is not using the port number that is set in the options dialog, but simply defaulting to the standard port 25. If I run the uuplus server on standard port 25 (requires running as root, which I don't want to do as a matter of course) then kmail connects without a problem. So it is clearly kmail not using the correct port number that creates the problem. I did this test with revision 830974. Thanks M. ___ Kdepim-bugs mailing list Kdepim-bugs@kde.org https://mail.kde.org/mailman/listinfo/kdepim-bugs
[Bug 162175] Kmail does not recognise/use the port number set in the smtp account settings dialog
--- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. http://bugs.kde.org/show_bug.cgi?id=162175 mstarkey wcsgabon org changed: What|Removed |Added Severity|normal |major Summary|Unable to send with uuplus |Kmail does not recognise/use |SMTP on localhost port 1025 |the port number set in the ||smtp account settings dialog --- Additional Comments From mstarkey wcsgabon org 2008-07-14 14:32 --- I'm no C++ expert, but from a bit of grepping in src/kdepim/kmail , it looks like the POP seetings dialog has code like this: mServerTest->setPort( encryptionType, mPop.ui.portEdit->value() ) where it is setting the port based on the value in the UI. On the other hand, the smtp equivalent (eg in AccountWizard::smtpCapabilities) just has : mTransport->setPort( useSSL ? 465 : 25 ); ie the port number is hardcoded to 465 or 25 depending on whether SSL is requested or not and it doesn't refer to the port number selected manually in the text box in the UI at all. Am I on the right track here? Looks like there is similar stuff for Imap (eg: account->setPort( useSSL ? 993 : 143 );) so anyone trying to use a non-standard port is out of luck. cheers M. ___ Kdepim-bugs mailing list Kdepim-bugs@kde.org https://mail.kde.org/mailman/listinfo/kdepim-bugs