| Linode Forum https://forum.linode.com/ |
|
| CentOS... Close port 25, open 465 for SSL. https://forum.linode.com/viewtopic.php?f=11&t=5574 |
Page 1 of 1 |
| Author: | sblantipodi [ Wed May 12, 2010 10:33 am ] |
| Post subject: | CentOS... Close port 25, open 465 for SSL. |
Hi, following this guide I setup my email smtp and it is quitely well configured, it isn't an open relay and is requires auth. If I do an nmap -sS localhost I can see that the only SMTP port opened is the port 25. I want to close that port and leave the port 465 opened for SMTP via SSL. How can I do that? I want to do that to make my customers life easyer when configuring thunderbird, in the way it is now, thunderbird fails on autoconfiguring SMTP. Thanks. |
|
| Author: | Stever [ Wed May 12, 2010 10:52 am ] |
| Post subject: | |
If you close port 25, you will not receive email on this server - you will only be able to send. Are you sure that is what you want? If so, and assuming you are using postfix, then you should probably just comment out the "smtp" line in master.cf. |
|
| Author: | sblantipodi [ Wed May 12, 2010 11:00 am ] |
| Post subject: | |
Stever wrote: If you close port 25, you will not receive email on this server - you will only be able to send. Are you sure that is what you want?
If so, and assuming you are using postfix, then you should probably just comment out the "smtp" line in master.cf. no, it isn't what I want and yes I'm using postfix. I want that thunderbird will be able to detect automatically the server settings, this is important. Thunderbird is able to correctly detect IMAP on port 993 using SSL but when it try to detect for SMTP it detects the SMTP on port 25 without any secure layer. Anyway if I configure thunderbird by hand I can send email using port 25 with STARTTSL, how can I make thunderbird recognize this settings automatically? I think that I need to open port 465 and enable SSL on it. Am I right? How can I open port 465 for SSL? |
|
| Author: | Stever [ Wed May 12, 2010 11:16 am ] |
| Post subject: | |
I don't know if this will help Thunderbird, but there should be a commented section in master.cf that starts with "smtps" - uncomment that section (including all the immediately following "-o" lines) and you will have smtps listening on 465. Code: #smtps inet n - n - - smtpd |
|
| Author: | sblantipodi [ Wed May 12, 2010 11:25 am ] |
| Post subject: | |
Stever wrote: I don't know if this will help Thunderbird, but there should be a commented section in master.cf that starts with "smtps" - uncomment that section (including all the immediately following "-o" lines) and you will have smtps listening on 465.
Code: #smtps inet n - n - - smtpd this opened port 465, but I'm unable to send email with that port now, also by manual configuring. |
|
| Author: | Stever [ Wed May 12, 2010 11:57 am ] |
| Post subject: | |
*shrug* - works for me. Firewall? |
|
| Author: | sblantipodi [ Wed May 12, 2010 12:02 pm ] |
| Post subject: | |
hey one moment, if I telnet localhost 25 I don't see this Code: $ telnet localhost 25 but this without the AUTH PLAIN LOGIN Code: $ telnet localhost 25 probably the problem with thunderbird depends on this, why I don't see the 250-AUTH PLAIN LOGIN 250-AUTH=PLAIN LOGIN lines?[/code] |
|
| Author: | sblantipodi [ Wed May 12, 2010 12:39 pm ] |
| Post subject: | |
Stever wrote: *shrug* - works for me.
Firewall? yes it is firewall, what is the exact rule that I should add for that port? thanks for your help. |
|
| Page 1 of 1 | All times are UTC-04:00 |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|