procmail
[Top] [All Lists]

Getting Message Size into a Variable

1997-03-03 08:22:04
    If this is in a man page and I somehow overlooked it, my apology. 
I am using procmail 3.10 (and what is I suppose the equivalent formail)
under SunOS 4.1.4.  I finally perfected a simple, reusable recipe for
throwing selected mails into the bit bucket and recording the action in
a condensed one-line entry in the logfile.  However, I would also like
to record the message size for documentation purposes, and for that I
need the size in a variable, but I have not figured out how to capture
that information.  I presume it must exist somehow, because procmail
can use it in a condition line.  Any suggestions gratefully received. 
Many thanks.

Paul                             <pobart(_at_)access(_dot_)digex(_dot_)net>
----------------------------------------------------------
Paul O. Bartlett, P.O. Box 857, Vienna, VA 22183-0857, USA
Finger, keyserver, or WWW for PGP 2.6.2 public key
Home Page:  http://www.access.digex.net/~pobart

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