Created
February 22, 2015 16:39
-
-
Save hsw0/43378d2da969fd070e01 to your computer and use it in GitHub Desktop.
OpenSMTPD relay via Mandrill
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
mandrill USERNAME:APIKEY |
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
pki mailproxy certificate "/etc/pki/tls/certs/mailproxy.pem" | |
pki mailproxy key "/etc/pki/tls/private/mailproxy.pem" | |
#listen on lo | |
#listen on 0.0.0.0 inet4 secure pki mailproxy | |
listen on :: secure pki mailproxy | |
table aliases db:/etc/opensmtpd/aliases.db | |
table secrets db:/etc/opensmtpd/secrets.db | |
accept for local alias <aliases> deliver to mbox | |
accept for any relay via secure+auth://[email protected] verify auth <secrets> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
tested on CentOS 7.0 (opensmtpd-5.4.2p1-2.el7.x86_64)