Using Letsencrypt certificate

Problems/questions regarding the MailCleaner configuration

Moderators: FlorianB, Pascal, bourgeois, mentor

Posts: 1
Joined: Sun Apr 03, 2016 2:39 pm
How did you hear about Mailcleaner: internet search

Using Letsencrypt certificate

Postby JimD » Thu Dec 29, 2016 4:54 pm

We have Mailcleaner running on a virtual machine, and relaying emails to our mail server.
We used to buy wildcard certificates for our domains, and were using it to enable SSL in Mailcleaner too. We are now moving to Letsencrypt SSL certificates, which do not allow wildcards, and are issued for 3 months only.
I know how to manually introduce the certificate via the admin interface, but I would like to know if there is a way to set-up Mailcleaner so it automatically uses the last certificate (avoiding manual input).
Does anybody know how to use Mailcleaner and Letsencrypt ?

Posts: 17
Joined: Sat Feb 06, 2010 4:08 pm
How did you hear about Mailcleaner: work

Re: Using Letsencrypt certificate

Postby gadago » Mon Jan 02, 2017 12:18 pm

Hi Jim,

We are using Letsencrypt with MailCleaner.

Most of the standard LE clients seem to need a newer version of python to run, which MailCleaner doesn't have at the moment.

So, we used

It runs periodically on a different machine and copies the acme-challenge onto the primary mailcleaner to /opt/mailcleaner/www/user/htdocs/.well-known/acme-challenge

I then wrote a basic php script to update the certificates in the mailcleaner MySQL database for both http and mysql. Finally, restart the mailcelaner http and smtp services.

Hope this helps. PM me if you would like the php script I created.

Kind regards,
User avatar
Posts: 38
Joined: Fri Sep 22, 2006 6:57 am
Location: Milwaukee, WI, USA

Re: Using Letsencrypt certificate

Postby jeff » Fri Feb 03, 2017 5:37 pm

I'd be interested in any type of scripting that anyone is using to get letsencrypt working, even in a semi-automatic way, with Mailcleaner.
User avatar
Posts: 1
Joined: Fri May 19, 2017 8:37 am
How did you hear about Mailcleaner: googling around
Location: Switzerland

Re: Using Letsencrypt certificate

Postby cercamon » Fri May 19, 2017 10:49 am


Quite impossible to use certbot-auto.
So far I've been using which is ok, but quite hard to repeat every 3 months.
Thus every automated or semi-automated procedure to use LetsEncrypt on MC 2014 Server is very welcome.
Posts: 171
Joined: Wed Apr 01, 2015 2:27 pm
How did you hear about Mailcleaner: job

Re: Using Letsencrypt certificate

Postby FlorianB » Fri May 26, 2017 12:42 pm

After release of the new version, we have some plan to support let's encrypt certificat too. It will certainly not be ready soon but it will be done.

Return to “Configuration”

Who is online

Users browsing this forum: No registered users and 2 guests