-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 03/22/07 10:42, Greg Folkert wrote: > On Thu, 2007-03-22 at 11:38 +0800, Jian Jun Wang wrote: >> I installed Debian etch on my laptop and I want to configure fetchmail >> to get my mails from gmail. In order to run fetchmail at startup, I >> did >> 1. Installed sysv-rc-conf and toggle fetchmail in it as root >> 2. edit /etc/default/fetchmail, to make it as daemon >> 3. edit $HOME/.fetchmailrc >> >> defaults >> mda "/usr/bin/procmail -d %T" >> >> set logfile "/home/jerry/.log/fetchmail.log" > > Sorry, but running fetchmail as a daemon is the worst possible way to > run fetchmail. > > Run it as a cronjob as a job as your user. It will work. You just need > to setup your .fetchmailrc properly. > > ANYTIME I've run fetchmail as a system daemon it dies sooner or later. > Usually sooner. Or even better yet it stalls. never more to retrieve > mail. > > I've always setup fetchmail to run as a cronjob every 10-30 minutes > depending on you tastes. Any more often than 10 minutes runs the risk of > colliding with another previous instance.
That's how I do it, but every 5 minutes, and have seen no problems. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFGAqTbS9HxQb37XmcRAkUsAJkB2sA0/zbtiHk0irzHWQlq/oiFjwCePh6P 639+tMVGK1hEnk6h5EmSiJg= =0/qj -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]