I've tried to use a recipe like this to report the size of a mail:
#Toss huge things
* > 500000
LOG="Huge mail received: $=
but the size logged is always zero. I'm obviously misunderstanding
the passage in the procmailrc manpage that says:
The only substitutions of environment variables that can
be handled by procmail itself are of the type ... $=;
whereby ... and $= will contain the score of the last recipe."
The recipe above does indeed toss huge things, so I thought I'd
be able to get the "score of the last recipe." What am I missing?
procmail mailing list