I want to block smtp 25, pop 110 & imap 143 and only use secured smtps 465, pop3s 995 & imaps 993. Are there good reasons to let port 25,110,143 open?
I want to block smtp 25, pop 110 & imap 143 and only use secured smtps 465, pop3s 995 & imaps 993. Are there good reasons to let port 25,110,143 open?
Actually the ports you mentionned, 465, 995 and 993 are deprecated and should no more be used.
See RFC2995 section 7
Regarding port 465 for SMTPS it was even re-assigned by IANA to a different usage:
Source : http://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml?&page=9
Specifically for SMTP , a mail server should (in most case) accept uncrypted communication, since it will likely received email from server that will not propose TLS.
However it is also advise to use port 25 for server to server mail transfer and use port 587 for mail submissions from clients.
See RFC2476
Extract:
Regarding POP3, IMAP, and mail submission on port 587, you can enforce encryption on the standard ports 110, 143, 587 by configuring you server to refuse connection not encrypted with TLS. (and it is strongly advised to do so).
Since STARTTLS can be issued within plain session there is no reason to use ports other than standard 25/110/143.
If the other side can use TLS - let there be TLS. If no, then a plain unencrypted session will occur.
Ports 110 & 143: If i let open 110 (pop3s) & 143 imaps, it means that users can download mails in plain text to their clients.
Port 25: If i block the port 25, users will be unable to send mails in plain text. But there is something i have just tested now. The mail server will be unable to receive mails because mails will not be able to be received. In fact, mail servers communicate through port 25.