Page 1 of 2
message marked as spam gives a razor error
Posted: 15 Mar 2014 15:20
by doggy101
When I want to mark a message as spam i get:
SpamAssassin: Mar 15 16:18:59.561 [26903] warn: reporter: razor2 report failed: No such file or directory report requires authentication at /usr/local/share/perl5/Mail/SpamAssassin/Plugin/Razor2.pm line 180. at /usr/local/share/perl5/Mail/SpamAssassin/Plugin/Razor2.pm line 330., 1 message(s) examined.
Error: N
anyone any clue?
Re: message marked as spam gives a razor error
Posted: 15 Mar 2014 17:30
by shawniverson
Hmm....this may be related to a postfix update that occurred.
Try this and report the results please
Code: Select all
mkdir /var/spool/postfix/.razor
chown postfix:postfix /var/spool/postfix/.razor
Re: message marked as spam gives a razor error
Posted: 21 Mar 2014 10:25
by doggy101
when creating the dir it say's it's allready there, with the chown no error
I will test further... and post results here
Re: message marked as spam gives a razor error
Posted: 21 Mar 2014 10:28
by doggy101
No Problem still there
SpamAssassin: Mar 21 11:27:29.430 [5727] warn: reporter: razor2 report failed: No such file or directory report requires authentication at /usr/local/share/perl5/Mail/SpamAssassin/Plugin/Razor2.pm line 180. at /usr/local/share/perl5/Mail/SpamAssassin/Plugin/Razor2.pm line 330., 1 message(s) examined.
Error: N
Re: message marked as spam gives a razor error
Posted: 22 Mar 2014 00:08
by shawniverson
Let's reregister razor...
Code: Select all
sudo su postfix -s /bin/bash -c 'razor-admin -register'
Re: message marked as spam gives a razor error
Posted: 24 Mar 2014 19:50
by doggy101
Nope still no luck....
bash: razor-admin: command not found
Re: message marked as spam gives a razor error
Posted: 25 Mar 2014 15:06
by shawniverson
doggy101,
Is this a stock build of EFA or a build from scratch?
Re: message marked as spam gives a razor error
Posted: 25 Mar 2014 17:47
by shawniverson
Try both of these:
Code: Select all
su postfix -s /bin/bash -c 'razor-admin -create'
su postfix -s /bin/bash -c 'razor-admin -register'
Re: message marked as spam gives a razor error
Posted: 27 Mar 2014 22:25
by Antiloop
I have the same error:
SpamAssassin: Mar 27 23:22:33.586 [25024] warn: reporter: razor2 report failed: No such file or directory report requires authentication at /usr/local/share/perl5/Mail/SpamAssassin/Plugin/Razor2.pm line 180. at /usr/local/share/perl5/Mail/SpamAssassin/Plugin/Razor2.pm line 330., 1 message(s) examined.
I have tried the suggestions of shawn but these do not solve the problem
btw, I'm using EFA from the ISO (the kickstart file has some errors regarding to https download and a wrong ssl cert.)
Re: message marked as spam gives a razor error
Posted: 28 Mar 2014 16:20
by doggy101
shawniverson wrote:doggy101,
Is this a stock build of EFA or a build from scratch?
what do you mean by that, it's a VM which i'm using...
Re: message marked as spam gives a razor error
Posted: 30 Mar 2014 10:59
by shawniverson
Ok. Now, out of curiosity, what is the name of the user you set up when you first powered on the VM?
Re: message marked as spam gives a razor error
Posted: 01 Apr 2014 11:09
by shawniverson
If anyone with this problem is interested, PM me. I would like to connect to your system remotely and see if I can help.
Re: message marked as spam gives a razor error
Posted: 02 May 2014 05:23
by Michaelv
Hi,
Also have the same problem.
Did you find out what happened to the other guy's vm?
Regards,
Michael
Re: message marked as spam gives a razor error
Posted: 03 May 2014 18:09
by shawniverson
Negative. I am soliciting for remote access to a system to try to identify the problem.
Re: message marked as spam gives a razor error
Posted: 07 May 2014 09:09
by knutz
Hi,
I could provide access to a system that has this problem. But having just joined the forum I cannot PM you. I did send you an email.
Maybe if you PM me I will be able to respond.
Regards
Re: message marked as spam gives a razor error
Posted: 08 May 2014 04:16
by Michaelv
Hi,
Sent a PM to shawn for my test relay ip and credentials.
Regards,
Michael
Re: message marked as spam gives a razor error
Posted: 11 May 2014 17:32
by shawniverson
Bug identified and resolved.
This fix will give Apache access to Razor credentials so that Spamassassin can submit reports....
Code: Select all
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/*
Re: message marked as spam gives a razor error
Posted: 11 May 2014 17:39
by shawniverson
Re: message marked as spam gives a razor error
Posted: 11 May 2014 17:51
by knutz
The errors have gone.
Thanks!
Re: message marked as spam gives a razor error
Posted: 12 May 2014 02:40
by Michaelv
Yes I too concur the bug is gone.
Re: message marked as spam gives a razor error
Posted: 23 May 2014 08:55
by doggy101
unfortunality the error is still there...
SpamAssassin: May 23 10:51:22.249 [3965] warn: reporter: razor2 report failed: No such file or directory report requires authentication at /usr/local/share/perl5/Mail/SpamAssassin/Plugin/Razor2.pm line 180. at /usr/local/share/perl5/Mail/SpamAssassin/Plugin/Razor2.pm line 330., 1 message(s) examined.
Re: message marked as spam gives a razor error
Posted: 23 May 2014 09:28
by shawniverson
Was it gone for a while and then reappeared?
Re: message marked as spam gives a razor error
Posted: 23 May 2014 10:19
by doggy101
as far as i know it has been there the whole time, today i changed the setup as described above.
Re: message marked as spam gives a razor error
Posted: 29 Jun 2014 20:04
by darky83
Added the fix to the 3.0.0.5 release
Re: message marked as spam gives a razor error
Posted: 15 Sep 2014 16:10
by axered
FYI, I installed the latest version 3.0.0.5 from scratch on hypervisor, XenServer 6.2, and when reported emails a Spam+Report, I got the errors from this post.
But running these commands below, that was provided on this post, did solve the problem.
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/*