On Tue, 2014-09-02 at 07:20 -0700, John Hardin wrote: > On Tue, 2 Sep 2014, Chris wrote: > > > On Mon, 2014-09-01 at 21:17 -0700, John Hardin wrote: > >> On Mon, 1 Sep 2014, Chris wrote: > >> > >>> System is Ubuntu 14.04 LTS I use fetchmail linked with procmail. > >> > >>> Permissions on the ~/.pyzor/servers files and directory is: > >>> > >>> drwxr-x--- 2 chris chris 4096 Jul 17 09:28 .pyzor > >>> -rw-r----- 1 chris chris 23 Jul 17 09:28 servers > >> > >> Are you using this with spamc/spamd, or spamassassin-per-message? If > >> the former, what user is spamd running as? > >> > > Morning John, I'm using it with spamc which is called by a procmail > > recipe in my home directory which I would 'assume' makes it being run as > > user 'chris'. > > spamc is running as chris, spamd (the daemon) is probably running as a > system account with (1) a different notion of what "~" refers to, and (2) > no permissions to access chris' home directory. > > See the other answer that was posted; you may need to explicitly set the > path to the pyzor config files to a shared (vs. per-user) location. > Additionally John when running 'spamassassin -D -r on my spam folder it does seen to be working ok now:
Sep 2 12:08:43.528 [22850] dbg: pyzor: pyzor is available: /usr/local/bin/pyzor Sep 2 12:08:43.528 [22850] dbg: dns: entering helper-app run mode Sep 2 12:08:43.529 [22850] dbg: pyzor: opening pipe: /usr/local/bin/pyzor --homedir /home/chris/.pyzor report < /tmp/.spamassassin22850mid5cVtmp Sep 2 12:08:43.530 [22870] dbg: util: setuid: ruid=1000 euid=1000 Sep 2 12:08:43.965 [22850] dbg: pyzor: [22870] reporter finished successfully Sep 2 12:08:43.965 [22850] dbg: dns: leaving helper-app run mode Sep 2 12:08:43.966 [22850] info: reporter: spam reported to Pyzor -- Chris 31.11°N 97.89°W (Elev. 1092 ft) 12:10:04 up 2 days, 14:13, 2 users, load average: 0.21, 0.25, 0.23 Ubuntu 14.04 LTS, kernel 3.13.0-35-generic