Noel Jones:
Probably the minimum is myhostname and the key/cert files. Something
like:
# master.cf
10.0.0.101:25 inet n - n - - smtpd
-o myhostname=old.example.com
-o smtpd_tls_key_file=/path/to/old.key
-o smtpd_tls_cert_file=/path/to/old.cert
10.0.0.102:25 inet n - n - - smtpd
-o myhostname=new.example.com
-o smtpd_tls_key_file=/path/to/new.key
-o smtpd_tls_cert_file=/path/to/new.cert
use macros!
# main.cf:
smtpd_tls_key_file = /etc/ssl/${myhostname}/key.pem
smtpd_tls_cert_file = /etc/ssl/${myhostname}/cert+intermediate.pem
# master.cf
10.0.0.101:25 inet n - n - - smtpd
-o myhostname=old.example.com
10.0.0.102:25 inet n - n - - smtpd
-o myhostname=new.example.com
Filesystem:
/etc/ssl/old.example.com/key.pem
/etc/ssl/old.example.com/cert+intermediate.pem
/etc/ssl/new.example.com/key.pem
/etc/ssl/new.example.com/cert+intermediate.pem
Andreas