Skip to content

Instantly share code, notes, and snippets.

@damoun
Last active December 14, 2015 18:18
Show Gist options
  • Save damoun/5128074 to your computer and use it in GitHub Desktop.
Save damoun/5128074 to your computer and use it in GitHub Desktop.
My smtpd.conf file for a secondary mx mail server with OpenSMTPD (and ubuntu 12.04).
# Ubuntu 12.04
# http://bogoflop.com/debian_install_opensmtpd.html
#
# /usr/local/etc/smtpd.conf
listen on all hostname mx2.exemple.com
table exemple { exemple.com, name.me }
accept for local deliver to mbox
accept from any for domain <exemple> relay \
backup mx2.exemple.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment