Bug 370617

Summary: SMTP config dialog uses wrong default port
Product: [Applications] kmail2 Reporter: Janek Bevendorff <kde>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED INTENTIONAL    
Severity: normal CC: montel
Priority: NOR    
Version First Reported In: 5.3.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Janek Bevendorff 2016-10-13 00:32:10 UTC
The SMTP configuration dialog suggests port 25 as default. This wrong. Port 25 is supposed to be the relay port, not the submission port. The correct port is 587. Many SMTP servers also accept mail submissions via port 25, but only for compatibility reasons. Some servers even block port 25 completely.

Reproducible: Always
Comment 1 Laurent Montel 2016-10-13 04:41:41 UTC
Here it's 467 for my two smtp.
We need to define a default port and after that you can check settings.
So for me it's not a bug.
We can't know which port to using.

Regards
Comment 2 Janek Bevendorff 2016-10-13 10:08:51 UTC
467 ist for TLS, but kind of obsolete. The standard port is 587 (usually
with STARTTLS) which every server should use these days. But 25 ist
definitely wrong, so I strongly disagree that this is a WONTFIX.