Re: Fetchmail
On Sat, Jun 14, 2008 at 02:52:07PM +0300, Tero Mäntyvaara wrote:
> Isn't it possible to run fetchmail as root and then one process fetches
> the mail of all users with help of ~/.fetchmail?
>
> If no, is there any script that executes daemon automatically for every
> user that has .fetchmailrc?
using individual user ~/.fetchmailrc files is probably a safer and
preferred way to use fetchmail. Running it as root obviously brings
risks which could potentially compromise the root account.
Have you tried just changing the setting 'enable daemon=yes' in the file
/etc/default/fetchmail and rebooting which should trigger the daemon
anyway?
Otherwise you could run a cron job to trigger the daemon and specify
'set daemon 300' for example in your ~/.fetchmailrc file.
Jamie
Reply to: