Op 3/19/2018 om 8:40 PM schreef @lbutlr:
On 2018-03-19 (13:02 MDT), @lbutlr <kremels@kreme.com> wrote:
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' After disabling razor, I am now getting:Error: sieve: Execution of script /usr/lib/dovecot/sieve/report-spam.sieve failed 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 13:32:40] Info: sieve: left message in mailbox 'Junk'#cat sa-learn-spam.sh #!/bin/sh exec /usr/local/bin/sa-learn -u ${1} --spam
# more report-spam.sieve require ["vnd.dovecot.pipe", "copy", "imapsieve", "environment", "variables"];
if environment :matches "imap.user" "*" { set "username" "${1}"; }
pipe :copy "sa-learn-spam.sh" [ "${username}" ];
Can you enable mail_debug =yes?
Regards,
Stephan.