After apt update, mail cannot connect to server. Roundcube not accepting username and password

Hello.

I promise I have scoured for help before signing up to ask for assistance.

I have been using HestiaCP for over 2 years now, no issue. A couple hours ago after an apt update, all mail accounts for all my clients stopped working and roundcube doesnt accept username and password.

I am so frustrated as I dont know where to even look. Dovecote is running fine.

Hi @crazywazza

Show the output of this command to view what packages have been installed, upgraded, etc.:

awk '/^Start-Date: 2025-05-29/ {p=1} p; /^End-Date: 2025-05-29/ {p=0; print ""}' /var/log/apt/history.log

Did the installer ask some questions like to override the current conf with a new conf file?

2 Likes

Thank you for your time.

It said that the files were newer and asked if it could write over them.

This is the output

ubuntu@panel:~$ awk '/^Start-Date: 2025-05-29/ {p=1} p; /^End-Date: 2025-05-29/ {p=0; print ""}' /var/log/apt/history.log
Start-Date: 2025-05-29  06:41:30
Commandline: /usr/bin/unattended-upgrade
Upgrade: libc6:arm64 (2.35-0ubuntu3.9, 2.35-0ubuntu3.10), libc-dev-bin:arm64 (2.35-0ubuntu3.9, 2.35-0ubuntu3.10), libc6-dev:arm64 (2.35-0ubuntu3.9, 2.35-0ubuntu3.10)
End-Date: 2025-05-29  06:41:32

Start-Date: 2025-05-29  06:41:41
Commandline: /usr/bin/unattended-upgrade
Upgrade: libgssapi-krb5-2:arm64 (1.19.2-2ubuntu0.6, 1.19.2-2ubuntu0.7), libkrb5support0:arm64 (1.19.2-2ubuntu0.6, 1.19.2-2ubuntu0.7), libkrb5-3:arm64 (1.19.2-2ubuntu0.6, 1.19.2-2ubuntu0.7)
End-Date: 2025-05-29  06:41:41

Start-Date: 2025-05-29  06:41:49
Commandline: /usr/bin/unattended-upgrade
Upgrade: locales:arm64 (2.35-0ubuntu3.9, 2.35-0ubuntu3.10)
End-Date: 2025-05-29  06:41:52

Start-Date: 2025-05-29  06:42:00
Commandline: /usr/bin/unattended-upgrade
Upgrade: libc-bin:arm64 (2.35-0ubuntu3.9, 2.35-0ubuntu3.10)
End-Date: 2025-05-29  06:42:01

Start-Date: 2025-05-29  06:42:08
Commandline: /usr/bin/unattended-upgrade
Upgrade: python3-pkg-resources:arm64 (59.6.0-1.2ubuntu0.22.04.2, 59.6.0-1.2ubuntu0.22.04.3), python3-setuptools:arm64 (59.6.0-1.2ubuntu0.22.04.2, 59.6.0-1.2ubuntu0.22.04.3)
End-Date: 2025-05-29  06:42:09

Start-Date: 2025-05-29  06:42:17
Commandline: /usr/bin/unattended-upgrade
Upgrade: libk5crypto3:arm64 (1.19.2-2ubuntu0.6, 1.19.2-2ubuntu0.7)
End-Date: 2025-05-29  06:42:17

Start-Date: 2025-05-29  06:42:25
Commandline: /usr/bin/unattended-upgrade
Upgrade: tzdata:arm64 (2025b-0ubuntu0.22.04, 2025b-0ubuntu0.22.04.1)
End-Date: 2025-05-29  06:42:26

Start-Date: 2025-05-29  06:42:34
Commandline: /usr/bin/unattended-upgrade
Upgrade: libc-devtools:arm64 (2.35-0ubuntu3.9, 2.35-0ubuntu3.10)
End-Date: 2025-05-29  06:42:34

