
| Current Path : /etc/postfix/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : //etc/postfix/main.cf |
# See /usr/share/postfix/main.cf.dist for a commented, more complete version
# Debian specific: Specifying a file name will cause the first
# line of that file to be used as the name. The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
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
# 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
smtpd_tls_security_level = may
smtp_tls_loglevel = 1
#smtp_tls_security_level = may was not here before, due to dkim (Robinson)
smtp_tls_security_level = may
#smtpd_tls_session_cache_timeout = 600s
#smtp_sasl_type = dovecot
#smtpd_sasl_path = private/auth
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
smtpd_helo_restrictions = permit_mynetworks, permit_sasl_authenticated
smtpd_sender_restrictions = permit_mynetworks, permit_sasl_authenticated
smtpd_sasl_auth_enable = yes
#smtpd_sasl2_auth_enable = yes
smtpd_sasl_security_options = noanonymous
#smtpd_sasl_local_domain =
smtpd_tls_auth_only=yes
broken_sasl_auth_clients = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.
# install in rainloop the domains: mail.ift-intern.de/?admin admin/12345
# smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination
myhostname = ift1.ift-informatik.de
alias_maps = texthash:/etc/aliases
alias_database = texthash:/etc/aliases
#myorigin = /etc/mailname
mydestination = localhost.stratoserver.net
# , localhost, ift-informatik.de, 12park.de, 12park.at, china-sensors.de, bebop-gmuend.de, ift-intern.de
relayhost =
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 172.20.20.0/24 10.0.0.0/8
mailbox_size_limit = 0
message_size_limit = 20971520
recipient_delimiter = +
# mailbox_command = /usr/bin/zarafa-dagent "$USER"
#virtual_mailbox_domains = ift-informatik.de,ift-pallets.eu
#virtual_mailbox_maps = hash:/etc/postfix/virtual
#virtual_alias_maps = hash:/etc/postfix/virtual
#virtual_alias_maps = regexp:/etc/postfix/virtual_gateway
#virtual_mailbox_maps = regexp:/etc/postfix/virtual_gateway
#virtual_transport = lmtp:127.0.0.1:2003
#transport = lmtp:127.0.0.1:2003
inet_interfaces = all
inet_protocols = ipv4
virtual_mailbox_domains = texthash:/etc/postfix/vdomains
virtual_uid_maps = pipemap:{regexp:/etc/postfix/vmailbox,regexp:/etc/postfix/uid}
virtual_gid_maps = pipemap:{regexp:/etc/postfix/vmailbox,regexp:/etc/postfix/gid}
virtual_mailbox_base = /var/mail
virtual_mailbox_maps = regexp:/etc/postfix/vmailbox
virtual_alias_maps = regexp:/etc/postfix/virtual
#sender_canonical_maps = hash:/etc/postfix/sender_canonical
#smtp_generic_maps = hash:/etc/postfix/sender_canonical
sender_canonical_maps = regexp:/etc/postfix/virtual
smtp_generic_maps = regexp:/etc/postfix/virtual
content_filter = smtp-amavis:[127.0.0.1]:10024
receive_override_options = no_address_mappings
milter_default_action = accept
milter_protocol = 6
# changed for dkim (Robinson)
smtpd_milters = inet:localhost:8892
non_smtpd_milters = $smtpd_milters