> -----Original Message-----
> From: Norbert Schmidt
> Sent: Wednesday, March 12, 2008 5:02 PM

> >So why not set up a cron job to poll your mail every ten minutes, or 
> >something reasonable?  Is there a good reason why its 
> execution must be 
> >tied directly to IMAP polls?
> 
> what's reasonable depends on the context. ;)

I'd go with a small perl script hooked into syslog.  The script would mostly
just print all it's input, but when it sees the LOGIN message, it also
triggers the fetchmail.

Alternatively, you could create a more complex scheme that looks at the
timestamps on the Maildir entries, but that would be much more complex since
it would have to ignore artifacts of itself.

Other options: a "special" Maildir directory for which a modification to a
file would trigger the fetchmail, so just copy any old message to it and the
fetch would occur.

Or a special address on the server (e.g. "fetchmail-userid") which would
trigger a fetch if you send anything to it (using maildrop).

> Regards,
> Norbert

Malc.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to