mail-in-a-box / mailinabox

Mail-in-a-Box helps individuals take back control of their email by defining a one-click, easy-to-deploy SMTP+everything else server: a mail server in a box.
https://mailinabox.email/
Creative Commons Zero v1.0 Universal
14.05k stars 1.44k forks source link

Fixstates only after Z-Push upgrade #2432

Open matidau opened 3 months ago

matidau commented 3 months ago

This is to only run z-push-admin -a fixstates after a Z-Push upgrade.

I've checked and the configuration in zpush.sh won't affect the state files.

This will alleviate the problem raised on the forums when there is an upgrade without a Z-Push upgrade. https://discourse.mailinabox.email/t/problems-with-z-push-mail-sync-after-each-upgrade-of-miab/12145

matidau commented 3 months ago

The problem reported on the forum has been fixed in https://github.com/Z-Hub/Z-Push/pull/103.

This PR is still valid as fixstates should only be run during a Z-Push upgrade.