ISPmanager troubleshooting on a VPS: email, IP, panel

Email is not received after an Exim update

On AlmaLinux/CentOS, after Exim is updated to 4.96 incoming email stops being delivered to mailboxes. Temporary fix until ISPmanager releases a patch — in /etc/exim/exim.conf find the Dovecot delivery line:

command = "/usr/libexec/dovecot/dovecot-lda -d $local_part@$domain -f $sender_address"

and remove -f $sender_address from it:

command = "/usr/libexec/dovecot/dovecot-lda -d $local_part@$domain"
message_suffix =

Add the message_suffix = line below it if messages arrive with an extra empty line. Then systemctl restart exim. On Ubuntu Exim is configured differently (/etc/exim4/) and this fix is not needed.

The panel does not open after an IP change

The panel license and settings are bound to the IP address. We change the main IP — contact support in advance. If the IP has changed and the panel does not open, after we replace the license check over SSH as root:

  1. The new IP in the listen block of /usr/local/mgr5/etc/ihttpd.conf.
  2. The new IP in the site configs. Replace it in all configs of a user (the old file is kept with .bak):
cd /etc/nginx/vhosts/USERNAME
perl -pi.bak -e "s/OLD_IP/NEW_IP/g" *
  1. Reboot the VPS. Then fix the domain A records: DNS on a VPS.

The panel hangs or did not apply settings

/usr/local/mgr5/sbin/mgrctl -m ispmgr exit      # or killall core
systemctl restart ihttpd

Sites keep working. More: panel commands.

504 Gateway Time-out for long scripts

Raise the timeouts in the site config: 504 Gateway Time-out.

Import from another server breaks

Temporarily increase AuthenLifeTime and the ihttpd timeouts on the source server: panel commands, "A long import" section.

Questions and answers
Remove -f $sender_address from the dovecot-lda line in /etc/exim/exim.conf and restart exim. Details are in the article.
Contact support: we replace the license. Then check the IP in ihttpd.conf and the site configs.