Enable Outgoing Emails

From Amahi Wiki
Revision as of 01:55, 8 July 2010 by Gboudreau (talk | contribs) (Created page with 'Here's how to enable outgoing emails on your Amahi server. As root: <div style="border: 1px solid #A3B1BF; padding: .5em 1em; color: #000; background-…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Here's how to enable outgoing emails on your Amahi server.

As root:

 SMTP_SERVER=your_isp_smtp_server
 yum install sendmail-cf
 sed -ie "s/.*SMART_HOST.*/define(\`SMART_HOST', \`$SMTP_SERVER')dnl/" /etc/mail/sendmail.mc
 cd /etc/mail
 make
 service sendmail restart

Make sure to replace your_isp_smtp_server on the first line with the hostname or IP address of your ISP SMTP server.