Changes

From Amahi Wiki
Jump to: navigation, search
no edit summary
[[Open Terminal as root|As '''root''' user]]:
<!--<div style="border: 1px solid #A3B1BF; padding: .5em 1em; color: #000; background-color: #E6F2FF; margin: 3px 3px 1em 3px;">
SMTP_SERVER=your_isp_smtp_server
yum -y install sendmail-cf m4
make
service sendmail restart
</div>-->
{{code|{{:Enable_Outgoing_Emails/somecode}}}}
If you need to connect to the SMTP server using port 587 (TLS/STARTTLS), you'll need to do this too:
<!--<div style="border: 1px solid #A3B1BF; padding: .5em 1em; color: #000; background-color: #E6F2FF; margin: 3px 3px 1em 3px;">
cd /etc/mail
sed -ie "s/\(.*SMART_HOST.*\)/\1\ndefine(\`RELAY_MAILER_ARGS', \`TCP \$h 587')dnl\ndefine(\`ESMTP_MAILER_ARGS', \`TCP \$h 587')dnl/" sendmail.mc
make
service sendmail restart
</div>-->
{{code|{{:Enable_Outgoing_Emails/somecode2}}}}
If you need to provide a username and password to use the SMTP server, you'll need to do this too:
<!--<div style="border: 1px solid #A3B1BF; padding: .5em 1em; color: #000; background-color: #E6F2FF; margin: 3px 3px 1em 3px;">
SMTP_SERVER=your_isp_smtp_server
USERNAME=your_smtp_username
make
service sendmail restart
</div>-->
{{code|{{:Enable Outgoing Emails/somecode3}}}}
12,424

edits