Re: [gentoo-user] spamd and user nobody, sa-learn

2011-03-06 Thread David W Noon
On Sun, 06 Mar 2011 19:00:02 +0100, meino.cra...@gmx.de wrote about Re: [gentoo-user] spamd and user nobody, sa-learn: >Does your "amavis" user own a home directory? Yes. It is /var/amavis. -- Regards, Dave

Re: [gentoo-user] spamd and user nobody, sa-learn

2011-03-06 Thread meino . cramer
David W Noon [11-03-06 18:16]: > On Sun, 06 Mar 2011 02:00:02 +0100, meino.cra...@gmx.de wrote about Re: > [gentoo-user] spamd and user nobody, sa-learn: > > >David W Noon [11-03-05 15:43]: > [snip] > >> I need to specify the full path to the executable, /usr/bin/sa-

Re: [gentoo-user] spamd and user nobody, sa-learn

2011-03-06 Thread David W Noon
On Sun, 06 Mar 2011 02:00:02 +0100, meino.cra...@gmx.de wrote about Re: [gentoo-user] spamd and user nobody, sa-learn: >David W Noon [11-03-05 15:43]: [snip] >> I need to specify the full path to the executable, /usr/bin/sa-learn, >> when I use sudo to run it as amavis. [

Re: [gentoo-user] spamd and user nobody, sa-learn

2011-03-05 Thread meino . cramer
David W Noon [11-03-05 15:43]: > On Sat, 05 Mar 2011 10:40:01 +0100, meino.cra...@gmx.de wrote about > [gentoo-user] spamd and user nobody, sa-learn: > > [snip] > >I tried > > > >sudo -u nobody sa-learn --spam > > --dbpath /etc/mail/nobody/.spamassas

Re: [gentoo-user] spamd and user nobody, sa-learn

2011-03-05 Thread David W Noon
On Sat, 05 Mar 2011 10:40:01 +0100, meino.cra...@gmx.de wrote about [gentoo-user] spamd and user nobody, sa-learn: [snip] >I tried > >sudo -u nobody sa-learn --spam > --dbpath /etc/mail/nobody/.spamassassin/ --dir . > >as user mccramer but it complains with: >"S

[gentoo-user] spamd and user nobody, sa-learn

2011-03-05 Thread meino . cramer
Hi, currently I am unsure, whether it is possible to update the bayes-database of spamd/spamassassin as user mccramer while spamd/spamassassin is running under user nobody:nobody AND assign the database rw-rights for nobody:nobody only. Nobody has neither the right to login nor a home directory.