At 09:33 PM, 30 June 1997, Timothy Luoma <luomat(_at_)peak(_dot_)org> wrote:
How do I report the size of an incoming mail to the log?
You can get the size with:
:0
* 1^1 > 1
* 1^0 ^^
{
SIZE=$=
LOG="Size: $SIZE
"
}
The first condition sets the score to the size of the message, but
despite what the procmailsc manpage says, it's always 1 too low, so the
second condition adds 1 to the score.
--
Aaron Schrab aaron(_at_)schrab(_dot_)com http://www.execpc.com/~aarons/
Deliver yesterday, code today, think tomorrow.