Skip to content

Instantly share code, notes, and snippets.

@eldondev
Last active December 20, 2015 21:59
Show Gist options
  • Save eldondev/6202105 to your computer and use it in GitHub Desktop.
Save eldondev/6202105 to your computer and use it in GitHub Desktop.
smtpd_banner = $myhostname ESMTP $mail_name
biff = no
append_dot_mydomain = no
readme_directory = no
smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
smtpd_use_tls=yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
myhostname = cryptomail
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = cryptomail
virtual_alias_domains = pcre:/etc/postfix/mydestinations
virtual_alias_maps = pcre:/etc/postfix/virtual
relayhost =
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
local_recipient_maps =
luser_relay = cryptomail
!/user@cryptomail/ user@cryptomail
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment