From owner-freebsd-questions@FreeBSD.ORG Fri Jul 1 07:51:32 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6E13916A41C for ; Fri, 1 Jul 2005 07:51:32 +0000 (GMT) (envelope-from freebsd@meijome.net) Received: from sigma.octantis.com.au (sigma.octantis.com.au [207.44.188.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id 20BD343D4C for ; Fri, 1 Jul 2005 07:51:31 +0000 (GMT) (envelope-from freebsd@meijome.net) Received: (qmail 30644 invoked from network); 1 Jul 2005 17:51:31 +1000 Received: from andromeda.lef.com.au (HELO ?10.168.101.24?) (210.8.93.2) by sigma.octantis.com.au with (DHE-RSA-AES256-SHA encrypted) SMTP; 1 Jul 2005 17:51:30 +1000 Message-ID: <42C4F5FA.7020709@meijome.net> Date: Fri, 01 Jul 2005 17:51:22 +1000 From: Norberto Meijome User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Free BSD Questions list References: <20050630185832.GB7111@teddy.fas.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: system wide fetchmail X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Jul 2005 07:51:32 -0000 Ryan Rempel wrote: > */5 * * * * fetchmail -s -f /usr/local/etc/fetchmailrc > Now, if you want each user to be able to administer their own > fetchmailrc, then I don't know how to do that without having each user > run fetchmail individually. wrap the fetchmail -f with a loop over user's home dirs where they can edit their own fetchmail? with some obvious checks for if -f /home/[user]/.fetchmailrc , etc, of course. Haven't thought through the implications of running fetchmail as root with user-provided config files.... maybe u can drop privileges to the user before running it. Beto