Created
November 27, 2020 23:27
-
-
Save nomeddie/a918228ac1eb4901b439a66035bfece1 to your computer and use it in GitHub Desktop.
opensmtpd 6.6.4p1 simple relay config for aws ses
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
# v20201127 | |
# | |
# If you edit the files, you have to run "smtpctl update table <aliases|secrets>" | |
table aliases file:/etc/aliases | |
table secrets file:/etc/secrets | |
# To accept external mail, replace with: listen on all | |
# | |
listen on localhost | |
listen on ens10f0 | |
action "local" mbox alias <aliases> | |
action "relay" relay host smtp+tls://[email protected]:587 auth <secrets> | |
match for local action "local" | |
match from any for any action "relay" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment