[CentOS] Anyone use fetchmail for multiple users?
craigwhite at azapple.com
Wed Oct 12 23:53:34 UTC 2005
On Wed, 2005-10-12 at 16:44 -0700, Preston Crawford wrote:
> On Wed, 12 Oct 2005, Craig White wrote:
> > On Wed, 2005-10-12 at 16:03 -0700, Preston Crawford wrote:
> >> Trying to figure out how to configure it for multiple users. By default
> >> CentOS doesn't have a daemon setup if you want to do this.
> > ----
> > I think fetchmail by design wasn't intended to run for anything but a
> > single user and you can run many instances for many users.
> True. I think my problem in this regard is that I used SuSE for a couple
> years and they setup fetchmail as a daemon so I thought this was kosher.
> But now that I think about it...
> Anyway, I only want to run it for two people. Would I just run both of
> them in daemon mode?
yes - simply put their configs in each of their $HOME/.fetchmailrc
probably add to /etc/rc.d/rc.local
su - craig -c 'fetchmail' &
su - preston -c 'fetchmail' &
# cat /home/craig/.fetchmailrc
set daemon 180
set postmaster craig
set logfile /home/craig/fetchmail.log
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the CentOS