Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Prodo123

macrumors 68020
Original poster
Nov 18, 2010
2,326
10
Hi,

I'm trying to host email services for multiple domains (foo.com and bar.com). They are two separate sites using two separate CA certificates specific to each domain.

Now, when I set up the mail service, the service only allows the use of one certificate to secure the service across multiple domains, resulting in a mail server certificate conflict. I want to avoid this as much as possible without using a certificate that covers both domains. Is there a way to achieve this?
 
This can be achieved by manually editing the Postfix config files to map a specific hostname and certificate to an IP. Your mail server would need 2 IPs - one per domain to do this. For IMAP/POP you’d need to make similar edits to the Dovecot config files. I did this several years ago and it worked well, but we have since transitioned to free UCC certs from LetsEncrypt.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.