I am getting the following in my /var/log/dovecot:
Error: sieve: Execution of script /usr/lib/dovecot/sieve/report-spam.sieve failed
Error: plugin: failed to parse plugin (from @INC): Can't locate Mail/SpamAssassin/Plugin/Razor.pm in @INC (you may need to install the Mail::SpamAssassin::Plugin::Razor module) (@INC contains: /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/site_perl/mach/5.24 /usr/local/lib/perl5/5.24/mach /usr/local/lib/perl5/5.24) at (eval 44) line 1.
Error: program /usr/lib/dovecot/sieve/sa-learn-spam.sh' was forcibly terminated with signal 15 Error: sieve: pipe action: failed to pipe message to program
sa-learn-spam.sh': refer to server log for more information. [2018-03-19 12:52:51]
Info: sieve: left message in mailbox 'Junk'