Newbie question:
I don't think I've seen this question before!
I'm a version or two behind the current version of procmail, and mine
doesn't come with any documentation for the -l option...but it has been
around for a while.
What it seems to do is generate a log summary for any mail that passes
through it, and report it *as though* it was delivered to the named mail
folder.
$ formail -l /var/mail/<username>
should give me a log summary, right?
Nope. That's only part of it. You need to give formail something to
process. For example:
$ ( echo "From me"; echo "Subject: test" )| formail -l test.folder
gives the output
From me(_at_)here Tue Jan 15 10:51:31 2002
Subject: test
Folder: test.folder 68
Note that this is just like the entries in the procmail log file, but
with the delivery folder set to the value specified the '-l' option.
So if you want to perform this summarisation on an entire mail folder
you can do something like:
$ formail -l myfolder -ds </var/mail/myfolder
and get a lot of log messages as though those mails had just been
delivered to myfolder.
Please note that this is purely a description of what I see happen - it
might be that it is intended to do something completely different!
Hope that helps,
Martin
--
Martin McCarthy /</ PGP key available
`Procmail Companion' \>\ http://www.ancient-scotland.co.uk
Addison Wesley /</ http://www.ehabitat.demon.co.uk
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail