Browse Source

Merge pull request #34 from bcachet/feature/FixPostfixTLSSupport

Fix Postfix TLS configuration
Alex Payne 11 years ago
parent
commit
38c5820c8e
1 changed files with 3 additions and 2 deletions
  1. 3
    2
      roles/mailserver/templates/etc_postfix_main.cf.j2

+ 3
- 2
roles/mailserver/templates/etc_postfix_main.cf.j2 View File

38
 unverified_sender_reject_code = 554
38
 unverified_sender_reject_code = 554
39
  
39
  
40
 # TLS parameters
40
 # TLS parameters
41
-smtpd_tls_cert_file=/etc/ssl/certs/wildcard_ca.pem
41
+smtp_tls_CAfile = /etc/ssl/certs/wildcard_ca.pem
42
+smtpd_tls_CAfile = /etc/ssl/certs/wildcard_ca.pem
43
+smtpd_tls_cert_file=/etc/ssl/certs/wildcard_public_cert.crt
42
 smtpd_tls_key_file=/etc/ssl/private/wildcard_private.key
44
 smtpd_tls_key_file=/etc/ssl/private/wildcard_private.key
43
 smtpd_use_tls=yes
45
 smtpd_use_tls=yes
44
 #smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
46
 #smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
48
 smtp_tls_loglevel = 2
50
 smtp_tls_loglevel = 2
49
 smtpd_tls_received_header = yes
51
 smtpd_tls_received_header = yes
50
 smtp_tls_note_starttls_offer = yes
52
 smtp_tls_note_starttls_offer = yes
51
-smtp_tls_CAfile = /etc/ssl/certs/ca-certificates.crt
52
 
53
 
53
 smtpd_sasl_type = dovecot
54
 smtpd_sasl_type = dovecot
54
 smtpd_sasl_path = private/auth
55
 smtpd_sasl_path = private/auth

Loading…
Cancel
Save