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'
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}" ];
-- "Alas, earwax."
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.
On 2018-03-19 (17:06 MDT), Stephan Bosch stephan@rename-it.nl wrote:
Op 3/19/2018 om 8:40 PM schreef @lbutlr:
On 2018-03-19 (13:02 MDT), @lbutlr kremels@kreme.com wrote: 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?
For right now I've disabled the calls to sieve to eliminate the errors and clear the mailq. Once things settle down I'll turn it back on and set the debug level.
Thanks.
-- Were it not for frustration and humiliation I suppose the human race would get ideas above its station. -Ogden Nash
On 2018-03-19 (17:06 MDT), Stephan Bosch stephan@rename-it.nl wrote:
Can you enable mail_debug =yes?
Well, that's fun. Re-enabled everything and it is working fine.
The best I can tell, someone dropped several hundred (or more?) messages into their Junk mailbox and that went poorly. Is there a way to possibly ratelimit this?
plugin { sieve_plugins = sieve_imapsieve sieve_extprograms
# From elsewhere to Spam folder imapsieve_mailbox1_name = Junk imapsieve_mailbox1_causes = COPY imapsieve_mailbox1_before = file:/usr/lib/dovecot/sieve/report-spam.sieve
# From Spam folder to elsewhere imapsieve_mailbox2_name = * imapsieve_mailbox2_from = Junk imapsieve_mailbox2_causes = COPY imapsieve_mailbox2_before = file:/usr/lib/dovecot/sieve/report-ham.sieve
sieve_pipe_bin_dir = /usr/lib/dovecot/sieve
sieve_global_extensions = +vnd.dovecot.pipe +vnd.dovecot.environment
sieve = file:~/.sieve;active=~/.active_sieve sieve_default =/var/lib/dovecot/sieve/default.sieve sieve_globa = /var/lib/dovecot/sieve/global }
-- "Don't be nice. It's Creepy."
participants (2)
-
@lbutlr
-
Stephan Bosch