source: branches/3.3/ansible/roles/smtp/templates/main.cf.j2 @ 3696

Last change on this file since 3696 was 3696, checked in by bruno, 2 years ago

Fix small ansible issues

File size: 2.8 KB
Line 
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
6readme_directory = /usr/share/doc/postfix/README_FILES
7html_directory = /usr/share/doc/postfix/html
8sendmail_path = /usr/sbin/sendmail.postfix
9setgid_group = postdrop
10command_directory = /usr/sbin
11manpage_directory = /usr/share/man
12daemon_directory = /usr/libexec/postfix
13data_directory = /var/lib/postfix
14newaliases_path = /usr/bin/newaliases
15mailq_path = /usr/bin/mailq
16queue_directory = /var/spool/postfix
17mail_owner = postfix
18mail_spool_directory = /var/spool/mail
19
20# User configurable parameters
21# Local Configuration
22myorigin = svn.mondorescue.org
23mydomain = mondorescue.org
24#myhostname = smtp.mondorescue.org
25#local_recipient_maps =
26#local_transport = error:local mail delivery is disabled
27#
28mynetworks = 127.0.0.0/8,  {{ ip_ext}}/32, {{ ip_int }}/32
29relayhost = {{ smtp }}
30mynetworks_style = host
31mydestination = $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
32transport_maps = hash:/etc/postfix/transport
33#smtpd_recipient_restrictions = permit_mynetworks,reject_unauth_destination
34relay_recipient_maps =
35header_checks = regexp:/etc/postfix/header_checks
36#body_checks = regexp:/etc/postfix/body_checks
37alias_database = hash:/etc/postfix/aliases, hash:/var/lib/sympa/aliases
38alias_maps = hash:/etc/postfix/aliases, hash:/var/lib/sympa/aliases
39smtpd_recipient_restrictions = permit_mynetworks,permit_tls_clientcerts,reject_unauth_destination,check_relay_domains
40smtpd_relay_restrictions = permit_mynetworks,reject_unauth_destination
41
42# Common parameters
43delay_warning_time = 4h
44smtpd_banner = $myhostname ESMTP Rescue the Mondo Mail System (c)(tm)(r)
45smtp-filter_destination_concurrency_limit = 2
46lmtp-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#
59unknown_local_recipient_reject_code = 450
60message_size_limit = 0
61mailbox_size_limit = 0
62recipient_delimiter = +
63owner_request_special = no
64
65mailbox_command = /usr/bin/procmail -Y -a $DOMAIN
66syslog_name = postfix
67inet_protocols = ipv4
68inet_interfaces = all
Note: See TracBrowser for help on using the repository browser.