Sfoglia il codice sorgente

Merge pull request #34 from bcachet/feature/FixPostfixTLSSupport

Fix Postfix TLS configuration
Alex Payne 11 anni fa
parent
commit
38c5820c8e
1 ha cambiato i file con 3 aggiunte e 2 eliminazioni
  1. 3
    2
      roles/mailserver/templates/etc_postfix_main.cf.j2

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

@@ -38,7 +38,9 @@ unverified_recipient_reject_code = 554
38 38
 unverified_sender_reject_code = 554
39 39
  
40 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 44
 smtpd_tls_key_file=/etc/ssl/private/wildcard_private.key
43 45
 smtpd_use_tls=yes
44 46
 #smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
@@ -48,7 +50,6 @@ smtp_tls_security_level = may
48 50
 smtp_tls_loglevel = 2
49 51
 smtpd_tls_received_header = yes
50 52
 smtp_tls_note_starttls_offer = yes
51
-smtp_tls_CAfile = /etc/ssl/certs/ca-certificates.crt
52 53
 
53 54
 smtpd_sasl_type = dovecot
54 55
 smtpd_sasl_path = private/auth

Loading…
Annulla
Salva