From owner-freebsd-questions@FreeBSD.ORG Fri Jul 1 05:15:20 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 DB75B16A425 for ; Fri, 1 Jul 2005 05:15:20 +0000 (GMT) (envelope-from rgrempel@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id 95F6143D1D for ; Fri, 1 Jul 2005 05:15:20 +0000 (GMT) (envelope-from rgrempel@gmail.com) Received: by wproxy.gmail.com with SMTP id i4so250987wra for ; Thu, 30 Jun 2005 22:15:20 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=hDty2ysbrB4kJFGoH8DcEf2eijytM+AoC/PcstDrUKlZbLEw/w9LzlQnHjLzFzkKQp7uXrzd6YGM2QGHNXQk4tMFuPkqaKcXXgO8EELwOSeJn9l4jB006BpP3Z5eTm255QLjAulQc/8J26QxXiaaO6aqfwVBC5bHtH5NKta8GnA= Received: by 10.54.83.5 with SMTP id g5mr1121810wrb; Thu, 30 Jun 2005 22:15:20 -0700 (PDT) Received: by 10.54.39.41 with HTTP; Thu, 30 Jun 2005 22:15:19 -0700 (PDT) Message-ID: Date: Fri, 1 Jul 2005 00:15:20 -0500 From: Ryan Rempel To: Free BSD Questions list In-Reply-To: <20050630185832.GB7111@teddy.fas.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20050630185832.GB7111@teddy.fas.com> Subject: Re: system wide fetchmail X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Ryan Rempel List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Jul 2005 05:15:21 -0000 On 6/30/05, stan wrote: > I'm building a mail server for a small office. Under Debian I have seen t= he > choice of setting up a "system wide" copy of fetchmail. I'd rather do tha= t > than have to start a seperate copy for each user. Can I do this in FreeBS= D? >=20 > If so, an anyone point me to some docs for seting thsi up? What I do is run fetchmail from root's crontab, and use the -f argument to point to a global configuration file -- something like this: */5 * * * * fetchmail -s -f /usr/local/etc/fetchmailrc Then, in the fetchmailrc, I can configure whatever I need to configure in order to fetch whatever mail I want (including from multiple servers, for multiple users, etc.). I think you can also run fetchmail as a daemon if you like -- as far as I know, the only trick is to use -f to make fetchmail use a configuration file that you can set up as you like. 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.