[3655] | 1 | # {{ ansible_managed }}
|
---|
| 2 | # This file contains only the parameters changed from a default install
|
---|
| 3 | # see /etc/postfix/main.cf.dist for a commented, fuller version of this file.
|
---|
| 4 |
|
---|
| 5 | # These are changed by postfix install script
|
---|
| 6 | readme_directory = /usr/share/doc/postfix/README_FILES
|
---|
| 7 | html_directory = /usr/share/doc/postfix/html
|
---|
| 8 | sendmail_path = /usr/sbin/sendmail.postfix
|
---|
| 9 | setgid_group = postdrop
|
---|
| 10 | command_directory = /usr/sbin
|
---|
| 11 | manpage_directory = /usr/share/man
|
---|
| 12 | daemon_directory = /usr/libexec/postfix
|
---|
| 13 | data_directory = /var/lib/postfix
|
---|
| 14 | newaliases_path = /usr/bin/newaliases
|
---|
| 15 | mailq_path = /usr/bin/mailq
|
---|
| 16 | queue_directory = /var/spool/postfix
|
---|
| 17 | mail_owner = postfix
|
---|
| 18 | mail_spool_directory = /var/spool/mail
|
---|
| 19 |
|
---|
| 20 | # User configurable parameters
|
---|
| 21 | # Local Configuration
|
---|
| 22 | myorigin = svn.mondorescue.org
|
---|
| 23 | mydomain = mondorescue.org
|
---|
| 24 | #myhostname = smtp.mondorescue.org
|
---|
| 25 | #local_recipient_maps =
|
---|
| 26 | #local_transport = error:local mail delivery is disabled
|
---|
| 27 | #
|
---|
[3696] | 28 | mynetworks = 127.0.0.0/8, {{ ip_ext}}/32, {{ ip_int }}/32
|
---|
[3656] | 29 | relayhost = {{ smtp }}
|
---|
[3655] | 30 | mynetworks_style = host
|
---|
| 31 | mydestination = $myhostname, localhost.$mydomain, localhost, svn.mondorescue.org, www.mondorescue.org, ftp.mondorescue.org, mondorescue.org, trac.mondorescue.org, svn.project-builder.org, www.project-builder.org, ftp.project-builder.org, project-builder.org, trac.project-builder.org, svn.dploy.org, www.dploy.org, ftp.dploy.org, dploy.org, trac.dploy.org
|
---|
| 32 | transport_maps = hash:/etc/postfix/transport
|
---|
| 33 | #smtpd_recipient_restrictions = permit_mynetworks,reject_unauth_destination
|
---|
| 34 | relay_recipient_maps =
|
---|
| 35 | header_checks = regexp:/etc/postfix/header_checks
|
---|
| 36 | #body_checks = regexp:/etc/postfix/body_checks
|
---|
| 37 | alias_database = hash:/etc/postfix/aliases, hash:/var/lib/sympa/aliases
|
---|
| 38 | alias_maps = hash:/etc/postfix/aliases, hash:/var/lib/sympa/aliases
|
---|
[3747] | 39 | smtpd_recipient_restrictions = permit_mynetworks,permit_tls_clientcerts,reject_unauth_destination
|
---|
[3655] | 40 | smtpd_relay_restrictions = permit_mynetworks,reject_unauth_destination
|
---|
| 41 |
|
---|
| 42 | # Common parameters
|
---|
| 43 | delay_warning_time = 4h
|
---|
| 44 | smtpd_banner = $myhostname ESMTP Rescue the Mondo Mail System (c)(tm)(r)
|
---|
| 45 | smtp-filter_destination_concurrency_limit = 2
|
---|
| 46 | lmtp-filter_destination_concurrency_limit = 2
|
---|
| 47 | #smtpd_sasl_path = smtpd
|
---|
| 48 | # enable opportunistic TLS when receiving
|
---|
| 49 | #smtpd_use_tls = yes
|
---|
| 50 | #smtpd_tls_cert_file = /etc/pki/tls/certs/postfix.pem
|
---|
| 51 | #smtpd_tls_key_file = /etc/pki/tls/private/postfix.pem
|
---|
| 52 | #smtpd_tls_CAfile = /etc/pki/tls/certs/ca-bundle.crt
|
---|
| 53 | # enable opportunistic TLS when sending
|
---|
| 54 | #smtp_tls_security_level = may
|
---|
| 55 | #smtp_tls_CAfile = /etc/pki/tls/certs/ca-bundle.crt
|
---|
| 56 | #
|
---|
| 57 | # Local Configuration
|
---|
| 58 | #
|
---|
| 59 | unknown_local_recipient_reject_code = 450
|
---|
| 60 | message_size_limit = 0
|
---|
| 61 | mailbox_size_limit = 0
|
---|
| 62 | recipient_delimiter = +
|
---|
| 63 | owner_request_special = no
|
---|
| 64 |
|
---|
| 65 | mailbox_command = /usr/bin/procmail -Y -a $DOMAIN
|
---|
| 66 | syslog_name = postfix
|
---|
| 67 | inet_protocols = ipv4
|
---|
| 68 | inet_interfaces = all
|
---|