Start-Date: 2025-05-29  06:59:27
Commandline: apt upgrade
Requested-By: ubuntu (1001)
Install: linux-oracle-6.8-headers-6.8.0-1026:arm64 (6.8.0-1026.27~22.04.1, automatic), linux-tools-6.8.0-1026-oracle:arm64 (6.8.0-1026.27~22.04.1, automatic), linux-oracle-6.8-tools-6.8.0-1026:arm64 (6.8.0-1026.27~22.04.1, automatic), linux-image-6.8.0-1026-oracle:arm64 (6.8.0-1026.27~22.04.1, automatic), linux-headers-6.8.0-1026-oracle:arm64 (6.8.0-1026.27~22.04.1, automatic), linux-modules-6.8.0-1026-oracle:arm64 (6.8.0-1026.27~22.04.1, automatic)
Upgrade: php8.4-ldap:arm64 (8.4.6-1+ubuntu22.04.1+deb.sury.org+1, 8.4.7-1+ubuntu22.04.1+deb.sury.org+1), linux-headers-oracle:arm64 (6.8.0-1025.26~22.04.1, 6.8.0-1026.27~22.04.1), php8.3-xml:arm64 (8.3.20-1+ubuntu22.04.1+deb.sury.org+1, 8.3.21-1+ubuntu22.04.1+deb.sury.org+1), php7.4-soap:arm64 (1:7.4.33-18+ubuntu22.04.1+deb.sury.org+1, 1:7.4.33-20+ubuntu22.04.1+deb.sury.org+1), php7.4-mbstring:arm64 (1:7.4.33-18+ubuntu22.04.1+deb.sury.org+1, 1:7.4.33-20+ubuntu22.04.1+deb.sury.org+1), php8.3-zip:arm64 (8.3.20-1+ubuntu22.04.1+deb.sury.org+1, 8.3.21-1+ubuntu22.04.1+deb.sury.org+1), php8.4-bcmath:arm64 (8.4.6-1+ubuntu22.04.1+deb.sury.org+1, 8.4.7-1+ubuntu22.04.1+deb.sury.org+1), udev:arm64 (249.11-0ubuntu3.12, 249.11-0ubuntu3.15), php8.4-mbstring:arm64 (8.4.6-1+ubuntu22.04.1+deb.sury.org+1, 8.4.7-1+ubuntu22.04.1+deb.sury.org+1), php8.1-pspell:arm64 (8.1.31-1+ubuntu22.04.1+deb.sury.org+1, 8.1.32-1+ubuntu22.04.1+deb.sury.org+1), php8.4-xml:arm64 (8.4.6-1+ubuntu22.04.1+deb.sury.org+1, 8.4.7-1+ubuntu22.04.1+deb.sury.org+1), php8.4-zip:arm64 (8.4.6-1+ubuntu22.04.1+deb.sury.org+1, 8.4.7-1+ubuntu22.04.1+deb.sury.org+1), php8.1-bcmath:arm64 (8.1.31-1+ubuntu22.04.1+deb.sury.org+1, 8.1.32-1+ubuntu22.04.1+deb.sury.org+1), mariadb-server:arm64 (1:10.11.11+maria~ubu2204, 1:10.11.13+maria~ubu2204), php7.4-readline:arm64 (1:7.4.33-18+ubuntu22.04.1+deb.sury.org+1, 1:7.4.33-20+ubuntu22.04.1+deb.sury.org+1), php7.4-gd:arm64 (1:7.4.33-18+ubuntu22.04.1+deb.sury.org+1, 1:7.4.33-20+ubuntu22.04.1+deb.sury.org+1), php8.4-readline:arm64 (8.4.6-1+ubuntu22.04.1+deb.sury.org+1, 8.4.7-1+ubuntu22.04.1+deb.sury.org+1), php7.4-curl:arm64 (1:7.4.33-18+ubuntu22.04.1+deb.sury.org+1, 1:7.4.33-20+ubuntu22.04.1+deb.sury.org+1), systemd-timesyncd:arm64 (249.11-0ubuntu3.12, 249.11-0ubuntu3.15), mariadb-client-core:arm64 (1:10.11.11+maria~ubu2204, 1:10.11.13+maria~ubu2204), libldap-common:arm64 (2.5.18+dfsg-0ubuntu0.22.04.3, 2.5.19+dfsg-0ubuntu0.22.04.1), php8.4-gd:arm64 (8.4.6-1+ubuntu22.04.1+deb.sury.org+1, 8.4.7-1+ubuntu22.04.1+deb.sury.org+1), libpam-systemd:arm64 (249.11-0ubuntu3.12, 249.11-0ubuntu3.15), php7.4-imap:arm64 (1:7.4.33-18+ubuntu22.04.1+deb.sury.org+1, 1:7.4.33-20+ubuntu22.04.1+deb.sury.org+1), php7.4-bcmath:arm64 (1:7.4.33-18+ubuntu22.04.1+deb.sury.org+1, 1:7.4.33-20+ubuntu22.04.1+deb.sury.org+1), php7.4-intl:arm64 (1:7.4.33-18+ubuntu22.04.1+deb.sury.org+1, 1:7.4.33-20+ubuntu22.04.1+deb.sury.org+1), php8.3-mbstring:arm64 (8.3.20-1+ubuntu22.04.1+deb.sury.org+1, 8.3.21-1+ubuntu22.04.1+deb.sury.org+1), php8.1-soap:arm64 (8.1.31-1+ubuntu22.04.1+deb.sury.org+1, 8.1.32-1+ubuntu22.04.1+deb.sury.org+1), php8.3-common:arm64 (8.3.20-1+ubuntu22.04.1+deb.sury.org+1, 8.3.21-1+ubuntu22.04.1+deb.sury.org+1), galera-4:arm64 (26.4.21-ubu2204, 26.4.22-ubu2204), php7.4-opcache:arm64 (1:7.4.33-18+ubuntu22.04.1+deb.sury.org+1, 1:7.4.33-20+ubuntu22.04.1+deb.sury.org+1), mysql-common:arm64 (1:10.11.11+maria~ubu2204, 1:10.11.13+maria~ubu2204), php7.4-imagick:arm64 (3.7.0-9+ubuntu22.04.1+deb.sury.org+1, 3.8.0-1+ubuntu22.04.1+deb.sury.org+1), php8.4-mysql:arm64 (8.4.6-1+ubuntu22.04.1+deb.sury.org+1, 8.4.7-1+ubuntu22.04.1+deb.sury.org+1), php-common:arm64 (2:95+ubuntu22.04.1+deb.sury.org+2, 2:96+ubuntu22.04.1+deb.sury.org+1), php8.1-opcache:arm64 (8.1.31-1+ubuntu22.04.1+deb.sury.org+1, 8.1.32-1+ubuntu22.04.1+deb.sury.org+1), php8.3-readline:arm64 (8.3.20-1+ubuntu22.04.1+deb.sury.org+1, 8.3.21-1+ubuntu22.04.1+deb.sury.org+1), php8.1-imagick:arm64 (3.7.0-9+ubuntu22.04.1+deb.sury.org+1, 3.8.0-1+ubuntu22.04.1+deb.sury.org+1), php8.1-mysql:arm64 (8.1.31-1+ubuntu22.04.1+deb.sury.org+1, 8.1.32-1+ubuntu22.04.1+deb.sury.org+1), php8.3-soap:arm64 (8.3.20-1+ubuntu22.04.1+deb.sury.org+1, 8.3.21-1+ubuntu22.04.1+deb.sury.org+1), php8.3-opcache:arm64 (8.3.20-1+ubuntu22.04.1+deb.sury.org+1, 8.3.21-1+ubuntu22.04.1+deb.sury.org+1), php8.1-curl:arm64 (8.1.31-1+ubuntu22.04.1+deb.sury.org+1, 8.1.32-1+ubuntu22.04.1+deb.sury.org+1), libsystemd0:arm64 (249.11-0ubuntu3.12, 249.11-0ubuntu3.15), pci.ids:arm64 (0.0~2022.01.22-1, 0.0~2022.01.22-1ubuntu0.1), mariadb-server-core:arm64 (1:10.11.11+maria~ubu2204, 1:10.11.13+maria~ubu2204), libnss-systemd:arm64 (249.11-0ubuntu3.12, 249.11-0ubuntu3.15), php8.4-soap:arm64 (8.4.6-1+ubuntu22.04.1+deb.sury.org+1, 8.4.7-1+ubuntu22.04.1+deb.sury.org+1), php7.4-bz2:arm64 (1:7.4.33-18+ubuntu22.04.1+deb.sury.org+1, 1:7.4.33-20+ubuntu22.04.1+deb.sury.org+1), php7.4-cli:arm64 (1:7.4.33-18+ubuntu22.04.1+deb.sury.org+1, 1:7.4.33-20+ubuntu22.04.1+deb.sury.org+1), php7.4-mysql:arm64 (1:7.4.33-18+ubuntu22.04.1+deb.sury.org+1, 1:7.4.33-20+ubuntu22.04.1+deb.sury.org+1), php8.1-imap:arm64 (8.1.31-1+ubuntu22.04.1+deb.sury.org+1, 8.1.32-1+ubuntu22.04.1+deb.sury.org+1), php8.1-intl:arm64 (8.1.31-1+ubuntu22.04.1+deb.sury.org+1, 8.1.32-1+ubuntu22.04.1+deb.sury.org+1), php7.4-fpm:arm64 (1:7.4.33-18+ubuntu22.04.1+deb.sury.org+1, 1:7.4.33-20+ubuntu22.04.1+deb.sury.org+1), php8.0-imagick:arm64 (3.7.0-9+ubuntu22.04.1+deb.sury.org+1, 3.8.0-1+ubuntu22.04.1+deb.sury.org+1), php7.4-json:arm64 (1:7.4.33-18+ubuntu22.04.1+deb.sury.org+1, 1:7.4.33-20+ubuntu22.04.1+deb.sury.org+1), php8.3-curl:arm64 (8.3.20-1+ubuntu22.04.1+deb.sury.org+1, 8.3.21-1+ubuntu22.04.1+deb.sury.org+1), php8.2-imagick:arm64 (3.7.0-9+ubuntu22.04.1+deb.sury.org+1, 3.8.0-1+ubuntu22.04.1+deb.sury.org+1), php8.4-opcache:arm64 (8.4.6-1+ubuntu22.04.1+deb.sury.org+1, 8.4.7-1+ubuntu22.04.1+deb.sury.org+1), libldap-2.5-0:arm64 (2.5.18+dfsg-0ubuntu0.22.04.3, 2.5.19+dfsg-0ubuntu0.22.04.1), systemd:arm64 (249.11-0ubuntu3.12, 249.11-0ubuntu3.15), libudev1:arm64 (249.11-0ubuntu3.12, 249.11-0ubuntu3.15), grub-efi-arm64:arm64 (2.06-2ubuntu14.4, 2.06-2ubuntu14.8), php8.4-curl:arm64 (8.4.6-1+ubuntu22.04.1+deb.sury.org+1, 8.4.7-1+ubuntu22.04.1+deb.sury.org+1), php8.3-imap:arm64 (8.3.20-1+ubuntu22.04.1+deb.sury.org+1, 8.3.21-1+ubuntu22.04.1+deb.sury.org+1), php8.3-pspell:arm64 (8.3.20-1+ubuntu22.04.1+deb.sury.org+1, 8.3.21-1+ubuntu22.04.1+deb.sury.org+1), php8.3-intl:arm64 (8.3.20-1+ubuntu22.04.1+deb.sury.org+1, 8.3.21-1+ubuntu22.04.1+deb.sury.org+1), php7.4-xml:arm64 (1:7.4.33-18+ubuntu22.04.1+deb.sury.org+1, 1:7.4.33-20+ubuntu22.04.1+deb.sury.org+1), linux-image-oracle:arm64 (6.8.0-1025.26~22.04.1, 6.8.0-1026.27~22.04.1), php7.4-zip:arm64 (1:7.4.33-18+ubuntu22.04.1+deb.sury.org+1, 1:7.4.33-20+ubuntu22.04.1+deb.sury.org+1), php8.1-mbstring:arm64 (8.1.31-1+ubuntu22.04.1+deb.sury.org+1, 8.1.32-1+ubuntu22.04.1+deb.sury.org+1), ubuntu-pro-client-l10n:arm64 (34~22.04, 35.1ubuntu0~22.04), php8.4-intl:arm64 (8.4.6-1+ubuntu22.04.1+deb.sury.org+1, 8.4.7-1+ubuntu22.04.1+deb.sury.org+1), php8.4-common:arm64 (8.4.6-1+ubuntu22.04.1+deb.sury.org+1, 8.4.7-1+ubuntu22.04.1+deb.sury.org+1), cloud-init:arm64 (24.4.1-0ubuntu0~22.04.1, 24.4.1-0ubuntu0~22.04.2), linux-base:arm64 (4.5ubuntu9, 4.5ubuntu9+22.04.1), php8.1-common:arm64 (8.1.31-1+ubuntu22.04.1+deb.sury.org+1, 8.1.32-1+ubuntu22.04.1+deb.sury.org+1), php8.1-readline:arm64 (8.1.31-1+ubuntu22.04.1+deb.sury.org+1, 8.1.32-1+ubuntu22.04.1+deb.sury.org+1), php8.1-gd:arm64 (8.1.31-1+ubuntu22.04.1+deb.sury.org+1, 8.1.32-1+ubuntu22.04.1+deb.sury.org+1), grub-efi-arm64-signed:arm64 (1.187.6+2.06-2ubuntu14.4, 1.187.12+2.06-2ubuntu14.8), libunbound8:arm64 (1.13.1-1ubuntu5.8, 1.13.1-1ubuntu5.10), distro-info-data:arm64 (0.52ubuntu0.8, 0.52ubuntu0.9), mariadb-common:arm64 (1:10.11.11+maria~ubu2204, 1:10.11.13+maria~ubu2204), php8.3-mysql:arm64 (8.3.20-1+ubuntu22.04.1+deb.sury.org+1, 8.3.21-1+ubuntu22.04.1+deb.sury.org+1), php7.4-common:arm64 (1:7.4.33-18+ubuntu22.04.1+deb.sury.org+1, 1:7.4.33-20+ubuntu22.04.1+deb.sury.org+1), php7.4-ldap:arm64 (1:7.4.33-18+ubuntu22.04.1+deb.sury.org+1, 1:7.4.33-20+ubuntu22.04.1+deb.sury.org+1), php8.3-bcmath:arm64 (8.3.20-1+ubuntu22.04.1+deb.sury.org+1, 8.3.21-1+ubuntu22.04.1+deb.sury.org+1), libmariadb3:arm64 (1:10.11.11+maria~ubu2204, 1:10.11.13+maria~ubu2204), mariadb-client:arm64 (1:10.11.11+maria~ubu2204, 1:10.11.13+maria~ubu2204), systemd-sysv:arm64 (249.11-0ubuntu3.12, 249.11-0ubuntu3.15), php8.1-bz2:arm64 (8.1.31-1+ubuntu22.04.1+deb.sury.org+1, 8.1.32-1+ubuntu22.04.1+deb.sury.org+1), php8.1-cli:arm64 (8.1.31-1+ubuntu22.04.1+deb.sury.org+1, 8.1.32-1+ubuntu22.04.1+deb.sury.org+1), php8.1-fpm:arm64 (8.1.31-1+ubuntu22.04.1+deb.sury.org+1, 8.1.32-1+ubuntu22.04.1+deb.sury.org+1), php8.1-ldap:arm64 (8.1.31-1+ubuntu22.04.1+deb.sury.org+1, 8.1.32-1+ubuntu22.04.1+deb.sury.org+1), libgd3:arm64 (2.3.3-12+ubuntu22.04.1+deb.sury.org+1, 2.3.3-13+ubuntu22.04.1+deb.sury.org+1), ubuntu-advantage-tools:arm64 (34~22.04, 35.1ubuntu0~22.04), ethtool:arm64 (1:5.16-1ubuntu0.1, 1:5.16-1ubuntu0.2), php8.3-bz2:arm64 (8.3.20-1+ubuntu22.04.1+deb.sury.org+1, 8.3.21-1+ubuntu22.04.1+deb.sury.org+1), php8.3-cli:arm64 (8.3.20-1+ubuntu22.04.1+deb.sury.org+1, 8.3.21-1+ubuntu22.04.1+deb.sury.org+1), linux-oracle:arm64 (6.8.0-1025.26~22.04.1, 6.8.0-1026.27~22.04.1), php8.3-fpm:arm64 (8.3.20-1+ubuntu22.04.1+deb.sury.org+1, 8.3.21-1+ubuntu22.04.1+deb.sury.org+1), php8.4-bz2:arm64 (8.4.6-1+ubuntu22.04.1+deb.sury.org+1, 8.4.7-1+ubuntu22.04.1+deb.sury.org+1), php8.4-cli:arm64 (8.4.6-1+ubuntu22.04.1+deb.sury.org+1, 8.4.7-1+ubuntu22.04.1+deb.sury.org+1), php7.4-pspell:arm64 (1:7.4.33-18+ubuntu22.04.1+deb.sury.org+1, 1:7.4.33-20+ubuntu22.04.1+deb.sury.org+1), grub-efi-arm64-bin:arm64 (2.06-2ubuntu14.4, 2.06-2ubuntu14.8), php8.4-fpm:arm64 (8.4.6-1+ubuntu22.04.1+deb.sury.org+1, 8.4.7-1+ubuntu22.04.1+deb.sury.org+1), php8.1-xml:arm64 (8.1.31-1+ubuntu22.04.1+deb.sury.org+1, 8.1.32-1+ubuntu22.04.1+deb.sury.org+1), php8.3-ldap:arm64 (8.3.20-1+ubuntu22.04.1+deb.sury.org+1, 8.3.21-1+ubuntu22.04.1+deb.sury.org+1), php8.1-zip:arm64 (8.1.31-1+ubuntu22.04.1+deb.sury.org+1, 8.1.32-1+ubuntu22.04.1+deb.sury.org+1), php8.3-gd:arm64 (8.3.20-1+ubuntu22.04.1+deb.sury.org+1, 8.3.21-1+ubuntu22.04.1+deb.sury.org+1), ubuntu-pro-client:arm64 (34~22.04, 35.1ubuntu0~22.04)
End-Date: 2025-05-29  07:02:46

