Skip to content

Instantly share code, notes, and snippets.

@pingali
Created April 9, 2009 01:22
Show Gist options
  • Save pingali/92164 to your computer and use it in GitHub Desktop.
Save pingali/92164 to your computer and use it in GitHub Desktop.
# Following Paul Dowman's instructions on setting up the
# mailserver
# http://pauldowman.com/2008/02/17/smtp-mail-from-ec2-web-server-setup/
myhostname = <hostname-name>
mydomain = <domain-name>
myorigin = $mydomain
smtpd_banner = $myhostname ESMTP $mail_name
biff = no
append_dot_mydomain = yes
masquerade_domains = $mydomain
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
mydestination = localdomain, localhost, localhost.localdomain, localhost
mynetworks = 127.0.0.0/8
mailbox_size_limit = 0
recipient_delimiter = +
# SECURITY NOTE: Listening on all interfaces. Make sure your firewall is
# configured correctly
inet_interfaces = all
relayhost = [mail.authsmtp.com]
smtp_connection_cache_destinations = mail.authsmtp.com
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = static:<username>:<password>
smtp_sasl_security_options = noanonymous
default_destination_concurrency_limit = 4
soft_bounce = yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment