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

Sendmail on ports 25 and 587
https://forum.linode.com/viewtopic.php?f=11&t=1415
Page 1 of 1

Author:  tetranz [ Fri Jan 21, 2005 2:26 pm ]
Post subject:  Sendmail on ports 25 and 587

Hi

I like to use my Linode for outgoing mail but my ISP has started blocking port 25. No problem, I thought, I knew Sendmail could use an alternative so ... in sendmail.mc I removed the front dnl from the last line of this:

Code:
dnl # The following causes sendmail to additionally listen to port 587 for
dnl # mail from MUAs that authenticate. Roaming users who can't reach their
dnl # preferred sendmail daemon due to port 25 being blocked or redirected find
dnl # this useful.
dnl #
dnl DAEMON_OPTIONS(`Port=submission, Name=MSA, M=Ea')dnl

Recompiled sendmail.cf, restarted Sendmail and all looks good when I telnet localhost 587. But ... it stops responding to port 25 which is rather unhelpful. The word 'additionally' above suggests that it should do both.

Thanks for any help.

Cheers
Ross

Author:  rdiederik [ Thu Jan 27, 2005 10:22 pm ]
Post subject:  Had the same issue

Hi,

I had the same issue. It is easy enough to fix though. Just above the lines you quoted, you will see the (commented out) lines to listen on port 25 on the loopback interface (127.0.0.1). I removed the address restriction and uncomment the line:

dnl # The following causes sendmail to only listen on the IPv4 loopback address
dnl # 127.0.0.1 and not on any other network devices. Remove the loopback
dnl # address restriction to accept email from the internet or intranet.
dnl #
dnl # DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl
DAEMON_OPTIONS(`Port=smtp, Name=MTA')dnl


Works like a charm for me


--Raimond

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