gmail_as_a_relay_on_linux
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_as_a_relay_on_linux [2020/09/30 16:15] – juckins | gmail_as_a_relay_on_linux [2022/01/19 12:35] – juckins | ||
---|---|---|---|
Line 1: | Line 1: | ||
===== Using Gmail as a Relay on CentOS Linux ===== | ===== Using Gmail as a Relay on CentOS Linux ===== | ||
- | |||
- | Required packages if CentOS6 6.7: \\ | ||
- | * postfix (tested version 2: | ||
- | * ca-certificates.noarch (tested version 2015.2.4-65.0.1.el6_6) | ||
Required packages if CentOS7 7.2.1511: \\ | Required packages if CentOS7 7.2.1511: \\ | ||
Line 18: | Line 14: | ||
* As root, run ' | * As root, run ' | ||
* If trouble sending after install, may need to consult [[http:// | * If trouble sending after install, may need to consult [[http:// | ||
+ | |||
+ | CentOS 8 Notes: | ||
+ | * (Nothing special noted) | ||
Directions [[http:// | Directions [[http:// | ||
- | 1. If installed, make sure / | + | 1. If it exists, make sure / |
2. Make a backup copy of / | 2. Make a backup copy of / | ||
Line 40: | Line 39: | ||
smtp_sasl_password_maps = hash:/ | smtp_sasl_password_maps = hash:/ | ||
- | # This section | + | # NOTE: This section |
# list of CAs to trust when verifying server certificate | # list of CAs to trust when verifying server certificate | ||
# | # | ||
Line 101: | Line 100: | ||
mutt -s " | mutt -s " | ||
</ | </ | ||
- | or to send a message without using a separate file: | + | or to send a message without using a separate file but note mailx is probably not looking at .muttrc: |
< | < | ||
echo 'It works' | mailx -s 'Test message' | echo 'It works' | mailx -s 'Test message' | ||
+ | </ | ||
+ | or | ||
+ | < | ||
+ | mailx -a test.txt -s "test subject" | ||
</ | </ | ||
gmail_as_a_relay_on_linux.txt · Last modified: 2024/01/01 12:40 by juckins