Archive for the ‘sendmail’ category

Sendmail – Configure to listen on port 587

March 6th, 2010

Getting sendmail to listen on port 587 is very simple.

Log into the server as an admin and find the following file “sendmail.mc”, it should be located at

"/etc/mail/sendmail.mc"

Once you find this file look for the 2 following lines:

DAEMON_OPTIONS(`Port=smtp, Name=MTA')dnl
#DAEMON_OPTIONS(`Port=submission, Name=MSA, M=Ea')dnl

On comment the second line so that it looks like

DAEMON_OPTIONS(`Port=smtp, Name=MTA')dnl
DAEMON_OPTIONS(`Port=submission, Name=MSA, M=Ea')dnl

Once done restart sendmail and test. It should now listen on port 587.

if you found this helpful feel free to donate to:
ZEC: t1NQp1UuqQbmnXzazbLTSreS2AbaZpRBuTM
LTC: LZyNF1qkBUA7XFz83m5xwzGgmmj1owQn9d
BTC: 1PY95KFPTEJTR7f2NnSgaB6xB9pwDJkcJz