SSL-Zertifikat an Stelle von main.cf in master.cf?

Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

SSL-Zertifikat an Stelle von main.cf in master.cf?

Walter H.
Hallo,

kann man in der master.cf z.B. so

smtp      inet  n       -       n       -       -       smtpd
   -o smtpd_tls_cert_file=/etc/postfix/tls.crt/mx-host.crt
   -o smtpd_tls_key_file=/etc/postfix/tls.key/mx-host.key
submission inet n       -       n       -       -       smtpd
   ...
   -o smtpd_tls_cert_file=/etc/postfix/tls.crt/smtp-host.crt
   -o smtpd_tls_key_file=/etc/postfix/tls.key/smtp-host.key

unterschiedliche SSL-Zertifikate f. den Submission-Port (587) und den
SMTP-(MX-)Port (25)
setzen?

Danke,
Walter


smime.p7s (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: SSL-Zertifikat an Stelle von main.cf in master.cf?

Stefan Förster-4
* "Walter H." <[hidden email]>:
>smtp      inet  n       -       n       -       -       smtpd
>  -o smtpd_tls_cert_file=/etc/postfix/tls.crt/mx-host.crt
>  -o smtpd_tls_key_file=/etc/postfix/tls.key/mx-host.key
>submission inet n       -       n       -       -       smtpd
>  ...
>  -o smtpd_tls_cert_file=/etc/postfix/tls.crt/smtp-host.crt
>  -o smtpd_tls_key_file=/etc/postfix/tls.key/smtp-host.key

Ja, das geht. Du kannst in der master.cf sogar Variablen aus main.cf
referenzieren, also z.B.

  -o smtpd_tls_cert_file=$submission_tls_cert_file

schreiben.