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 revision | ||
| gmail_as_a_relay_on_linux [2022/06/08 08:59] – juckins | gmail_as_a_relay_on_linux [2025/03/20 19:55] (current) – juckins | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ===== Using Gmail as a Relay on CentOS | + | ==== Using Gmail as a Relay on RedHat |
| + | |||
| + | RockyLinux 9 Notes: | ||
| + | * (Nothing special noted) | ||
| + | |||
| + | CentOS 8 Notes: | ||
| + | * (Nothing special noted) | ||
| Required packages if CentOS7 7.2.1511: \\ | Required packages if CentOS7 7.2.1511: \\ | ||
| Line 14: | Line 20: | ||
| * 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:// | ||
| Line 27: | Line 30: | ||
| < | < | ||
| - | # sets gmail as relay | + | # Sets gmail as relay |
| relayhost = [smtp.gmail.com]: | relayhost = [smtp.gmail.com]: | ||
| - | # use tls | + | # Use tls |
| smtp_use_tls=yes | smtp_use_tls=yes | ||
| - | # use sasl when authenticating to foreign SMTP servers | + | # Use sasl when authenticating to foreign SMTP servers |
| smtp_sasl_auth_enable = yes | smtp_sasl_auth_enable = yes | ||
| - | # path to password map file | + | # Path to password map file |
| smtp_sasl_password_maps = hash:/ | smtp_sasl_password_maps = hash:/ | ||
| - | # NOTE: This section *should* be configured properly in CentOS8 by default | + | # NOTE: This section *should* be configured properly in CentOS8 |
| # list of CAs to trust when verifying server certificate | # list of CAs to trust when verifying server certificate | ||
| # | # | ||
| Line 45: | Line 48: | ||
| smtp_tls_CAfile = / | smtp_tls_CAfile = / | ||
| - | # eliminates | + | # Eliminates |
| smtp_sasl_security_options = | smtp_sasl_security_options = | ||
| - | # add debugging | + | # Modify |
| debug_peer_list=smtp.gmail.com | debug_peer_list=smtp.gmail.com | ||
| debug_peer_level=3 | debug_peer_level=3 | ||
| </ | </ | ||
| - | 4. Add your own Gmail credentials to / | + | 4. Add your own Gmail credentials to / |
| < | < | ||
| - | [smtp.gmail.com]: | + | [smtp.gmail.com]: |
| </ | </ | ||
gmail_as_a_relay_on_linux.1654693183.txt.gz · Last modified: by juckins
