Cron Job errors after installing Debian 11

Damian amavis at arcsin.de
Mon Feb 12 13:26:24 CET 2024


> I'm guessing it has something to do with the interaction of 
> Spamassassin and Amavis? Unsure if anything is 'broken' but everything 
> else seems to be working as expected.
>
> Cron <amavis at NZ-Akl> test -e /usr/sbin/amavisd-new-cronjob && 
> /usr/sbin/amavisd-new-cronjob sa-sync
>
> Number found where operator expected at (eval 1908) line 1, near "0 0"
>     (Missing operator before  0?) 

The only non-silenced perl invocation in amavisd-new-cronjob on Debian 
11 seems to be the use_bayes check. Try if you can reproduce the error 
message with

> sudo -u amavis perl -MMail::SpamAssassin -e 
> "Mail::SpamAssassin->new->compile_now"

If you can reproduce, try with enabled debugging:

> sudo -u amavis perl -MMail::SpamAssassin -e 
> "Mail::SpamAssassin->new({debug => 'all'})->compile_now"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.amavis.org/pipermail/amavis-users/attachments/20240212/65ff0e59/attachment.htm>


More information about the amavis-users mailing list