Ask / Submit

Email account standard ports [answered]

asked 2013-12-25 17:06:59 +0300

gabriel gravatar image

When setting up email accounts, it would be nice if standard ports are predefined. E.g., IMAP4 SSL standard port is 993, SMTP SSL standard port is 465. Needless to say, the user can change that if it's different to the standard one ;-)

edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by pnuu
close date 2013-12-27 13:55:27.754370


Standard isn't necessarily standard. You broadly have 4 ports to play with in totality, depending on the configuration and whilst for IMAP there's a certain logic (143 by default, but 993 if SSL is selected) it's far from clear with SMTP. SMTP without encryption is 25. SMTP with TLS is 25. SSL is 465, the mail server may accept one or more of these.

steph ( 2013-12-26 12:45:48 +0300 )edit

steph, this may not be an RFC type of standard, but these are well known ports. SSL is the tricky one as it can be 465 or another one (can't remember), but you could settle with the most popular one. Of course anybody could set up sendmail listening to any port, but then you know what you're doing.

gabriel ( 2013-12-26 17:02:23 +0300 )edit

The point I'm trying to make is that for SMTP you can't just 'guess' the configuration of the mail server. Both 25 and 465 are valid and one is no more common than the other, arbitrarily adding one will confuse the others. IMO @otto and that ticket is the correct course.

steph ( 2013-12-27 00:37:49 +0300 )edit

@steph Predefined value of port number would change after toggle encryption. So no confusing, I think.

Zagothal ( 2014-01-15 14:01:59 +0300 )edit

2 Answers

Sort by » oldest newest most voted

answered 2013-12-27 13:45:21 +0300

mike7b4 gravatar image

Agree that it should be filled with atleast most "normal" port numbers.

Also in the case of (no)encryption types it could change "default" depending on what you select in those combos.

This is how for example kmail doing it. Ofcourse it sometime still not work but it will "just work" for many endusers instead of like now where you must know everything. Not even me as a geek always remember every port etc...

edit flag offensive delete publish link more

answered 2013-12-27 13:19:39 +0300

gabriel gravatar image

Let's mark this one answered in favour of:

Of course allowing for fully manual configuration shouldn't go away.

edit flag offensive delete publish link more

Question tools



Asked: 2013-12-25 17:06:59 +0300

Seen: 231 times

Last updated: Dec 27 '13