On Fri, 25 May 2007, Matthew Whiting wrote:

is there a digest option available for this list i.e. just one email per
day?

Umm, a digest is the wrong tool for digesting large chunks of mail....

The fetchmail / procmail / spamprobe pipeline is _very_ _very_ good at
digesting, sorting, unspamming even detrolling very large quantities of mail.

My ~/.fetchmailrc, polls the imap server every 10 minutes and feeds
the output to procmail...

======================================================================
set daemon 600
set logfile /home/johnc/log/fetchmail.log
poll mailhost.tait.co.nz with proto imap:
       user "XXXXXXX" there has password "XXXXX"
       is johnc here
       mda "/usr/bin/procmail -d %T"
======================================================================

Here's a small portion of my ~/.promailrc...

It keeps a copy of everything, just in case life screws up (hasn't
happen yet in years of use)

Spamfilter's it with a Bayesian filter. Very effective.

Pulls out two email discussion groups into seperate folders.

Let's the rest through to my inbox.

======================================================================
PATH=/usr/local/bin:/usr/bin:/bin

LOGFILE=$HOME/log/procmail   #recommended
MAILDIR=$HOME/mail
DEFAULT=$MAILDIR/inbox

:0 c
before-spamprobe

:0
SCORE=| /usr/bin/spamprobe train
:0 wf
| formail -I "X-SpamProbe: $SCORE"
:0 a:
*^X-SpamProbe: SPAM
SpamIAm

:0:
* ^TO(linux-users@(it\.)?canterbury\.ac\.nz|[EMAIL PROTECTED])
IN-cantlug

:0:
* [EMAIL PROTECTED]
IN-gnuz

======================================================================



John Carter                             Phone : (64)(3) 358 6639
Tait Electronics                        Fax   : (64)(3) 359 4632
PO Box 1645 Christchurch                Email : [EMAIL PROTECTED]
New Zealand

Reply via email to