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 17:59] – juckins | gmail_on_linux_with_ssmtp [2015/11/04 18:12] – juckins | ||
---|---|---|---|
Line 51: | Line 51: | ||
This did not work: https:// | This did not work: https:// | ||
- | Try these links:\\ | ||
- | https:// | + | Directions |
- | http:// | + | |
- | http:// | + | |
- | + | ||
- | + | ||
- | These directions | + | |
1. Make a backup copy of / | 1. Make a backup copy of / | ||
Line 90: | Line 84: | ||
</ | </ | ||
- | 2. Add Gmail creds to / | + | 2. Add your own Gmail credentials |
< | < | ||
[smtp.gmail.com]: | [smtp.gmail.com]: | ||
</ | </ | ||
- | 3. Run sudo postmap / | + | 3. Run the following as root: \\ |
+ | < | ||
+ | # postmap / | ||
+ | </ | ||
- | Make sure the / | + | 4. Make sure the / |
+ | < | ||
+ | # chown postfix sasl_passwd* | ||
+ | </ | ||
- | sudo chown postfix | + | 5. Tighten permissions: |
+ | < | ||
+ | # chmod 600 sasl_passwd | ||
+ | </ | ||
+ | |||
+ | 6. Restart postfix: \\ | ||
+ | < | ||
+ | # / | ||
+ | </ | ||
+ | or | ||
+ | < | ||
+ | # service postfix restart | ||
+ | </ | ||
+ | |||
+ | 7. Send a test message: \\ | ||
+ | < | ||
+ | echo 'It works' | mailx -s 'Test message' | ||
+ | </ | ||
- | 4. Run /etc/init.d/postfix reload | + | 8. Check mutt configuration for proper " |
+ | Other links:\\ | ||
+ | [[http:// | ||
+ | [[http:// | ||
+ | [[https:// | ||
+ | [[https:// |
gmail_on_linux_with_ssmtp.txt · Last modified: 2016/10/22 08:29 by juckins