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!