procmail
[Top] [All Lists]

Re: Bug in the man page?

2002-10-28 12:18:43
From: Udi Mottelo <uuddii(_at_)eng(_dot_)tau(_dot_)ac(_dot_)il>

      From the man page:

     <    Check if the total length of the mail is  shorter  than
          the specified (in decimal) number of bytes.

      I understood that "total length of the mail" is equal to "HB"
      flags.  Anyway, I tried to force check on the Body only:

:0 B
* > 5000

      It doesn't match, on the other hand if I use the Header
      flag (the default):

:0 H
* > 5000

      It works!  Also, if I use the condition flag (force?):

:0 B
* H ?? > 5000

      It works.   Is "H" == "Total"?


No.  But, as it turns out, or so I've been told recently when I
asked a similar question, the size-check condition seems to ignore the
up-top B and H flags.  To do only the body, I've had good luck with
putting the flag on the condition line itself:

        :0
        * B ?? > 5000

That doesn't explain your reported results, though.  But maybe you
misinterpreted the data?  Not sure, but try the flag on the condition
line: I'll bet it will work.

dman


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