update recovered sdlc git repo
This commit is contained in:
64
etc-template/postfix/main.cf
Normal file
64
etc-template/postfix/main.cf
Normal file
@@ -0,0 +1,64 @@
|
||||
# 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
|
||||
# maillog_file=/var/log/postfix.log
|
||||
# maillog_file_permissions=0644
|
||||
|
||||
# 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 = nuc0.zntrl.de
|
||||
mydestination = $myhostname, localhost.$mydomain, localhost
|
||||
alias_maps = hash:/etc/aliases
|
||||
alias_database = hash:/etc/aliases
|
||||
myorigin = $mydomain
|
||||
# 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
|
||||
lmtp_tls_loglevel = 1
|
||||
|
||||
# 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_CApath = /etc/ssl/certs
|
||||
smtpd_tls_CAfile = /usr/local/share/ca-certificates/kopano-ca.crt
|
||||
smtpd_tls_key_file = /etc/ssl/private/zntrl.key
|
||||
smtpd_tls_cert_file = /etc/ssl/zntrl.crt
|
||||
smtpd_tls_security_level = may
|
||||
smtpd_tls_loglevel = 1
|
||||
|
||||
smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination
|
||||
|
||||
# SMTP (outbound)
|
||||
smtp_tls_CApath=/etc/ssl/certs
|
||||
smtp_tls_CAfile = /usr/local/share/ca-certificates/kopano-ca.crt
|
||||
smtp_tls_key_file = /etc/ssl/private/zntrl.key
|
||||
smtp_tls_cert_file = /etc/ssl/zntrl.crt
|
||||
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
|
||||
Reference in New Issue
Block a user