Skip to content

Instantly share code, notes, and snippets.

@nomeddie
Created November 27, 2020 23:27
Show Gist options
  • Save nomeddie/a918228ac1eb4901b439a66035bfece1 to your computer and use it in GitHub Desktop.
Save nomeddie/a918228ac1eb4901b439a66035bfece1 to your computer and use it in GitHub Desktop.
opensmtpd 6.6.4p1 simple relay config for aws ses
# 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