Hi,
I guess this is quite basic, still i can't solve it. I have searched my
archives of procmail-users (upto Jan 1999) but i couldn't the answer.
The incoming message should be checked for size. If size is too big,
then truncate at process like any other message - it should filter.
This is what i have:
MAX_SIZE_NMM=10000
:0fw
* $ > $MAX_SIZE_NMM
| head -c $MAX_SIZE_NMM
And this is what i get in the logfiles:
procmail: Assigning "MAX_SIZE_NMM=10000"
procmail: Match on "> 10000"
procmail: Executing "head,-c,10000"
procmail: Error while writing to "head"
procmail: Rescue of unfiltered data succeeded
procmail: Locking "/home/rejo/mp3test.lock"
The message is not limited in size.
So, what am i doing wrong here?
-R.
--
# rejo(_at_)sisterray(_dot_)xs4all(_dot_)nl (pgp: see headers) -
http://www.sisterray.nl
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail