Created
October 11, 2019 20:00
-
-
Save repcsi/d5dc97092ad6bf3c6d352711bc9e0948 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Install ssmtp | |
/usr/local/etc/ssmtp/ssmtp.conf: | |
root=destination@gmail.com | |
mailhub=smtp.gmail.com:587 | |
AuthUser=useracc@gmail.com | |
AuthPass=userpass | |
UseSTARTTLS=YES | |
rc.conf: | |
sendmail_enable="NO" | |
sendmail_submit_enable="NO" | |
sendmail_outbound_enable="NO" | |
sendmail_msp_queue_enable="NO" | |
for mail to work: | |
mv /usr/sbin/sendmail /usr/sbin/sendmail.org | |
ln -s /usr/local/sbin/ssmtp /usr/sbin/sendmail |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment