Page 1 of 1

Multiple Domain Support

Posted: Tue Oct 16, 2018 6:43 pm
by chrisf
I've been working on Exim4 on Ubuntu 18.04 and have multiple domain support working.

I have 10 dedicated IPs, 2 subnets. Most shared domains use shared mail server, all working good. The problem came when my 4 dedicated IP domains sent mail. A bunch of sent from not matching mail server problems.

I have the HELO message working per IP and per Domain. Although the two configuration files must be done manually.

Now, tackling SSL. Since I use lets encrypt, I'm trying to hook into vestacp when it renews SSL's to move the files to the exim folder.

I need this to persist across updates.

Can someone from Vesta team please advise. Thank you!

Re: Multiple Domain Support

Posted: Wed Oct 17, 2018 1:13 am
by chrisf
Follow up.

I got it all working. The dedicated IP domains can connect to IMAP and SMTP using their lets encrypt certs.

Exim answers with

220 my.domain.tld ESMTP.

Everything working great. Alot of manual configuration. Would be really nice if Vesta team added this to panel.

I can provide all configuration, how its done, team would just need to incorporate.

Re: Multiple Domain Support

Posted: Tue Oct 23, 2018 3:52 pm
by blockmarc
Hi chrisf,

Thank you for your post. That sounds great!

Would you share the steps needed to be done with us?

Thank you and best regads

Re: Multiple Domain Support

Posted: Wed Oct 24, 2018 12:10 pm
by bruce7890
chrisf wrote:
Wed Oct 17, 2018 1:13 am
I can provide all configuration, how its done, team would just need to incorporate.
Can you share what you did in here too please? It would be great to copy it!

Re: Multiple Domain Support

Posted: Wed Oct 24, 2018 1:48 pm
by chrisf
Yes, it is a lot of manual configuration. If you have a lot of domains on their own IPs it will take some time.

I was looking at how to automate it, and I should be able to, but I'm strapped for time.

Also, you need to change v-update-host-certificate which will need to be chattr +i to stop an over write.

I'll get everything together. :-)

Re: Multiple Domain Support

Posted: Wed Oct 24, 2018 4:51 pm
by blockmarc
Hi,

Alright - Thank you in advance!!

Best regards

Re: Multiple Domain Support

Posted: Wed Oct 24, 2018 5:35 pm
by alexcy
I think it will be very beneficial for the project and the community if you create a push request on GitHub