[Thread Prev][Thread Next][Thread Index]

Procmail and SyncMemo (Re: SyncMemo)



Hi Perley,

> [...] latest weather for his area from The Weather Underground. It also
> updates a memo with stock info, another memo with movie listings for
> local AMC theatres, etc. 

For automatically updated Memos, procmail also does a great job! I recieve
e.g. the weekly cinema program for my hometown though a mailinglist and
procmail filters those mails, cuts off the headers and updates a file
in the ~/.pilotmgr/SyncMemo/ tree.

It's just a three-liner in ~/.procmailrc:

--
KINOFILE=$HOME/.pilotmgr/SyncMemo/Aktuelles/Kinoprogramm

:0 cb                           # Kinoprogramm in den Palm
* ^Subject: \[Kinopolis-Godesberg\]
|echo Kinoprogramm > $KINOFILE; cat >> $KINOFILE
--

You can, of course, define arbitrary criteria.

Kind regards,
--Andreas

------------------------------------------------------------------------
***********************************************************
*             This is a public mailing list!              *
* Please do not publish Sun proprietary information here! *
*        -  -  -  -  -  -  -  -  -  -  -  -  -  -         *
*             http://www.moshpit.org/pilotmgr             *
***********************************************************


SourceForge.net Logo