procmail
[Top] [All Lists]

How to get the file name.

1999-10-03 23:10:32
Hi everybody,

I am trying to store mail in separated numbered files.

:0
mymaildir/.

and I am trying to make an index of the files in the following format.

mymaildir/2     Subject: .......
mymaildir/3     Subject: .......

How can I get the file name?

At the moment I am using

`ls -t |sed -n -e '1 p'`


I think there is a procmail built-in feature to do the job but I cannot find it
in the manual. Any hints or directions is highly appreciated.

Thank you in advance.

Tam Vuong


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