[Thread Prev][Thread Next][Thread Index]
Procmail and SyncMemo (Re: SyncMemo)
- To: "Perley B. C. Mears Jr." <perley.mears@xxxxxxxxxxxx>
- Subject: Procmail and SyncMemo (Re: SyncMemo)
- From: "Andreas S. Oesterhelt" <oes@xxxxxxxxxxxxxxxx>
- Date: Wed, 8 Dec 1999 18:15:35 +0100 (MET)
- Cc: pilotmgr@xxxxxxxxxxxxxxxxxxxx
- In-reply-to: <384E87C7.E0EAC678@east.sun.com>
- Sender: owner-pilotmgr
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 *
***********************************************************