[imp] Fwd: Re: Fetchmail auto-poll

Chris Warren chris at dawgiestyle.com
Sat Apr 21 15:19:56 UTC 2007


On Sat, 2007-04-21 at 16:09 +0100, Steve Williams wrote:
> 
> Quoting Chris Warren <chris at dawgiestyle.com>:
> 
> > Hello,
> > Does anybody know if it is possible to have Imp act more as a frontend for
> > fetchmail?
> > What I'm trying to do is set it up so that fetchmail will be run every
> > minute or 2, without having to log in to imp.  This is so that any other
> > imap client can be used and still have the mail retrieved from the remote
> > servers.
> >
> > I'm thinking it would be useful to have the module upload a .fetchmailrc
> > file to the user's home directory, and just run fetchmail from cron.
> >
> > Would this be possible?
> >
> 
> Chris,
> 
> Edit your:
> 
> /etc/init.d/network
> or
> /etc/init.d/networking
> 
> (depending on distribution), and add:
> 
> fetchmail -d 300 -f /etc/.fetchmailrc
> 
> to that script. This will execute fetchmail with the settings defined
> in /etc/.fetchmailrc every 300 seconds.
> 
> That is how I have been running fetchmail for the past 8 years, and
> I've never had a problem.
> 
> Good luck,
> Steve

Thanks for the tip, but I don't have any problem running fetchmail.
I've run it in daemon mode for quite some time now myself with a central /etc/fetchmailrc file.  What I am looking for is a web frontend for users to generate their own .fetchmailrc files.

Chris



More information about the imp mailing list