Start-Date: 2025-05-29  09:17:49
Commandline: apt-get --reinstall install --reinstall dovecot-core dovecot-imapd dovecot-pop3d
Requested-By: ubuntu (1001)
Reinstall: dovecot-imapd:arm64 (1:2.3.16+dfsg1-3ubuntu2.4), dovecot-core:arm64 (1:2.3.16+dfsg1-3ubuntu2.4), dovecot-pop3d:arm64 (1:2.3.16+dfsg1-3ubuntu2.4)
Error: Sub-process /usr/bin/dpkg returned an error code (1)
End-Date: 2025-05-29  09:17:59

Start-Date: 2025-05-29  09:21:18
Commandline: apt-get purge --auto-remove dovecot-core dovecot-imapd dovecot-pop3d
Requested-By: ubuntu (1001)
Purge: libexttextcat-2.0-0:arm64 (3.4.5-1build2), linux-headers-6.8.0-1024-oracle:arm64 (6.8.0-1024.25~22.04.1), debsuryorg-archive-keyring:arm64 (2024.02.05+ubuntu22.04.1+deb.sury.org+1), linux-modules-6.8.0-1024-oracle:arm64 (6.8.0-1024.25~22.04.1), dovecot-imapd:arm64 (1:2.3.16+dfsg1-3ubuntu2.4), linux-oracle-6.8-headers-6.8.0-1024:arm64 (6.8.0-1024.25~22.04.1), liblua5.3-0:arm64 (5.3.6-1build1), linux-oracle-6.8-tools-6.8.0-1024:arm64 (6.8.0-1024.25~22.04.1), dovecot-core:arm64 (1:2.3.16+dfsg1-3ubuntu2.4), libdaxctl1:arm64 (72.1-1), linux-image-6.8.0-1024-oracle:arm64 (6.8.0-1024.25~22.04.1), libndctl6:arm64 (72.1-1), linux-tools-6.8.0-1024-oracle:arm64 (6.8.0-1024.25~22.04.1), libraqm0:arm64 (0.7.0-4ubuntu1), libexttextcat-data:arm64 (3.4.5-1build2), dovecot-pop3d:arm64 (1:2.3.16+dfsg1-3ubuntu2.4), libpmem1:arm64 (1.11.1-3build1)
End-Date: 2025-05-29  09:21:28

