comparison modules/postfix/templates/main.cf.erb @ 0:956e484adc12

Initial public release of Puppet configs
author IBBoard <dev@ibboard.co.uk>
date Sat, 16 Aug 2014 19:47:38 +0000
parents
children e56e2ffeaf1d
comparison
equal deleted inserted replaced
-1:000000000000 0:956e484adc12
1 data_directory = /var/lib/postfix
2 queue_directory = /var/spool/postfix
3 command_directory = /usr/sbin
4 daemon_directory = /usr/libexec/postfix
5 mail_owner = postfix
6 myhostname = <%= @mailserver %>
7 myorigin = $mydomain
8 inet_interfaces = all
9 mydestination = $myhostname, localhost.$mydomain, localhost
10 unknown_local_recipient_reject_code = 550
11 mynetworks = 127.0.0.0/8
12 relay_domains =
13 alias_maps = hash:/etc/aliases
14 alias_database = hash:/etc/aliases
15
16
17 debug_peer_level = 2
18 debugger_command =
19 PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
20 ddd $daemon_directory/$process_name $process_id & sleep 5
21 sendmail_path = /usr/sbin/sendmail.postfix
22 newaliases_path = /usr/bin/newaliases.postfix
23 mailq_path = /usr/bin/mailq.postfix
24 setgid_group = postdrop
25 html_directory = no
26 manpage_directory = /usr/share/man
27 smtpd_sasl_type = dovecot
28 smtpd_sasl_path = private/auth
29 smtpd_sasl_auth_enable = yes
30 policy_time_limit = 3600
31 smtpd_tls_received_header = yes
32 smtpd_tls_security_level = may
33 smtpd_tls_auth_only = no
34 smtpd_tls_loglevel = 0
35 smtpd_tls_ciphers = high
36 smtpd_tls_exclude_ciphers = aNULL, MD5
37 smtpd_tls_protocols = !SSLv2
38 smtpd_tls_mandatory_ciphers = high
39 smtpd_tls_mandatory_exclude_ciphers = aNULL, MD5
40 smtpd_tls_mandatory_protocols = !SSLv2
41 smtpd_tls_key_file = /etc/pki/custom/<%= @mailserver %>.key
42 smtpd_tls_cert_file = /etc/pki/custom/<%= @mailserver %>.crt
43 smtp_tls_CApath = /etc/pki/tls/certs
44 smtp_tls_security_level = may
45 smtp_tls_ciphers = export
46 smtp_tls_exclude_ciphers = aNULL, MD5
47 smtp_tls_protocols = !SSLv2
48 smtp_tls_mandatory_ciphers = high
49 smtp_tls_mandatory_exclude_ciphers = aNULL, MD5
50 smtp_tls_mandatory_protocols = !SSLv2
51 tls_preempt_cipherlist = yes
52 smtpd_tls_eecdh_grade = strong
53 virtual_mailbox_domains = /etc/postfix/vdomains
54 virtual_mailbox_base = /var/mail/vhosts
55 virtual_mailbox_maps = hash:/etc/postfix/vmailbox
56 virtual_uid_maps = static:505
57 virtual_gid_maps = static:505
58 virtual_alias_maps = hash:/etc/postfix/valias
59 recipient_bcc_maps = hash:/etc/postfix/recipient_bcc
60 smtpd_helo_required = yes
61 smtpd_helo_restrictions = permit_mynetworks, reject_invalid_helo_hostname, check_helo_access hash:/etc/postfix/helo_whitelist, permit
62 smtpd_sender_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_non_fqdn_sender, reject_unknown_sender_domain, permit
63 smtpd_recipient_restrictions = reject_invalid_hostname, reject_non_fqdn_sender, reject_non_fqdn_recipient, reject_unknown_sender_domain, permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination, check_sender_access hash:/etc/postfix/sender_access, check_recipient_access hash:/etc/postfix/valias-blacklist, check_recipient_access regexp:/etc/postfix/valias-blacklist-regex, reject_rbl_client zen.spamhaus.org, check_policy_service unix:private/policy
64 transport_maps = hash:/etc/postfix/transport
65 message_size_limit = 15000000
66 header_checks = regexp:/etc/postfix/header_checks