This needs to be done so that the PERL5LIB variable is correctly set inside of cron so that amavis can pick it up. It's actually a bug in Zimbra. The following workaround will fix the issue.
Open a Unix shell and cd to \var\spool\cron\
You will see a file called zimbra. Use your favorite Unix editor to edit the file.
Change the following cron line from this...
45 0 * * * /opt/zimbra/libexec/zmsaupdate
to this instead:
45 0 * * * . /opt/zimbra/.bashrc; /opt/zimbra/libexec/zmsaupdate
Article ID: 187, Created: 4/28/2025 at 12:44 PM, Modified: 4/28/2025 at 12:44 PM