## /etc/postfix/main.cf
##
## ::copy::
## ::maintainer::
##
## simplified config for satellite system

myorigin = /etc/mailname
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
biff = no
append_dot_mydomain = no
readme_directory = no

# TLS parameters
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

# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.

myhostname = ::postfix.myhostname::
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
mydestination = ::network.hostname::, ::network.hostname::.::network.domain::,
	$myhostname, localhost.::network.domain::, localhost
relayhost = ::postfix.relayhost::
mynetworks = 127.0.0.0/8 [\::ffff:127.0.0.0]/104 [\::1]/128
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = loopback-only
inet_protocols = ipv4

# if the relayhost needs authentication, we need to setup SASL
#
# in the file /etc/sasl_passwd you need to setup lines with
#
#   remotehost	username:password
#
# and update the hashfile with the command 
#
#   postmap sasl_passwd
#
smtp_sasl_auth_enable = yes
smtp_sasl_security_options = noanonymous
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
