procmail
[Top] [All Lists]

Re: testing body size

2004-04-20 08:33:17
On Tue, 20 Apr 2004, 08:46 GMT-05 David W. Tamkin wrote:

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 }

thanks, that works and is really simple. I have been too lazy to look
around for this, but now also found it at
http://pm-doc.sourceforge.net/pm-tips-body.html#counting_lines_in_a_message

rob.


_______________________________________________
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>