Changes

From Amahi Wiki
Jump to: navigation, search
no edit summary
<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 cd /etc/mail sed -ie "s/.*SMART_HOST.*/define(\`SMART_HOST', \`$SMTP_SERVER')dnl/" sendmail.mc m4 sendmail.mc > sendmail.cf make service sendmail restart
</div>
<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 PASSWORD=your_smtp_password cd /etc/mail echo "AuthInfo:$SMTP_SERVER \"U:$USERNAME\" \"P:$PASSWORD\" \"M:PLAIN\"" >> access makemap hash access < access make service sendmail restart
</div>
<div style="border: 1px solid #A3B1BF; padding: .5em 1em; color: #000; background-color: #E6F2FF; margin: 3px 3px 1em 3px;">
cd /etc/mail echo "define(\`RELAY_MAILER_ARGS', \`TCP \$h 465')dnl" >> sendmail.mc echo "define(\`ESMTP_MAILER_ARGS', \`TCP \$h 465')dnl" >> sendmail.mc m4 sendmail.mc > sendmail.cf make service sendmail restart
</div>