procmail
[Top] [All Lists]

testing body size (used to be SoftlabsAV 0.6.8 released)

2004-04-20 06:55:56
Robert Allerstorfer wrote:

I would prefer to check only the body's size instead, but am not aware
of a simple way to do it.

 :0 B
  * > 1024
  * < 1024000
  { something }

does not seem to work as intended - it seems to be the same as above.

Size conditions operate on the entire message regardless of flags on the colon line. You have to modify the condition itself:

 :0
 * B ?? > 1024
 * B ?? < 1024000
 { jump up and down in unbridled ecstasy }



_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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