Automated installation of Zimbra and Lets Encrypt update!

Previously we introduced the zinstaller script that can be used for automating the installation of Zimbra. The zinstaller script will install a Zimbra 9 single server on Ubuntu 20 and will also obtain and install a 60-day trial license. It now also supports automated installation of Zimbra with Let’s Encrypt certificates and it will take care of most of the Let’s Encrypt renewal process. You only need to schedule the Zimbra restart yourself!

If you are new to Zimbra, the zinstaller script makes it easy to evaluate Zimbra on premise. If you already run Zimbra you can use zinstaller to preview the latest features. Developers can use zinstaller as an easy way to set-up a development server.

Running the script

If your mail server is reachable under mail.example.com and you want your email addresses to look like info@example.com, you can run zinstaller as follows:

wget https://raw.githubusercontent.com/Zimbra/zinstaller/master/zinstaller -O /root/zinstaller
chmod +x /root/zinstaller
/root/zinstaller -p put-a-password-here -n mail -t 'Europe/London' --letsencrypt y example.com

Having a poor connection over SSH? Try using screen:

apt -y install screen
screen
wget https://raw.githubusercontent.com/Zimbra/zinstaller/master/zinstaller -O /root/zinstaller
chmod +x /root/zinstaller
/root/zinstaller -p put-a-password-here -n mail -t 'Europe/London' --letsencrypt y example.com

Should your connection drop, you can use the ssh command like normal and resume your session using:

screen -r

Screenshots

image
Installed trial license.

imageModern UI after installation.

Further reading

https://github.com/Zimbra/zinstaller

,

4 Responses to Automated installation of Zimbra and Lets Encrypt update!

  1. karim July 28, 2022 at 8:50 AM #

    Where is the capability to add LE support for already installed 9.0 single-server Zimbra?
    Simple cron script is preferred.
    Anyone?

  2. Zorak August 24, 2022 at 4:25 AM #

    Hi,

    It seems only port 25 is opened for SMTP, 465 should be also opened for smtps.

    regards

    • Avatar photo
      Barry de Graaff August 24, 2022 at 6:54 AM #

      Thanks I have added the SMTP ports now.

Copyright © 2022 Zimbra, Inc. All rights reserved.

All information contained in this blog is intended for informational purposes only. Synacor, Inc. is not responsible or liable in any manner for the use or misuse of any technical content provided herein. No specific or implied warranty is provided in association with the information or application of the information provided herein, including, but not limited to, use, misuse or distribution of such information by any user. The user assumes any and all risk pertaining to the use or distribution in any form of any subject matter contained in this blog.

Legal Information | Privacy Policy | Do Not Sell My Personal Information | CCPA Disclosures