Bladeren bron

Fix Postfix TLS configuration

Fix Postfix configuration file to link to correct SSL certificate locations
Bertrand Cachet 11 jaren geleden
bovenliggende
commit
fbd5deb4ea
1 gewijzigde bestanden met toevoegingen van 3 en 2 verwijderingen
  1. 3
    2
      roles/mailserver/templates/etc_postfix_main.cf.j2

+ 3
- 2
roles/mailserver/templates/etc_postfix_main.cf.j2 Bestand weergeven

@@ -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

Laden…
Annuleren
Opslaan