fetchmail-friends
[Top] [All Lists]

Re: [fetchmail]Fetchmail daemon mode

2005-04-17 09:36:23
"Bill Greganti" <t20030101(_at_)greganti(_dot_)com> writes:

Hi All,

I'm slightly confused on getting fetchmail to run in daemon mode.  Let me
start by saying I'm running a Debian 3.1 (Sarge) system with Fetchmail
6.2.5. I have the following files setup...

/etc/fetchmailrc
-rw-------    1 fetchmail root         65 Apr 14 23:33 fetchmailrc

  set daemon 300
  set postmaster ""
  set no bouncemail
  set no spambounce
  set syslog

Please do not run fetchmail as root. Copy your /etc/fetchmailrc
settings into the user's ~/.fetchmailrc and remove /etc/fetchmailrc.

My question should be obvious now, but is there any way to do this with only
one fetchmail process and still leave the files in ~/.fetchmailrc so the
users can edit them?

This is not a reasonable or acceptable approach to fetchmail
configuration.

If users need to run fetchmail, have them run fetchmail. This can happen
from a crontab that run fetchmail once per hour (it will keep running in
daemon mode and just wake up once an hour in addition to that, or start
itself if it isn't run), or from a root script that scans user's
directory for those files and uses "su" to start fetchmail under the
user's accounts.

-- 
Matthias Andree


<Prev in Thread] Current Thread [Next in Thread>