From owner-ietf-mta-filters Fri Aug  8 15:03:34 2003
Received: from above.proper.com (localhost [127.0.0.1])
	by above.proper.com (8.12.9/8.12.8) with ESMTP id h78M3Yqt058194
	for <ietf-mta-filters-bks@above.proper.com>; Fri, 8 Aug 2003 15:03:34 -0700 (PDT)
	(envelope-from owner-ietf-mta-filters@mail.imc.org)
Received: (from majordom@localhost)
	by above.proper.com (8.12.9/8.12.9/Submit) id h78M3YGs058193
	for ietf-mta-filters-bks; Fri, 8 Aug 2003 15:03:34 -0700 (PDT)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-mta-filters@mail.imc.org using -f
Received: from updegrove.net (12-246-251-12.client.attbi.com [12.246.251.12])
	by above.proper.com (8.12.9/8.12.8) with SMTP id h78M3Xqt058186
	for <ietf-mta-filters@imc.org>; Fri, 8 Aug 2003 15:03:33 -0700 (PDT)
	(envelope-from dislists@updegrove.net)
Received: (qmail 6506 invoked from network); 8 Aug 2003 22:03:38 -0000
Received: from adsl-64-166-46-11.dsl.scrm01.pacbell.net (HELO updegrove.net) (64.166.46.11)
  by updegrove.net with SMTP; 8 Aug 2003 22:03:38 -0000
Message-ID: <3F341EC7.4080206@updegrove.net>
Date: Fri, 08 Aug 2003 15:05:59 -0700
From: Rick Updegrove <dislists@updegrove.net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3.1) Gecko/20030425
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: ietf-mta-filters@imc.org
CC: jutta@sendmail.com
Subject: FW: Body test
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-mta-filters@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-mta-filters/mail-archive/>
List-ID: <ietf-mta-filters.imc.org>
List-Unsubscribe: <mailto:ietf-mta-filters-request@imc.org?body=unsubscribe>


FYI - I sent this to ietf-mta-filters@imc.org  yesterday but that list 
seems to be down.  The last post was:  I will try and send it agin now 
with you as the Cc:  Just a short answer would be very much appreciated.

/postfix/sieve configuration, Manfred Friedrich, Sat, 19 Jul 2003 
11:31:29 -0700 (PDT)(envelope-from owner-ietf-mta-filters@mail.imc.org)



Hi,

I am currently conducting a Procmail vs. SIEVE test on an account that
gets roughly 1000-1500 messages per day.  The most useful tool I have
with Procmail is the "Body test" which seems to be absent from SIEVE.
Please correct me if I am wrong.

I was reading the following RFC, and wondered if someone could elaborate
on the second paragraph for me (namely which vendors).

http://www.ietf.org/internet-drafts/draft-degener-sieve-body-01.txt

1. Introduction

    The proposed "body" test checks for the occurrence of one
    or more strings in the body of an e-mail message.
    Such a test was initially discussed for the [SIEVE] base
    document, but was subsequently removed because it was
    thought to be too costly to implement.

    Nevertheless, several server vendors have implemented
    some form of the "body" test.

    This document reintroduces the "body" test as an extension,
    and specifies it syntax and semantics.


The reason I ask is I have been unsuccessfully trying the following
syntax with no success.  The script is active.

> list
myscript  <- active script
> get myscript
require ["body", "fileinto"];

# Save any message with any text MIME part that contains the
# worlds "missile" or "coordinates" in the "secrets" folder.

if body :content "text" :contains ["missile", "coordinates"] {
         fileinto "INBOX.secrets";
}

if body :raw :contains "missile" {
     fileinto "INBOX.secrets";
}



I *need* to filter based on body test and Any additional info would be
greatly appreciated.  I would be willing to implement alpha and beta
versions of SIEVE if they implement the "body test" and are available
somewhere.


Thanks in advance,

Rick

P.S.

I would also like to know how to enable the most verbose logging for
SIEVE if anyone has some suggestions they would be greatly appreciated.





From owner-ietf-mta-filters Fri Aug  8 15:29:58 2003
Received: from above.proper.com (localhost [127.0.0.1])
	by above.proper.com (8.12.9/8.12.8) with ESMTP id h78MTwqt059557
	for <ietf-mta-filters-bks@above.proper.com>; Fri, 8 Aug 2003 15:29:58 -0700 (PDT)
	(envelope-from owner-ietf-mta-filters@mail.imc.org)
Received: (from majordom@localhost)
	by above.proper.com (8.12.9/8.12.9/Submit) id h78MTweD059556
	for ietf-mta-filters-bks; Fri, 8 Aug 2003 15:29:58 -0700 (PDT)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-mta-filters@mail.imc.org using -f
Received: from mv.mv.com (qmailr@iridium.mv.net [199.125.85.17])
	by above.proper.com (8.12.9/8.12.8) with SMTP id h78MTuqt059551
	for <ietf-mta-filters@imc.org>; Fri, 8 Aug 2003 15:29:57 -0700 (PDT)
	(envelope-from mem@mv.mv.com)
Received: (qmail 1645 invoked by uid 101); 8 Aug 2003 18:29:56 -0400
From: "Mark E. Mallett" <mem@mv.mv.com>
Date: Fri, 8 Aug 2003 18:29:56 -0400
To: ietf-mta-filters@imc.org
Subject: sieve action: pipe
Message-ID: <20030808222956.GA12754@iridium.mv.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.4.1i
Sender: owner-ietf-mta-filters@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-mta-filters/mail-archive/>
List-ID: <ietf-mta-filters.imc.org>
List-Unsubscribe: <mailto:ietf-mta-filters-request@imc.org?body=unsubscribe>


Hi-

I have a little sieve implementation that I have been tinkering with.
Using it I've managed to almost completely abandon my old .procmailrc .
The only remaining things in .procmailrc are those that pipe to a
script.  e.g.:

:0 W: $REPORTS/news-rep.lock
* ^From: .*news@news-server-name
* ^Subject: .*Daily Usenet report
| $REPORTS/news-rep.sh

I would like to make something like a "pipeinto" action similar to
"fileinto" -- e.g.:

    if allof (
       address :is "from" "news@news-server-name",
       header :is "subject" "daily usenet report" ) {
        pipeinto :lockfile "news-rep.lock" "news-rep.sh";
    }

Have there been any thoughts about such a facility?  I'd rather
use an agreed-upon format than make something up, but I wasn't
able to find anything.

mm

From owner-ietf-mta-filters Sat Aug  9 02:29:09 2003
Received: from above.proper.com (localhost [127.0.0.1])
	by above.proper.com (8.12.9/8.12.8) with ESMTP id h799T8qt004813
	for <ietf-mta-filters-bks@above.proper.com>; Sat, 9 Aug 2003 02:29:08 -0700 (PDT)
	(envelope-from owner-ietf-mta-filters@mail.imc.org)
Received: (from majordom@localhost)
	by above.proper.com (8.12.9/8.12.9/Submit) id h799T8so004812
	for ietf-mta-filters-bks; Sat, 9 Aug 2003 02:29:08 -0700 (PDT)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-mta-filters@mail.imc.org using -f
Received: from starship.enterprise.ucs.ed.ac.uk (starship.enterprise.ucs.ed.ac.uk [129.215.40.70])
	by above.proper.com (8.12.9/8.12.8) with ESMTP id h799T6qt004802
	for <ietf-mta-filters@imc.org>; Sat, 9 Aug 2003 02:29:07 -0700 (PDT)
	(envelope-from Nigel@swinson.com)
Received: from nigelhome (unverified [80.195.14.206]) by starship.enterprise.ucs.ed.ac.uk
 (Rockliffe SMTPRA 5.3.3) with ESMTP id <B0000005808@starship.enterprise.ucs.ed.ac.uk>;
 Sat, 9 Aug 2003 10:07:06 +0100
Message-ID: <0ade01c35e55$f9904a80$6501a8c0@nigelhome>
From: "Nigel Swinson" <Nigel@Swinson.com>
To: "Rick Updegrove" <dislists@updegrove.net>
Cc: <ietf-mta-filters@imc.org>
References: <3F341EC7.4080206@updegrove.net>
Subject: Re: Body test
Date: Sat, 9 Aug 2003 10:09:44 +0100
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by above.proper.com id h799T7qt004805
Sender: owner-ietf-mta-filters@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-mta-filters/mail-archive/>
List-ID: <ietf-mta-filters.imc.org>
List-Unsubscribe: <mailto:ietf-mta-filters-request@imc.org?body=unsubscribe>


> I was reading the following RFC, and wondered if someone could elaborate
> on the second paragraph for me (namely which vendors).
> 
> http://www.ietf.org/internet-drafts/draft-degener-sieve-body-01.txt

www.mailsite.com supports a body test.  It's not quite the same as the I-Draft, it just treats the entire body as one long string.  You can use regex and contains to match inside it which allows you to do pretty much whatever you want to search for, but obviously isn't "ideal" as the test isn't yet MIME aware, nor does it do transfer decoding or do anything with character sets.  These are obviously things which we will be looking into in the future (when I'm successful in twisting product managements arm ;o) )

> I would also like to know how to enable the most verbose logging for
> SIEVE if anyone has some suggestions they would be greatly appreciated.

The tools in Mailsite permitting you to get your scripts right include a regular expression test dialog, and a sieve script test dialog which will run your script against every message in a folder and tell you which rules matched each message.

Cheers

Nigel





Received: from above.proper.com (localhost [127.0.0.1]) by above.proper.com (8.12.9/8.12.8) with ESMTP id h799T8qt004813 for <ietf-mta-filters-bks@above.proper.com>; Sat, 9 Aug 2003 02:29:08 -0700 (PDT) (envelope-from owner-ietf-mta-filters@mail.imc.org)
Received: (from majordom@localhost) by above.proper.com (8.12.9/8.12.9/Submit) id h799T8so004812 for ietf-mta-filters-bks; Sat, 9 Aug 2003 02:29:08 -0700 (PDT)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-mta-filters@mail.imc.org using -f
Received: from starship.enterprise.ucs.ed.ac.uk (starship.enterprise.ucs.ed.ac.uk [129.215.40.70]) by above.proper.com (8.12.9/8.12.8) with ESMTP id h799T6qt004802 for <ietf-mta-filters@imc.org>; Sat, 9 Aug 2003 02:29:07 -0700 (PDT) (envelope-from Nigel@swinson.com)
Received: from nigelhome (unverified [80.195.14.206]) by starship.enterprise.ucs.ed.ac.uk (Rockliffe SMTPRA 5.3.3) with ESMTP id <B0000005808@starship.enterprise.ucs.ed.ac.uk>; Sat, 9 Aug 2003 10:07:06 +0100
Message-ID: <0ade01c35e55$f9904a80$6501a8c0@nigelhome>
From: "Nigel Swinson" <Nigel@Swinson.com>
To: "Rick Updegrove" <dislists@updegrove.net>
Cc: <ietf-mta-filters@imc.org>
References: <3F341EC7.4080206@updegrove.net>
Subject: Re: Body test
Date: Sat, 9 Aug 2003 10:09:44 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by above.proper.com id h799T7qt004805
Sender: owner-ietf-mta-filters@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-mta-filters/mail-archive/>
List-ID: <ietf-mta-filters.imc.org>
List-Unsubscribe: <mailto:ietf-mta-filters-request@imc.org?body=unsubscribe>

> I was reading the following RFC, and wondered if someone could elaborate
> on the second paragraph for me (namely which vendors).
> 
> http://www.ietf.org/internet-drafts/draft-degener-sieve-body-01.txt

www.mailsite.com supports a body test.  It's not quite the same as the I-Draft, it just treats the entire body as one long string.  You can use regex and contains to match inside it which allows you to do pretty much whatever you want to search for, but obviously isn't "ideal" as the test isn't yet MIME aware, nor does it do transfer decoding or do anything with character sets.  These are obviously things which we will be looking into in the future (when I'm successful in twisting product managements arm ;o) )

> I would also like to know how to enable the most verbose logging for
> SIEVE if anyone has some suggestions they would be greatly appreciated.

The tools in Mailsite permitting you to get your scripts right include a regular expression test dialog, and a sieve script test dialog which will run your script against every message in a folder and tell you which rules matched each message.

Cheers

Nigel





Received: from above.proper.com (localhost [127.0.0.1]) by above.proper.com (8.12.9/8.12.8) with ESMTP id h78MTwqt059557 for <ietf-mta-filters-bks@above.proper.com>; Fri, 8 Aug 2003 15:29:58 -0700 (PDT) (envelope-from owner-ietf-mta-filters@mail.imc.org)
Received: (from majordom@localhost) by above.proper.com (8.12.9/8.12.9/Submit) id h78MTweD059556 for ietf-mta-filters-bks; Fri, 8 Aug 2003 15:29:58 -0700 (PDT)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-mta-filters@mail.imc.org using -f
Received: from mv.mv.com (qmailr@iridium.mv.net [199.125.85.17]) by above.proper.com (8.12.9/8.12.8) with SMTP id h78MTuqt059551 for <ietf-mta-filters@imc.org>; Fri, 8 Aug 2003 15:29:57 -0700 (PDT) (envelope-from mem@mv.mv.com)
Received: (qmail 1645 invoked by uid 101); 8 Aug 2003 18:29:56 -0400
From: "Mark E. Mallett" <mem@mv.mv.com>
Date: Fri, 8 Aug 2003 18:29:56 -0400
To: ietf-mta-filters@imc.org
Subject: sieve action: pipe
Message-ID: <20030808222956.GA12754@iridium.mv.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.4.1i
Sender: owner-ietf-mta-filters@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-mta-filters/mail-archive/>
List-ID: <ietf-mta-filters.imc.org>
List-Unsubscribe: <mailto:ietf-mta-filters-request@imc.org?body=unsubscribe>

Hi-

I have a little sieve implementation that I have been tinkering with.
Using it I've managed to almost completely abandon my old .procmailrc .
The only remaining things in .procmailrc are those that pipe to a
script.  e.g.:

:0 W: $REPORTS/news-rep.lock
* ^From: .*news@news-server-name
* ^Subject: .*Daily Usenet report
| $REPORTS/news-rep.sh

I would like to make something like a "pipeinto" action similar to
"fileinto" -- e.g.:

    if allof (
       address :is "from" "news@news-server-name",
       header :is "subject" "daily usenet report" ) {
        pipeinto :lockfile "news-rep.lock" "news-rep.sh";
    }

Have there been any thoughts about such a facility?  I'd rather
use an agreed-upon format than make something up, but I wasn't
able to find anything.

mm


Received: from above.proper.com (localhost [127.0.0.1]) by above.proper.com (8.12.9/8.12.8) with ESMTP id h78M3Yqt058194 for <ietf-mta-filters-bks@above.proper.com>; Fri, 8 Aug 2003 15:03:34 -0700 (PDT) (envelope-from owner-ietf-mta-filters@mail.imc.org)
Received: (from majordom@localhost) by above.proper.com (8.12.9/8.12.9/Submit) id h78M3YGs058193 for ietf-mta-filters-bks; Fri, 8 Aug 2003 15:03:34 -0700 (PDT)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-mta-filters@mail.imc.org using -f
Received: from updegrove.net (12-246-251-12.client.attbi.com [12.246.251.12]) by above.proper.com (8.12.9/8.12.8) with SMTP id h78M3Xqt058186 for <ietf-mta-filters@imc.org>; Fri, 8 Aug 2003 15:03:33 -0700 (PDT) (envelope-from dislists@updegrove.net)
Received: (qmail 6506 invoked from network); 8 Aug 2003 22:03:38 -0000
Received: from adsl-64-166-46-11.dsl.scrm01.pacbell.net (HELO updegrove.net) (64.166.46.11) by updegrove.net with SMTP; 8 Aug 2003 22:03:38 -0000
Message-ID: <3F341EC7.4080206@updegrove.net>
Date: Fri, 08 Aug 2003 15:05:59 -0700
From: Rick Updegrove <dislists@updegrove.net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3.1) Gecko/20030425
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: ietf-mta-filters@imc.org
CC: jutta@sendmail.com
Subject: FW: Body test
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-mta-filters@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-mta-filters/mail-archive/>
List-ID: <ietf-mta-filters.imc.org>
List-Unsubscribe: <mailto:ietf-mta-filters-request@imc.org?body=unsubscribe>

FYI - I sent this to ietf-mta-filters@imc.org  yesterday but that list 
seems to be down.  The last post was:  I will try and send it agin now 
with you as the Cc:  Just a short answer would be very much appreciated.

/postfix/sieve configuration, Manfred Friedrich, Sat, 19 Jul 2003 
11:31:29 -0700 (PDT)(envelope-from owner-ietf-mta-filters@mail.imc.org)



Hi,

I am currently conducting a Procmail vs. SIEVE test on an account that
gets roughly 1000-1500 messages per day.  The most useful tool I have
with Procmail is the "Body test" which seems to be absent from SIEVE.
Please correct me if I am wrong.

I was reading the following RFC, and wondered if someone could elaborate
on the second paragraph for me (namely which vendors).

http://www.ietf.org/internet-drafts/draft-degener-sieve-body-01.txt

1. Introduction

    The proposed "body" test checks for the occurrence of one
    or more strings in the body of an e-mail message.
    Such a test was initially discussed for the [SIEVE] base
    document, but was subsequently removed because it was
    thought to be too costly to implement.

    Nevertheless, several server vendors have implemented
    some form of the "body" test.

    This document reintroduces the "body" test as an extension,
    and specifies it syntax and semantics.


The reason I ask is I have been unsuccessfully trying the following
syntax with no success.  The script is active.

> list
myscript  <- active script
> get myscript
require ["body", "fileinto"];

# Save any message with any text MIME part that contains the
# worlds "missile" or "coordinates" in the "secrets" folder.

if body :content "text" :contains ["missile", "coordinates"] {
         fileinto "INBOX.secrets";
}

if body :raw :contains "missile" {
     fileinto "INBOX.secrets";
}



I *need* to filter based on body test and Any additional info would be
greatly appreciated.  I would be willing to implement alpha and beta
versions of SIEVE if they implement the "body test" and are available
somewhere.


Thanks in advance,

Rick

P.S.

I would also like to know how to enable the most verbose logging for
SIEVE if anyone has some suggestions they would be greatly appreciated.





