1

Topic: newbie question concerning setting up multiple domains and SSL

==== Required information ====
- iRedMail version: 0.8.6
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): mysql
- Linux/BSD distribution name and version: debain 7 Wheezy
- Related log if you're reporting an issue:
====

I know this is a newbie question but it's all very complicated still so I can figure out my answer easily.

let's say I own the domain abcemail.com and I have iRedmail setup on it running fine and I have purchased and installed an SSL certificate.  Everything seems to be working ok here using the server SMTP and IMAP sever names mail.abcmail.com.

Now I added a new virutal domain to this setup called xyzemail.com.  In order for there to be no SSL wanrning to show up, I have to set the email servers to mail.abcemail.com addresses and login using the full email address for the xyzemail.com user.

What I would like to do is keep it so I can keep using the default values that usually show up like mail.xyzemail.com (which work but trigger an SSL warning).  How can I set this up? Do i need to run multiple instances of the mail server? Do I need to purchase an ssl cert for xyzemail.com as well and somehow install that into the iredmail setup?

I was originally under the impression I only needed to get one cert for just my main server but I would really like to have it setup so all my virtual domains have their own  email server names.

Thanks!

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: newbie question concerning setting up multiple domains and SSL

Reference: https://wiki.apache.org/httpd/NameBasedSSLVHosts

3 (edited by muligan8 2014-04-30 09:03:45)

Re: newbie question concerning setting up multiple domains and SSL

didn't really answer my question except that I can do it for web servers.

edit: I guess I this means any of the virtual hosts other than the primary will always have that SSL warning?

Like...does this mean I need a seperate mail server for every domain that requires an SSL cert?

4

Re: newbie question concerning setting up multiple domains and SSL

Sorry about my misunderstanding. Do you want to add SSL certificate for web service, or IMAP/POP3/SMTP services?

5

Re: newbie question concerning setting up multiple domains and SSL

IMAP/POP3/SMTP for the virutual domains I have created. I have the SSL setup for the primary domain without any issues.  All the other ones give me SSL warnings.

6

Re: newbie question concerning setting up multiple domains and SSL

*) Dovecot provides IMAP/POP3 services, so you need to configure Dovecot: http://wiki2.dovecot.org/SSL/DovecotConfiguration
*) Postfix provides SMTP service. Reference: http://blog.wpkg.org/2013/07/31/postfix … tificates/

7

Re: newbie question concerning setting up multiple domains and SSL

ok thanks!
so basically I can't do this all off of one IP address if I want to have SSL certs for all the domains.

8

Re: newbie question concerning setting up multiple domains and SSL

muligan8 wrote:

so basically I can't do this all off of one IP address if I want to have SSL certs for all the domains.

For POP3/IMAP, you can achieve this with Dovecot-2.x. But i have no idea how to achieve it with Postfix, without multiple IP addresses.

9

Re: newbie question concerning setting up multiple domains and SSL

I have the same problem: using one iRedMail installation, with 1 IP address. Can I have multiple e-mail domains using SSL on just one IP? Many messages simply get rejected and/or undelivered by other mail servers because of this. Thank you!

10

Re: newbie question concerning setting up multiple domains and SSL

if you mean webmail with https
you can use Multi-Domain (SAN) single cert for all domain.

but if you want pop.domain1.com and pop.domain2.com with all ssl.
never done that wait for someone else.