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. -- greg, [EMAIL PROTECTED] Novell's Directory Services is a competitive product to Microsoft's Active Directory in much the same way that the Saturn V is a competitive product to those dinky little model rockets that kids light off down at the playfield. -- Thane Walkup -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]