Bug#742961: cannot open /var/cache/spampd/auto-whitelist: Access denied

2017-01-20 Thread Dick Middleton
On Mon, 18 Jul 2016 09:44:23 +0200 Michael Meskes  wrote:
> On Sat, Mar 29, 2014 at 02:12:15PM +0200, Ognyan Kulev wrote:
> > I set AUTOWHITELIST=0 in /etc/default/spampd and removed the file but after
> > restarting it's re-created again, with same permissions.
> 
> That is because this option is no longer relevant with spamassassin version 
> 3.0
> and above. Or in other words, to get rid of it you have to configure
> spamassassin. I have not yet dug into it to figure out how to configure the
> correct user of the file though.
> 
> Michael
> 
> -- 
> Michael Meskes

If I could add my opinion:

spampd uses /var/cache/sampd for its files and that is where it expects to
find auto-whitelist.

spamassassin uses /var/lib/spamassassin for its files and that is where sa-awl
looks for auto-whitelist.

I've sym-linked the two together as a workaround.

However there is a bigger problem and that is owner:group of spampd and
spamassassin are different and that creates all sorts of problems because they
have to share files.

It would seem to me that there is no need for spampd to have a different
user:group from spamassassin; a single spam user would be helpful.

I also notice that spamassassin insists on using a directory .spamassassin for
its user_prefs etc.  That's not great for a server which uses
/var/lib/spamassassin for its configs;  one has
/var/lib/spamassassin/.spamassassin which is silly.

Again it would be helpful if a single shared directory could be used for both
these apps.

Dick
--
Dick Middleton



Bug#742961: cannot open /var/cache/spampd/auto-whitelist: Access denied

2016-07-18 Thread Michael Meskes
On Sat, Mar 29, 2014 at 02:12:15PM +0200, Ognyan Kulev wrote:
> I set AUTOWHITELIST=0 in /etc/default/spampd and removed the file but after
> restarting it's re-created again, with same permissions.

That is because this option is no longer relevant with spamassassin version 3.0
and above. Or in other words, to get rid of it you have to configure
spamassassin. I have not yet dug into it to figure out how to configure the
correct user of the file though.

Michael

-- 
Michael Meskes
Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
Meskes at (Debian|Postgresql) dot Org
Jabber: michael at xmpp dot meskes dot org
VfL Borussia! Força Barça! Go SF 49ers! Use Debian GNU/Linux, PostgreSQL



Bug#742961: cannot open /var/cache/spampd/auto-whitelist: Access denied

2014-03-29 Thread Ognyan Kulev

Package: spampd
Version: 2.30-22

The error in /var/log/mail.log is:

Mar 29 12:59:48 server spampd[658]: auto-whitelist: open of 
auto-whitelist file failed: auto-whitelist: cannot open 
auto_whitelist_path /var/cache/spampd/auto-whitelist: Access denied#012


# ls -l /var/cache/spampd/
-rw--- 1 root spampd 12288 Mar 29 14:06 auto-whitelist

I removed the file and restarted spampd, the permissions of newly 
created auto-whitelist is the same.


I set AUTOWHITELIST=0 in /etc/default/spampd and removed the file but 
after restarting it's re-created again, with same permissions.


I'm not sure if this error has any negative effect but anyway it's 
disturbing that such message shows up.


Best regards,
Ognyan Kulev


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org