message marked as spam gives a razor error
message marked as spam gives a razor error
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?
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?
- shawniverson
- Posts: 3650
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: message marked as spam gives a razor error
Hmm....this may be related to a postfix update that occurred.
Try this and report the results please
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
when creating the dir it say's it's allready there, with the chown no error
I will test further... and post results here
I will test further... and post results here
Re: message marked as spam gives a razor error
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
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
- shawniverson
- Posts: 3650
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: message marked as spam gives a razor error
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
Nope still no luck....
bash: razor-admin: command not found
bash: razor-admin: command not found
- shawniverson
- Posts: 3650
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: message marked as spam gives a razor error
doggy101,
Is this a stock build of EFA or a build from scratch?
Is this a stock build of EFA or a build from scratch?
- shawniverson
- Posts: 3650
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: message marked as spam gives a razor error
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
I have the same error:
btw, I'm using EFA from the ISO (the kickstart file has some errors regarding to https download and a wrong ssl cert.)
I have tried the suggestions of shawn but these do not solve the problemSpamAssassin: 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.
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
what do you mean by that, it's a VM which i'm using...shawniverson wrote:doggy101,
Is this a stock build of EFA or a build from scratch?
- shawniverson
- Posts: 3650
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: message marked as spam gives a razor error
Ok. Now, out of curiosity, what is the name of the user you set up when you first powered on the VM?
- shawniverson
- Posts: 3650
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: message marked as spam gives a razor error
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
Hi,
Also have the same problem.
Did you find out what happened to the other guy's vm?
Regards,
Michael
Also have the same problem.
Did you find out what happened to the other guy's vm?
Regards,
Michael
- shawniverson
- Posts: 3650
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: message marked as spam gives a razor error
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
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
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
Hi,
Sent a PM to shawn for my test relay ip and credentials.
Regards,
Michael
Sent a PM to shawn for my test relay ip and credentials.
Regards,
Michael
- shawniverson
- Posts: 3650
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: message marked as spam gives a razor error
Bug identified and resolved.
This fix will give Apache access to Razor credentials so that Spamassassin can submit reports....
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/*
- shawniverson
- Posts: 3650
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: message marked as spam gives a razor error
The errors have gone.
Thanks!
Thanks!
Re: message marked as spam gives a razor error
Yes I too concur the bug is gone.
Re: message marked as spam gives a razor error
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.
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.
- shawniverson
- Posts: 3650
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: message marked as spam gives a razor error
Was it gone for a while and then reappeared?
Re: message marked as spam gives a razor error
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
Added the fix to the 3.0.0.5 release
Version eFa 4.x now available!
Re: message marked as spam gives a razor error
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/*
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/*