I was having trouble getting that to work but with your example I might try it again...

On 27-Jun-11 3:25 PM, Christian Roessner wrote:
I have multiple domains and need to set up each domain with its own TLS
certificate.
Can you explain this a little bit more? You could add several

w1.x1.y1.z1:smtp ... smtpd
w1.x1.y1.z1:submission ... smtpd

w2.x2.y2.z2:smtp ... smtpd
w2.x2.y2.z2:submission ... smtpd

Example from my server:
88.198.xx.yy:smtp inet n - - - - smtpd
     [...]
     -o myhostname=mail.xxxx
     [...]
     -o smtpd_tls_cert_file=/ca/mail.xxxx/newcert.pem
     -o smtpd_tls_key_file=/ca/mail.xxxx/newkey.pem
     [...]

88.198.xx.yy:submission inet n - - - - smtpd
     [...]
     -o myhostname=mail.xxxx
     [...]
     -o smtpd_tls_cert_file=/ca/mail.xxxx/newcert.pem
     -o smtpd_tls_key_file=/ca/mail.xxxx/newkey.pem
     -o smtpd_tls_security_level=encrypt
     [...]


with each having its own certificates in master.cf. Maybe I did not get
the point yet :-)

Christian

Reply via email to