Razor2 Error: No such file or directory report requires authentication
While doing Spam Report on SpamAssassin, I came across this error message,
reporter: razor2 report failed: No such file or directory report requires authentication at /usr/local/lib/perl5/site_perl/5.x.x/Mail/SpamAssassin/Plugin/Razor2.pm line 180. at /usr/local/lib/perl5/site_perl/5.x.x/Mail/SpamAssassin/Plugin/Razor2.pm line 330.
I checked the file existed, so It’s something to do with Razor authentication. This is what you need to do fix the error message from SpamAssassin.
shell> razor-admin -create shell> razor-admin -register