procmail
[Top] [All Lists]

Re: empty body

2004-02-09 12:24:20
Gary Funck wrote:

<> Yup. I was a little hasty on that one. Incorporating Ruud's suggestion,
<> here's the "best practices" final version:
<> 
<> SPACE = " "
<> TAB = "      "
<> WS = "$SPACE$TAB"
<> 
<> :0:
<> * $ B ?? ^^([$WS]|$)*^^
<> empty-body.mbox

Hmmm -- may I suggest adding a test on message size before feeding a
(possibly huge) msg body to the regex?

  :0:   # I chose 500 bytes to allow for maillists with many relay-hops
  * < 500
  * $ B ?? ^^([$WS]|$)*^^
  empty-body.mbox

Reto
-- 
R A Lichtensteiger      rali(_at_)tifosi(_dot_)com

  Ah tutti contenti saremo cosí, ah tutti contenti saremo, saremo cosí

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