Date: Fri, 1 Jul 2005 00:15:20 -0500 From: Ryan Rempel <rgrempel@gmail.com> To: Free BSD Questions list <freebsd-questions@freebsd.org> Subject: Re: system wide fetchmail Message-ID: <fb5ec42305063022157a30cb1f@mail.gmail.com> In-Reply-To: <20050630185832.GB7111@teddy.fas.com> References: <20050630185832.GB7111@teddy.fas.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 6/30/05, stan <stanb@panix.com> 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?fb5ec42305063022157a30cb1f>