Created
January 9, 2020 17:50
-
-
Save Aketzu/9c4212468c2fe17d368d9a8bc8a250b3 to your computer and use it in GitHub Desktop.
Postfix sender specific smtp with auth
This file contains 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
sender_dependent_default_transport_maps = hash:/etc/postfix/sender_transport | |
smtp_sasl_auth_enable = yes | |
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd | |
smtp_use_tls = yes | |
smtp_sasl_security_options = noanonymous |
This file contains 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
outsmtps unix y - y - - smtp | |
-o smtp_tls_wrappermode=yes | |
-o smtp_tls_security_level=encrypt | |
outsmtp unix y - y - - smtp | |
-o smtp_tls_wrappermode=no | |
-o smtp_tls_security_level=encrypt |
This file contains 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
[sakataki.ext.b2.fi]:465 aketzu:foobar | |
[smtp.iki.fi]:465 aketzu:foobar |
This file contains 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
#TLS wrapping | |
@iki.fi outsmtps:[smtp.iki.fi]:465 | |
#STARTTLS | |
@tracon.fi outsmtp:[sakataki.ext.b2.fi]:465 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment