Hello,

I have two IP addresses on my server and would like to serve a different SSL 
(TLS) certificate for each one.  I think all the other configuration will not 
need to differ between the two, so I think running multiple instances of 
postfix would be overkill (?).

I want to confirm that it would be possible/viable/advisable to simply create 
two smtpd processes in master.cf:


1.2.3.4:smtp   inet  n       -       n       -       -       smtpd
        -o myhostname=mail.doaminA.com
        -o mydomain=doaminA.com
        -o smtpd_tls_cert_file=/etc/postfix/domainA.crt
        -o smtpd_tls_key_file=/etc/postfix/domainA.key

4.3.2.1:smtp inet  n       -       n       -       -       smtpd
        -o myhostname=mail.doaminB.com
        -o mydomain=doaminB.com
        -o smtpd_tls_cert_file=/etc/postfix/domainB.crt
        -o smtpd_tls_key_file=/etc/postfix/domainB.key


      

Reply via email to