message marked as spam gives a razor error

General eFa discussion
User avatar
shawniverson
Posts: 3644
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: message marked as spam gives a razor error

Post by shawniverson »

double checking....guessing my the number of hits we are getting on this topic this bug is most definitely present....
VelocityAdmin
Posts: 2
Joined: 16 Nov 2014 08:00

Re: message marked as spam gives a razor error

Post by VelocityAdmin »

Can anyone else confirm they are still encountering this exact error? I have applied the info for the fix and it is still giving me that error.
User avatar
shawniverson
Posts: 3644
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: message marked as spam gives a razor error

Post by shawniverson »

I am tracking this as well. If you are experiencing this issue still please provide feedback
vervoto1
Posts: 4
Joined: 24 Feb 2015 07:17

Re: message marked as spam gives a razor error

Post by vervoto1 »

yes.. took a bit of time to register (greylisting :) ).. anyway, in a default version 3.0.0.6 updated with the latest linux patches I've encountered the same issue, manually ran razor-admin - create and -register as the error pointed me in that direction, before having a look at this forum and changing the file ownership. Changing the file ownership (the 4 steps mentioned before) was the only way to fix it.

it's running on KVM on a linux x86_64 machine, latest updates, could be that yum's upgrade scripts changed the ownership of the files after release ?
User avatar
shawniverson
Posts: 3644
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: message marked as spam gives a razor error

Post by shawniverson »

I am going through the version history on git, could have sworn this was applied, but I just built one myself and it is not there....
User avatar
shawniverson
Posts: 3644
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: message marked as spam gives a razor error

Post by shawniverson »

Ok, found the issue....looks like some lines make reference to pyzor when they should reference razor.

Opening new issue.
User avatar
shawniverson
Posts: 3644
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: message marked as spam gives a razor error

Post by shawniverson »

The bug that never dies....

https://github.com/E-F-A/v3/issues/157
User avatar
pdwalker
Posts: 1553
Joined: 18 Mar 2015 09:16

Re: message marked as spam gives a razor error

Post by pdwalker »

3.0.0.7, build from the centos netinstall

selecting the SA Learn option of "As Spam+Report" results in the same error
warn: reporter: razor2 report failed: No such file or directory report requires authentication at /usr/local/share/perl5/Mail/SpamAssassin/Plugin/Razor2.pm
(sorry, I didn't save the line number, but it was different from Antiloops)

The following 3 commands fixed the problem

Code: Select all

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/*
(the group ownership was postfix before I changed it to apache)
ayh20
Posts: 13
Joined: 13 May 2015 13:01

Re: message marked as spam gives a razor error

Post by ayh20 »

Just for reference i also had the error:

No such file or directory report requires authentication

The above Chown/chmod's fixed that issue for me. However i then got the problem "Use of uninitialized value $hasStructureInfo in numeric" which appears to be a known 3.0.0.7 bug.

Andy
woundride
Posts: 51
Joined: 19 Mar 2015 14:34
Location: France
Contact:

Re: message marked as spam gives a razor error

Post by woundride »

Hi,

I use EFA 3.0.0.8, I've tried :

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/*
But I've always this message :

Code: Select all

SpamAssassin: Dec 2 12:09:51.221 [4799] 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., Dec 2 12:10:09.599 [4799] warn: reporter: SpamCop report to vmx.spamcop.net failed: Net::SMTP error, 1 message(s) examined.
Have you another idea to solve this problem please ?

Best regards.

Charles
woundride
Posts: 51
Joined: 19 Mar 2015 14:34
Location: France
Contact:

Re: message marked as spam gives a razor error

Post by woundride »

After registration and configuration :oops:

I've this message :

Code: Select all

SpamAssassin: Dec 2 14:28:01.186 [2009] 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., 1 message(s) examined.
Spamcop sending it's OK but i've always this message ...
woundride
Posts: 51
Joined: 19 Mar 2015 14:34
Location: France
Contact:

Re: message marked as spam gives a razor error

Post by woundride »

I'm sorry :oops:

After registration and configuration, I've execute again :

Code: Select all

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/*
And it's OK for me.
skoppes
Posts: 33
Joined: 26 Aug 2015 19:29

Re: message marked as spam gives a razor error

Post by skoppes »

Ran into this with 3.0.0.8 - downloaded as the Hyper-V VM.

Posted details here: viewtopic.php?t=1473

Hopefully these steps may help track-down why this happens for some people?
Post Reply