Start-Date: 2025-05-29  09:22:21
Commandline: apt-get install dovecot-core dovecot-imapd dovecot-pop3d
Requested-By: ubuntu (1001)
Install: libexttextcat-2.0-0:arm64 (3.4.5-1build2, automatic), dovecot-imapd:arm64 (1:2.3.16+dfsg1-3ubuntu2.4), liblua5.3-0:arm64 (5.3.6-1build1, automatic), dovecot-core:arm64 (1:2.3.16+dfsg1-3ubuntu2.4), libexttextcat-data:arm64 (3.4.5-1build2, automatic), dovecot-pop3d:arm64 (1:2.3.16+dfsg1-3ubuntu2.4)
End-Date: 2025-05-29  09:22:32

Start-Date: 2025-05-29  10:48:31
Commandline: apt-get install --reinstall postfix
Requested-By: ubuntu (1001)
Install: postfix:arm64 (3.6.4-1ubuntu1.3)
Remove: exim4:arm64 (4.95-4ubuntu2.6), exim4-config:arm64 (4.95-4ubuntu2.6), exim4-base:arm64 (4.95-4ubuntu2.6), exim4-daemon-heavy:arm64 (4.95-4ubuntu2.6)
End-Date: 2025-05-29  10:48:46

I want to send you sudo tail -n 50 /var/log/mail.log but it says I can only send 2 links?

