Skip to content

Instantly share code, notes, and snippets.

@Stadicus
Created March 8, 2018 09:03
Show Gist options
  • Save Stadicus/d8b81fda8d0fc9fd9d32f4e8f4daf877 to your computer and use it in GitHub Desktop.
Save Stadicus/d8b81fda8d0fc9fd9d32f4e8f4daf877 to your computer and use it in GitHub Desktop.
Thundroid: insert into sendmail.mc above first "MAILER" line
define(`SMART_HOST',`[smtp.gmail.com]')dnl
define(`RELAY_MAILER_ARGS', `TCP $h 587')dnl
define(`ESMTP_MAILER_ARGS', `TCP $h 587')dnl
define(`confAUTH_OPTIONS', `A p')dnl
TRUST_AUTH_MECH(`EXTERNAL DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
define(`confAUTH_MECHANISMS', `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
FEATURE(`authinfo',`hash -o /etc/mail/authinfo/gmail-auth.db')dnl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment