Linode.com Forum Forum Index Linode.com Forum
Linode Community Forums
 


Sendmail/Port 25 on host24

Click here to go to the original topic

 
       Linode.com Forum Forum Index -> Email/SMTP Related Forum
Author Message
kecalli



Joined: 09 Nov 2004
Posts: 1
Location: Baltimore, MD

Posted: Tue Nov 09, 2004 10: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
Back to top  
rjp



Joined: 15 Aug 2003
Posts: 103

Posted: Tue Nov 09, 2004 10: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.
Back to top  
xiopher



Joined: 21 Jul 2004
Posts: 25

Posted: Tue Nov 09, 2004 10:49 am    Post subject:  

I am using pop-before-smtp and it workes like a dream...
Back to top  
rhashimoto



Joined: 13 Aug 2003
Posts: 55

Posted: Tue Nov 09, 2004 2: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.
Back to top  
 
       Linode.com Forum Forum Index -> Email/SMTP Related Forum
Page 1 of 1