From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1PvoLS-00025i-AP for garchives@archives.gentoo.org; Sat, 05 Mar 2011 10:04:18 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9473E1C017 for ; Sat, 5 Mar 2011 10:04:12 +0000 (UTC) Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.22]) by pigeon.gentoo.org (Postfix) with SMTP id 57327E05D9 for ; Sat, 5 Mar 2011 09:28:34 +0000 (UTC) Received: (qmail invoked by alias); 05 Mar 2011 09:28:33 -0000 Received: from p5485159D.dip0.t-ipconnect.de (EHLO gmx.net) [84.133.21.157] by mail.gmx.net (mp016) with SMTP; 05 Mar 2011 10:28:33 +0100 X-Authenticated: #20088476 X-Provags-ID: V01U2FsdGVkX18EcABY1HsEvLnLYKzoviO0kOSV647++jtj8IX904 a3WSeSc0wCkEqB Received: by gmx.net (nbSMTP-1.00) for uid 1001 Meino.Cramer@gmx.de; Sat, 5 Mar 2011 10:28:31 +0100 (CET) Date: Sat, 5 Mar 2011 10:28:30 +0100 From: meino.cramer@gmx.de To: Gentoo Subject: [gentoo-user] spamd and user nobody, sa-learn Message-ID: <20110305092830.GA25522@solfire> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: mutt-ng/devel-r804 (Linux) X-Y-GMX-Trusted: 0 X-Archives-Salt: X-Archives-Hash: 767c35c72543f8d1a855d747fd8a0014 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. I tried sudo -u nobody sa-learn --spam --dbpath /etc/mail/nobody/.spamassassin/ --dir . as user mccramer but it complains with: "Sorry, user mccramer is not allowed to execute '/usr/bin/sa-learn --spam --dbpath /etc/mail/nobody/.spamassassin/ --dir .' as nobody:nobody on solfire." /etc/sudoers is set to allow this for mccramer. What is the trick to accomplish what is wanted here ? Thank you very much in advance for any help! Best regards, mcc