procmail
[Top] [All Lists]

Re: splitting up digest and sending _each_messge_ to a program

1996-08-10 18:18:39
dattier(_at_)wwa(_dot_)com (David W. Tamkin) on Sat, 10 Aug 1996 wrote:

0:name_for_the_lockfile
*^Subject: NeXT Miscellaneous digest
| formail -m 4 +1 -des appnmail csn-misc

The original use of formail -s was "formail -s program", where
formail invoked the name program for each message it split from the
input. To get the output of formail simply written to stdout, you
needed to say "formail -s cat" in those days.

Note, however, that procmail has nothing to infer a name from for
the local lockfile. If you do need a local lockfile on that recipe,
you have to specify a name for it after the second colon.

Here's a question: what does appnmail do that is special?
 
1) thanks, that looks good

2) appnmail does its own locking (and looks for existing NeXT mailbox
lockfiles, and waits for them to be removed, if necessary).

3) appnmail basically does the same thing that 'formail'  does, it
appends the message to a NeXT style mailbox.  A NeXT mailbox is a
folder with two components, a 'table_of_contents' and a 'mbox' file
(which is the same format as, say, a PINE mailbox, just a file with
all the mail in it).  'appnmail' is important because it updates
the 'table_of_contents' file which is used by the NeXT Mail
application.

Thanks
TjL

--------------------------------------------------------------------
Timothy J. Luoma <luomat(_at_)nerc(_dot_)com>       http://www.nerc.com/~luomat
          My USENET feed is slow and not very reliable
NeXT info via email: send message with SUBJECT: send-ascii info
        NeXT Information:  http://www.nerc.com/~luomat/next

<Prev in Thread] Current Thread [Next in Thread>