[wellylug] Email retrieval from POP account - limiting download based on size

Stephen Judd sljudd at paradise.net.nz
Mon Jul 28 19:22:05 NZST 2003


On Mon, 2003-07-28 at 18:36, Jamie Dobbs wrote:
> Is there any way that I can have fetchmail (or similar) set up to retrieve
> emails but limit the downloading of emails larger than a certain size (say
> 100K) to a set time period, for example between 1am and 6am each day?

Sure. Set up TWO cron jobs for fetchmail. One is your "daytime" one, and
will specify a max size with --limit; the other can be your "nighttime"
one with no max size specified.

cron tutorial here: http://www.webmasters-central.com/t/cron.shtml

Stephen




More information about the wellylug mailing list