You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Jari Fredriksson <ja...@iki.fi> on 2009/04/18 07:15:03 UTC
Beating a dead horse: reporting to Razor2
report[23714]: reporter: razor2 report failed: No such file or directory report requires authentication at /usr/share/perl5/Mail/SpamAssassin/Plugin/Razor2.pm line 178. at /usr/share/perl5/Mail/SpamAssassin/Plugin/Razor2.pm line 326.
Running SA 3.2.5
razord-admin -create
razord-admin -register
razor-report <file works
But spamc -C report does not.
Any ideas?
**
I have been reporting to SpamCop for years, by using "spamassassin -rd >$tmpfile" and then sending them the tmpfile with their own script. That was heavy, as the spamassassin as own process was heavy, and then the spamcop script on top of that.
But no errors or warnings.
spamc -C is much lighter! Much. But error/warning with Razor2.
Ideas? The error come from SA plugin, so this is the arena to ask.
ls -lah .razor from the sending uid
spam@wellington:~$ ls -lah .razor/
total 21K
drwxr-xr-x 2 spam spam 320 2009-04-18 07:58 .
drwxr-xr-x 8 spam spam 472 2009-04-18 08:13 ..
lrwxrwxrwx 1 spam spam 19 2009-04-17 23:53 identity -> /etc/razor/identity
lrwxrwxrwx 1 spam spam 27 2009-04-17 23:58 razor-agent.conf -> /etc/razor/razor-agent.conf
-rw-r--r-- 1 spam spam 870 2009-04-18 07:58 server.n001.cloudmark.com.conf
-rw-r--r-- 1 spam spam 843 2009-04-17 23:52 server.n002.cloudmark.com.conf
-rw-r--r-- 1 spam spam 57 2009-04-18 07:58 servers.catalogue.lst
-rw-r--r-- 1 spam spam 30 2009-04-17 23:52 servers.discovery.lst
-rw-r--r-- 1 spam spam 76 2009-04-18 07:58 servers.nomination.lst
spam@wellington:~$
spam@wellington:~$ ls -lah /etc/razor/
total 35K
drwxr-xr-x 2 root root 352 2009-04-17 23:44 .
drwxr-xr-x 114 root root 7.0K 2009-04-18 06:43 ..
lrwxrwxrwx 1 root root 14 2009-04-17 23:23 identity -> identity-jarif
-rw-r--r-- 1 root root 62 2009-04-17 23:23 identity-jarif
-rw-r--r-- 1 root root 313 2007-08-03 23:25 razor-agent.conf
-rw-r--r-- 1 root root 231 2008-07-23 05:04 razor-agent.conf.dpkg-dist
-rw-r--r-- 1 root root 843 2009-04-17 23:23 server.n002.cloudmark.com.conf
-rw-r--r-- 1 root root 57 2009-04-17 23:23 servers.catalogue.lst
-rw-r--r-- 1 root root 30 2009-04-17 23:23 servers.discovery.lst
-rw-r--r-- 1 root root 76 2009-04-17 23:23 servers.nomination.lst
Re: Beating a dead horse: reporting to Razor2
Posted by Jari Fredriksson <ja...@iki.fi>.
Never mind.. was running SA as wrong user id.