[imp] Fwd: Re: Fetchmail auto-poll
Steve Williams
steve at lasnobberia.net
Sat Apr 21 15:09:24 UTC 2007
----- Forwarded message from steve at lasnobberia.net -----
Date: Sat, 21 Apr 2007 16:08:57 +0100
From: Steve Williams <steve at lasnobberia.net>
Reply-To: Steve Williams <steve at lasnobberia.net>
Subject: Re: [imp] Fetchmail auto-poll
To: Chris Warren <chris at dawgiestyle.com>
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
----- End forwarded message -----
More information about the imp
mailing list