[plug] Mail - i don't what subject should go here

Leon Brooks leon at brooks.fdns.net
Mon Sep 16 08:29:08 WST 2002


On Sun, 15 Sep 2002 22:49, Craig Ringer wrote:
> That should be possibly by parsing the
> /var/spool/mail/<username> file

Um, no. Parse the messages one by one as they arrive. A ~/.procmailrc config 
to do this is `Lesson 1' in procmail.

> - possibly with the assistance of more
> friendly perl modules - and just grabbing messages with a certain [tag]
> in the Subject: line.

Not necessary, unless you need to save resources. Just unpack each message and 
look for your magic file (or whatever).

Cheers; Leon



More information about the plug mailing list