Control Web Panel

WebPanel => CentOS-WebPanel Bugs => Topic started by: Wonder on November 27, 2026, 04:37:21 PM

Title: Unexpected LTS to EDGE switch and loss of custom mail settings after CWP update
Post by: Wonder on November 27, 2026, 04:37:21 PM
Hello,

I would like to report an issue following the recent CWP updates.

All my servers were configured to use the **LTS update channel**, but after the recent updates I discovered that they had all switched to **EDGE** unexpectedly.

I cannot confirm whether this is directly related to the mail configuration changes described below, but both issues appeared during the same update period.

1. Dovecot / IMAPSieve

On November 27, 2026, I discovered that my custom Dovecot configuration had lost the `imap_sieve` plugin.

The effective configuration was:

doveconf -f protocol=imap mail_plugins
mail_plugins = quota imap_quota trash

The expected `imap_sieve` plugin was missing, disabling automatic Spam/Ham learning through SpamAssassin Bayes.

The configuration file had been modified at:

2026-11-27 16:16:41
/etc/dovecot/dovecot.conf

I had to restore the missing functionality manually. Fortunately, the existing Bayes database was preserved.

2. Postfix configuration

At approximately the same time, these files were also modified:

/etc/postfix/main.cf
/etc/postfix/master.cf

I discovered that a custom SPF policy reference was missing from `smtpd_recipient_restrictions`:

check_policy_service unix:private/spfpolicy

The policy service itself was still present, and I manually restored the missing reference. Other custom restrictions remained intact.

3. CWP configuration preservation

The CWP changelog mentions that mail configuration rebuilds back up Dovecot/Postfix, preserve local includes and re-apply Spam Learning, TLS and Dovecot customizations.

However, in my case, some custom settings were not preserved as expected.

These changes affected automatic spam learning and required manual intervention to restore the expected functionality.

I believe this deserves investigation, particularly because the changelog explicitly mentions configuration preservation.

Thank you for your help.

Best regards