63 lines
1.9 KiB
CFEngine3
63 lines
1.9 KiB
CFEngine3
# See /usr/share/postfix/main.cf.dist for a commented, more complete version
|
|
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
|
|
biff = no
|
|
|
|
# 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 = relay.zntrl.de
|
|
mydestination =
|
|
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
|
|
alias_maps = hash:/etc/postfix/aliases
|
|
|
|
# relay domains
|
|
relay_domains = zntrl.de baldev.de
|
|
relay_transport = smtp:[baloghs.de]:8025
|
|
# more flexible relay_transport
|
|
# transport_maps = hash:/etc/postfix/transport
|
|
|
|
# virtual domains
|
|
virtual_alias_maps = hash:/etc/postfix/virtual
|
|
|
|
# default domains
|
|
default_transport = smtp:
|
|
|
|
# SMPTD (inbound) TLS parameters
|
|
smtpd_tls_CApath = /etc/ssl/certs
|
|
smtpd_tls_CAfile = /etc/ssl/certs/balusign-signing-ca.pem
|
|
smtpd_tls_key_file=/etc/ssl/private/relay.de.key
|
|
smtpd_tls_cert_file=/etc/ssl/relay-full-chain.pem
|
|
smtpd_tls_security_level=may
|
|
smtpd_tls_loglevel = 1
|
|
|
|
smtpd_relay_restrictions = permit_mynetworks reject_unauth_destination
|
|
# smtpd_helo_restrictions = reject_unknown_helo_hostname
|
|
# smtpd_sender_restrictions = reject_unknown_sender_domain
|
|
# smtpd_data_restrictions = reject_unauth_pipelining
|
|
# smtpd_end_of_data_restrictions = check_policy_service unix:private/policy
|
|
|
|
# SMTP (outbound)
|
|
smtp_tls_CApath=/etc/ssl/certs
|
|
smtp_tls_key_file=/etc/ssl/private/relay.de.key
|
|
smtp_tls_cert_file=/etc/ssl/relay-full-chain.pem
|
|
smtp_tls_security_level=may
|
|
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
|
|
smtp_tls_loglevel = 1
|
|
|
|
mailbox_size_limit = 0
|
|
message_size_limit = 50000000
|
|
recipient_delimiter = +
|
|
inet_interfaces = all
|
|
inet_protocols = ipv4
|
|
# maillog_file = /var/log/postfix.log
|
|
|