Learn+Report - Razor2 Error (Resolved?)
Posted: 15 Mar 2016 19:42
Running EFA 3.0.0.8 - downloaded as a pre-compiled Hyper-V VM
We were having an issue, and it looked like a repeat of the following:
viewtopic.php?t=531
When attempting to 'Learn + Report' on a message, it was throwing the following error:
I tried the fixes listed in the previous thread, but had no luck. I also couldn't get some of the commands to run. After much tinkering (*nix / BSD don't always win against me!) I modified the commands to the following, which were able to run successfully:
It kept throwing errors after this, even after restarting postfix, so I thought it was a bust. I just tested again when I started typing this and it seems to be working finally. I don't know what the actual problem was, but it appears to be working now.
I think the first two were the trick, because I had tried the link-fix and permissions before, with no success.
Technology - it's wonderful stuff when it works right!
We were having an issue, and it looked like a repeat of the following:
viewtopic.php?t=531
When attempting to 'Learn + Report' on a message, it was throwing the following error:
Code: Select all
warn: reporter: razor2 report failed: No such file or directory report requires authentication at /usr/local/share/perl5/Mail/SpamAssassin/Plugin/Razor2.pm line 177. at /usr/local/share/perl5/Mail/SpamAssassin/Plugin/Razor2.pm line 330.
Code: Select all
sudo su postfix -s /bin/bash -c '/usr/local/bin/razor-admin -create'
sudo su postfix -s /bin/bash -c '/usr/local/bin/razor-admin -register'
sudo ln -s /var/spool/postfix/.razor /var/www/.razor
sudo chown -R postfix:apache /var/spool/postfix/.razor
sudo chmod ug+rwx /var/spool/postfix/.razor
sudo chmod ug+rw /var/spool/postfix/.razor/*
I think the first two were the trick, because I had tried the link-fix and permissions before, with no success.
Technology - it's wonderful stuff when it works right!