[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Fetchmail



So if I put "SET_DAEMON=yes" to /etc/default/fetchmail and other needed
parameters to .fetchmailrc then daemon should start for every user that
has .fetchmailrc file?


Tero Mäntyvaara

Jamie Griffin wrote:
In my /etc/default/fetchmail file i have simply changed the variable
to "SET_DAEMON=yes"

This gives a default value of 600 seconds i believe. Should you be happy
with this you would not not need to set a daemon value.
However, if you wish to set daemon to a different value, in the
/etc/fetchmailr you can add 'set daemon 300' or to however frequently you need it to poll the server. I use exactly this method and it works perfectly.
HTH, jamie
On Tue, May 27, 2008 at 01:42:45PM +0300, Tero Mäntyvaara wrote:
Hi!

I have modified also the files /etc/default/fetchmail and /etc/fetchmailrc but I don't know which parameter affects to which function. Anyway the file .fetchmailrc and user daemon are the solutions that I was looking for. I had put that "set daemon nnn" in .fetchmailrc, but it didn't work. :-(

What should I put in files /etc/default/fetchmail and /etc/fetchmailrc then?


Tero Mäntyvaara

Patricia Fraser wrote:
Hi Tero,

How do I set fetchmail to automatically fetch mails of all user?
Every user have to give command fetchmail -a at the moment to get
their mails.
Unless you want to use a system-wide fetchmail, you can put a line in
each user's .fetchmailrc:

set daemon nnn

where "nnn" is the number of seconds between polls - I have mine set at
900. They can then use "fetchmail -q" to shut the daemon down.

Cheers,


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org




Reply to: