Public bug reported: Running su amavis -c '/usr/bin/sa-learn -D --ham /tmp/learn_mail' in a cronjob leads to the output being sent via mail (see text file). Spamassassin complains about a problem on loading plug-ins such like: plugin: failed to parse plugin (from @INC): Can't locate Mail/SpamAssassin/Plugin/SpamCop.pm: Keine Berechtigung at (eval 33) line 1. Note: "Keine Berechtigung" is German and means something like no authorization. But the perl file exists and everyone can read it: -rw-r--r-- 1 root root 8578 Feb 7 09:36 /usr/share/perl5/Mail/SpamAssassin/Plugin/SpamCop.pm The same for all other plug-ins. Running the command as mentioned above manually from the shell as user root works perfectly, no errors. I'm using spamassassin version 3.4.0-1ubuntu1 and perl version 5.18.2-2ubuntu1 on Ubuntu 14.04.
Maybe there is relation to: https://bugzilla.redhat.com/show_bug.cgi?id=1008415 ?? Don't know. Regards Nuesel ** Affects: spamassassin (Ubuntu) Importance: Undecided Status: New ** Attachment added: "mail_content.txt" https://bugs.launchpad.net/bugs/1315260/+attachment/4102938/+files/mail_content.txt -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to spamassassin in Ubuntu. https://bugs.launchpad.net/bugs/1315260 Title: Spamassassin: sa-learn fails in cronjob To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/spamassassin/+bug/1315260/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs