Alternc  latest
Alternc logiel libre pour l'hébergement
postfix-slave.cf
Go to the documentation of this file.
1 home_mailbox = Maildir/
2 smtpd_banner = $myhostname ESMTP
3 header_checks = regexp:/etc/postfix/header_checks
4 body_checks = regexp:/etc/postfix/body_checks
5 local_destination_concurrency_limit = 8
6 default_destination_concurrency_limit = 10
7 # TLS
8 smtpd_use_tls = yes
9 smtpd_tls_dcert_file = /etc/ssl/certs/alternc-postfix.pem
10 smtpd_tls_dkey_file = /etc/ssl/private/alternc-postfix.key
11 smtpd_tls_key_file = $smtpd_tls_dkey_file
12 smtpd_tls_cert_file = $smtpd_tls_dcert_file
13 smtp_tls_dcert_file = $smtpd_tls_dcert_file
14 smtp_tls_dkey_file = $smtpd_tls_dkey_file
15 smtp_tls_cert_file = $smtpd_tls_dcert_file
16 smtp_tls_key_file = $smtpd_tls_dkey_file
17 smtpd_tls_CApath = /etc/ssl/certs/
18 smtp_tls_CApath = $smtpd_tls_CApath
19 smtpd_tls_loglevel = 0
20 smtpd_tls_received_header = yes
21 smtpd_tls_session_cache_timeout = 3600s
22 smtp_use_tls = yes
23 smtpd_tls_auth_only = yes
24 smtp_use_tls = yes
25 smtp_tls_security_level = may
26 smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
27 smtpd_tls_protocols = TLSv1, TLSv1.1, TLSv1.2
28 smtp_tls_protocols = TLSv1, TLSv1.1, TLSv1.2
29 smtpd_tls_exclude_ciphers = aNULL, DES, 3DES, MD5, DES+MD5, RC4
30 smtp_tls_exclude_ciphers = aNULL, DES, 3DES, MD5, DES+MD5, RC4
31 tls_preempt_cipherlist = yes
32 smtpd_tls_mandatory_ciphers = high
33 smtp_tls_mandatory_ciphers = high
34 smtpd_tls_ciphers = high
35 smtp_tls_ciphers = high
36 # SASL
37 smtpd_sasl_auth_enable = yes
38 smtpd_sasl_local_domain = postfix
39 smtpd_sasl_security_options = noanonymous
40 enable_sasl_authentification = yes
41 broken_sasl_auth_clients = yes
42 alias_maps = hash:/etc/aliases
43 alias_database = hash:/etc/aliases
44 virtual_maps =
45 virtual_mailbox_maps =
46 virtual_mailbox_base =
47 virtual_gid_maps =
48 virtual_uid_maps =
49 default_privs = nobody
50 transport_maps=proxy:mysql:/etc/postfix/myrelay.cf
51 relay_domains=proxy:mysql:/etc/postfix/myrelay.cf
52 relay_recipients_map=proxy:mysql:/etc/postfix/myvirtual.cf
53 smtpd_recipient_restrictions = reject_unlisted_recipient, permit_mynetworks, permit_sasl_authenticated, reject_non_fqdn_recipient, reject_unauth_destination, check_policy_service inet:127.0.0.1:60000, reject_rbl_client zen.spamhaus.org
54 message_size_limit = 100000000
55 mailbox_size_limit = 0
56 enable_original_recipient = no