Linux Scroll

Just another WordPress.com site

Sendmail using port 587

Enable sendmail using port 587:

$ vi /etc/mail/sendmail.mc

DAEMON_OPTIONS(`Port=submission, Name=MSA, M=Ea')dnl
define (`RELAY_MAILER_ARGS',`TCP $h 587')
define (`ESMTP_MAILER_ARGS',`TCP $h 587')

$ cd /etc/mail

$ m4 sendmail.mc > sendmail.cf
$ /etc/init.d/sendmail stop
$ /etc/init.d/sendmail start
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: