Linode Forum
https://forum.linode.com/

Sendmail/Port 25 on host24
https://forum.linode.com/viewtopic.php?f=11&t=1287
Page 1 of 1

Author:  kecalli [ Tue Nov 09, 2004 11:17 am ]
Post subject:  Sendmail/Port 25 on host24

Was wondering if port 25 is disabled for some reason on my account or if this is just the default. I can connect to port 25 locally but not from anywhere else. This is a fresh-install of the O/S and there is nothing loaded in iptables/ipchains.

Thanks,

KeCalli

Author:  rjp [ Tue Nov 09, 2004 11:38 am ]
Post subject: 

Most distributions these days configure the MTA to only listen to the loopback interface (127.0.0.1) by default. If you're running Sendmail on Fedora Core, you will want to comment out ("dnl") the line in /etc/mail/sendmail.mc that says:
Code:
DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl


After editing sendmail.mc you should cd to /etc/mail and run make to rebuild sendmail.cf, and then use service sendmail restart or /etc/init.d/sendmail restart to restart sendmail.

Note: if you are going to use your system as an outbound mail server, you should enable TLS and SMTP AUTH on ports 587 and/or 465. You don't want to run an open relay.

Author:  xiopher [ Tue Nov 09, 2004 11:49 am ]
Post subject: 

I am using pop-before-smtp and it workes like a dream...

Author:  rhashimoto [ Tue Nov 09, 2004 3:44 pm ]
Post subject: 

xiopher wrote:
I am using pop-before-smtp and it workes like a dream...

Be aware that this isn't secure with vanilla POP. POP authenticates in the clear, so your username and password are easily sniffed. If that happens, not only is your mail compromised, but also your server can relay spam. It's better than an open relay but is still vulnerable.

Page 1 of 1 All times are UTC-04:00
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/