Let me guess what happened:

You ran apt upgrade, it upgraded a lot of packages, it asked to install newer conf file for PHP packages and you said yes, that messed your PHP conf and now roundcube doesn’t work… then you decided to:

apt-get purge --auto-remove dovecot-core dovecot-imapd dovecot-pop3d
apt-get install dovecot-core dovecot-imapd dovecot-pop3d
apt-get install --reinstall postfix

You removed Dovecot (including its configuration), reinstalled it, and installed Postfix (removing Exim, which is the mail server used by Hestia). Now, the system is unusable.

Recovering it could take time, and I’m sorry but I don’t have the time to guide you through all the necessary steps.

2 Likes

Thank you anyway. And thank you for your time.

I didnt want to ask for help without trying to fix it myself (not be a nuisance) and I guess Ive made it worse out of exacerbation.

1 Like

Alot worse …

Fastest option create backups and reinstall the server

1 Like

Thank you for your advice.

However, I have hit a new snag and Ive spent the entire weekend trying to resolve it and its now 1am Monday morning.

I made backups and moved all accounts onto my local machine (tar files).
Reinstalled HestiaCP - Fresh install
Added the usernames

Uploaded the backups as they were saved by the previous HestiaCP install and HestiaCP won’t recognise them. I tried changing ownership… hestiaweb:hestiaweb… username:hestiaweb… hestiaweb:username.

I’m at a total loss and since Thursday all my clients emails have been down. Really need assistance from someone please.

Move your backups to /backup/ dir and then use v-restore-user command.

Example using test user and the backup /backup/test.2025-05-31_05-10-02.tar

Note: You don’t need to use the full path /backup/test.2025-05-31_05-10-02.tar, only the file name test.2025-05-31_05-10-02.tar

v-restore-user test test.2025-05-31_05-10-02.tar

sahsanu you are a lifesaver. Thank you.

Everything seems to have restored, but I have a new issue whereby nobody can send any mail to any of my addresses.

Your message to xyz couldn’t be delivered.
xyz suspects your message is spam and rejected it.

This is happening on all emails. Any idea why or what I can do?

You’re welcome.

Check this post:

1 Like

Thank you once again for your help. I have successfully restored everything by using option 4.

1 Like