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

Jamie Dobbs jamie.dobbs at paradise.net.nz
Mon Jul 28 21:12:28 NZST 2003


Doh! I didn't quite realise it would be that simple. Thanks for the advice.

- Jamie -

-----Original Message-----
From: wellylug-admin at lists.naos.co.nz
[mailto:wellylug-admin at lists.naos.co.nz]On Behalf Of Stephen Judd
Sent: Monday, 28 July 2003 7:22 p.m.
To: wellylug at lists.naos.co.nz
Subject: Re: [wellylug] Email retrieval from POP account -
limitingdownload based on size


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


--
Wellington Linux Users Group Mailing List: wellylug at lists.naos.co.nz
To Leave:  http://lists.naos.co.nz/mailman/listinfo/wellylug

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.504 / Virus Database: 302 - Release Date: 24/07/2003

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.504 / Virus Database: 302 - Release Date: 24/07/2003




More information about the wellylug mailing list