procmail
[Top] [All Lists]

Name of the delivered file of a message - MH

2000-03-23 03:48:21
Hi all,

I am using procmail v3.11pre4.  I am using procmail to
deliver mails into various MH folders.  

Now I want to record details ( and also add some
additional headers ) on incoming messages, so I invoke
another program from procmail which will parse my mail
( on stdin ) and extract various fields like
From,To,Subject etc., and also add one or two
additional headers and log all these in a log file. 
It then pipes out the entire message on to stdout. 
Now procmail gets this modified message and continues
with processing.

The issue is I also want to log the name of the file
in which the mail finally gets stored ( the MH file
number ).  

Any way I can do that ?

Eagerly awaiting your reply.

Thanks,
 -Jereecho.

__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

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