# See /usr/share/postfix/main.cf.dist for a commented, more complete version smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu) biff = no maillog_file = /dev/stdout # appending .domain is the MUA's job. append_dot_mydomain = no # Uncomment the next line to generate "delayed mail" warnings #delay_warning_time = 4h readme_directory = no # See http://www.postfix.org/COMPATIBILITY_README.html -- default to 2 on fresh installs. compatibility_level = 2 # local domains myhostname = mta.zntrl.de mydestination = $mydomain, localhost.$mydomain, localhost alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases myorigin = zntrl.de # mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 # trusts all hosts in the kopano docker network mynetworks_style = subnet # virtual domains virtual_mailbox_domains = zntrl.de ads64.de virtual_mailbox_maps = hash:/etc/postfix/vmailbox virtual_alias_maps = hash:/etc/postfix/virtual # virtual_transport = lmtp:unix:/var/spool/kopano/dagent.sock virtual_transport = lmtp:dagent:2003 # default outbound transport for all domains, use one relay for all domains # authenticates to relay.zntrl.de for authorisation to relay mail, see also: SMTP (outbound) default_transport = smtp:[relay.zntrl.de]:465 # SMTPD (inbound) TLS parameters smtpd_tls_key_file = /etc/postfix/ssl/private/nuc0.lan.key smtpd_tls_cert_file = /etc/postfix/ssl/nuc0-full-chain.pem smtpd_tls_CApath = /etc/ssl/certs smtpd_tls_CAfile = /etc/postfix/ssl/certs/balusign-signing-ca.pem smtpd_tls_security_level=may smtpd_tls_loglevel = 1 smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination # SMTP (outbound) smtp_tls_key_file = /etc/postfix/ssl/private/nuc0.lan.key smtp_tls_cert_file = /etc/postfix/ssl/nuc0-full-chain.pem smtp_tls_CApath=/etc/ssl/certs smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache smtp_tls_wrappermode = yes smtp_tls_security_level = encrypt smtp_tls_loglevel = 1 mailbox_size_limit = 0 message_size_limit = 50000000 recipient_delimiter = + inet_interfaces = all inet_protocols = all