Fixing zmsaupdate in Zimbra 8.8 Patch 20/21
In Zimbra 8.8 Patch 20 and 21, the zmsaupdate
script is broken: Due to an updated version of SpamAssassin, the script fails with the following message:
zmsaupdate: Error code downloading update: 2
This is caused by the sa-update program not accepting the --allowplugins
option any longer, so that option simply has to be removed from the script in /opt/zimbra/libexec/zmsaupdate
.
Find the following line in the script:
my $sa="/opt/zimbra/common/bin/sa-update -v --allowplugins --refreshmirrors >/dev/null 2>&1";
And change it to:
my $sa="/opt/zimbra/common/bin/sa-update -v --refreshmirrors >/dev/null 2>&1";
This will fix the problem.