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.
> 
John, I think you're referring to this:

ifplugin Mail::SpamAssassin::Plugin::Pyzor
pyzor_path /usr/local/bin/pyzor
pyzor_options --homedir /home/chris/.pyzor
endif

I added this to my local.cf and it appears to be working now. At least
this showed up at the end of a spam report:

PYZOR Results are Reported 3 times.


-- 
Chris
31.11°N 97.89°W (Elev. 1092 ft)
12:05:40 up 2 days, 14:09, 1 user, load average: 0.26, 0.27, 0.22
Ubuntu 14.04 LTS, kernel 3.13.0-35-generic

Reply via email to