Created
December 30, 2019 07:51
-
-
Save alexalouit/e88cf00cfc9718f7fa68fbeccd9d497b to your computer and use it in GitHub Desktop.
proxmox: authenticate smtp relay
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ apt-get update | |
| $ apt-get install -y libsasl2-modules | |
| $ nano /etc/postfix/main.cf | |
| relayhost = [mail.server.com]:587 | |
| smtp_use_tls=yes | |
| smtp_sasl_auth_enable = yes | |
| smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd | |
| smtp_tls_CAfile = /etc/ssl/certs/ca-certificates.crt | |
| smtp_sasl_security_options = | |
| $ nano /etc/postfix/sasl_passwd | |
| [mail.server.com]:587 [email protected]:password | |
| $ /etc/init.d/postfix reload |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment