On Fri, 7 Jan 2000 01:18:26 -0500, Jonathan Pennington <jwp(_at_)awod(_dot_)com>
wrote:
:0 BH
* ! ^FROM_DAEMON
*$ ! ^$XLOOP
* ^Content.*multipart
* ^Content.*text/html
You are comparing against the body here, while most or all of these
should occur in the headers of the message. The B flag is wrong. If
you want to look for Content-type (not just Content.*!) text/html in
the body, you can do it like this:
* B ?? ^Conten-Type:[ ]*text/html
{
:0
| ($FORMAIL \
The braces are completely superfluous here. Anything that looks like
:0
* conditions
{
:0flags
action
}
can be rewritten more succinctly as
:0flags
* conditions
action
provided that the flags don't influence the meaning of the conditions
(B, H, or D ... any others?)
/* era */
--
Too much to say to fit into this .signature anyway: <http://www.iki.fi/era/>
Fight spam in Europe: <http://www.euro.cauce.org/> * Sign the EU petition