Reinstalling the Add-ons Panel

I currently have a panel without mail support, which I deeply regret. But the panel has a large amount of information, about 50 domains that work, I would like to hear tips on how to reinstall the panel with mail support

This should work: v-add-mail-domain admin mydomain.tld

Also go through the other mail settings once.
Source: hestiacp/bin/v-add-mail-domain at release · hestiacp/hestiacp · GitHub

v-add-mail-domain admin my-domain.com
Error: MAIL_SYSTEM is not enabled

I think that because I did not install the package for mail, now I will not be able to use the domain as a mail. It is possible to reinstall the panel with the indication of the inclusion of mail

Wait, do a search here. There should be an option of doing that. I am using mobile browser and data, and hence I am not able to fetch search results properly. You can search meanwhile.

ok i will try to find the information, thanks

Well… here I have saw other users that have installed server without some services and if I’m not mistaken I have saw comments from @Raphael saying pretty much best option will be to backup everything, reinstall server and restore backups… I guess for this could be similar, I understand this could be frustrating, even with that amount of info…

There is something I think can be done… I have never performed this anyway, if there is an possibility to get another VPS and set it up only as mail server, and depending how you handle DNS you keep sites on current server and run email on the new one.

Hope some of this could help or at least just give a clue…

EDIT: I found the topic talking about similar request, kind old from 2020, but check it :wink:

EDIT 2: Another topic about it here

If you can wait a couple of days, I could create a script to install the mail system but I need some info.

Show the output of this command:

curl -fsSLm15 https://7j.gg/hcpver | sudo bash -s --

Also, tell me in you want to install dovecot, sieve, spamassassin and/or clamav (I don’t recommend it).

2 Likes

Software Version


OS Ubuntu 20.04.6 LTS
Hestia 1.9.4
Hestia-nginx 1.27.4
Hestia-php 8.3.17
FileGator 7.13.0
Nginx 1.27.4
Apache2 2.4.63
PHP8.3 8.3.17
Awstats 7.6
Vsftpd 3.0.5
Mariadb 11.4.5
phpMyAdmin 5.2.2

sounds good, the topic is about installing a VPS server with mail on another one) perhaps if there is no solution I will have to do it this way, because backup copies and then full restoration will kill a lot of my nerve cells)))

1 Like

Two things:

1.- You are using an unsupported OS version. Since Hestia 1.9.4, Ubuntu 20.04 is not supported anymore (at least for new installations) and that means I can’t test the script in that version. Also, other packages like PHP by Sury (the one used by Hestia) also dropped support for Ubuntu 20.04. Do you have plans to upgrade to a new Ubuntu version?

2.- You didn’t answer my other request.

I don’t need all of this (dovecot, sieve, spamassassin and/or clamav (I don’t recommend it))
I think I can update the system to the current version 22

Are your users not going to use IMAP to retrieve their emails? Just to be clear, I don’t recommend installing Clamav but I do recommend the others, at least dovecot and spamassassin. But, it’s up to you.

I’ll listen to you, claimav is not needed, I think everything else will come in handy so that mail comes to the inbox)

Wow… I’m a little worried about this hehe… If your server has snapshots, use them, just in case rollback is needed, I’m not a big fan of upgrading OS version. I prefer fresh installs.

I have just another quick alternative, just in the case to install another server, another option could be, instead of just email, you could maybe make a full installation, and later on migrate little by little, so you can avoid kill nerve cells hehe. :sweat_smile:

But wait for @sahsanu , I have trust he will figure out something for sure.

Use this script at your own risk. If you can, take an snapshot of your server.

I couldn’t test it in 20.04 because the installation can’t install php because it has no support on sury repos and I don’t want to modify the installer.

I’ve tested it on 22.04 and it worked fine.

curl -fsSLm15 https://deve.dev/scripts/i/install_exim_v2 | sudo bash -s --
2 Likes

great, I’ll make a system snapshot and try it

1 Like