gmail_on_linux_with_ssmtp
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
gmail_on_linux_with_ssmtp [2015/11/04 18:05] – juckins | gmail_on_linux_with_ssmtp [2015/11/04 18:07] – juckins | ||
---|---|---|---|
Line 90: | Line 90: | ||
</ | </ | ||
- | 2. Add Gmail creds to / | + | 2. Add your own Gmail credentials |
< | < | ||
[smtp.gmail.com]: | [smtp.gmail.com]: | ||
Line 98: | Line 98: | ||
< | < | ||
# postmap / | # postmap / | ||
- | < | + | </code> |
4. Make sure the / | 4. Make sure the / | ||
Line 105: | Line 105: | ||
</ | </ | ||
- | 5. Restart postfix: \\ | + | 5. Tighten permissions: |
+ | < | ||
+ | # chmod 600 sasl_passwd sasl_passwd.db | ||
+ | </ | ||
+ | |||
+ | 6. Restart postfix: \\ | ||
< | < | ||
# / | # / | ||
Line 114: | Line 119: | ||
</ | </ | ||
- | 6. Send a test message: \\ | + | 7. Send a test message: \\ |
< | < | ||
echo 'It works' | mailx -s 'Test message' | echo 'It works' | mailx -s 'Test message' | ||
</ | </ | ||
- | 7. Check mutt configuration for proper " | + | 8. Check mutt configuration for proper " |
gmail_on_linux_with_ssmtp.txt · Last modified: 2016/10/22 08:29 by juckins