----- Forwarded message from [EMAIL PROTECTED] -----
     Date: Sat, 21 Apr 2007 16:08:57 +0100
     From: Steve Williams <[EMAIL PROTECTED]>
Reply-To: Steve Williams <[EMAIL PROTECTED]>
  Subject: Re: [imp] Fetchmail auto-poll
       To: Chris Warren <[EMAIL PROTECTED]>

Quoting Chris Warren <[EMAIL PROTECTED]>:

> 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 -----

-- 
IMP mailing list - Join the hunt: http://horde.org/bounties/#imp
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [EMAIL PROTECTED]

Reply via email to