From owner-ietf-mta-filters Wed Nov  6 13:27:48 2002
Received: (from majordomo@localhost)
	by above.proper.com (8.11.6/8.11.3) id gA6LRmV05629
	for ietf-mta-filters-bks; Wed, 6 Nov 2002 13:27:48 -0800 (PST)
Received: from darius.cyrusoft.com (darius.cyrusoft.com [63.163.82.2])
	by above.proper.com (8.11.6/8.11.3) with ESMTP id gA6LRkv05625
	for <ietf-mta-filters@imc.org>; Wed, 6 Nov 2002 13:27:46 -0800 (PST)
Received: from euphrates.cyrusoft.com (localhost [127.0.0.1])
	by darius.cyrusoft.com (8.9.3/8.9.3) with ESMTP id QAA10135
	for <ietf-mta-filters@imc.org>; Wed, 6 Nov 2002 16:24:40 -0500 (EST)
Date: Wed, 06 Nov 2002 16:44:25 -0500
From: Cyrus Daboo <daboo@cyrusoft.com>
To: IETF MTA Filters List <ietf-mta-filters@imc.org>
Subject: I-D ACTION:draft-daboo-sieve-spamtest-01.txt (fwd)
Message-ID: <128170000.1036619065@euphrates.cyrusoft.com>
X-Mailer: Mulberry/3.0.0a5 (Linux/x86)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
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 Announcement below for an update to the spamtest draft. The major 
change in this is a switch to a syntax that allows use of the relational 
extension for numerical comparisons.

------------ Forwarded Message -----------
Date: Wednesday, November 06, 2002 06:29:25 AM -0500
From: Internet-Drafts@ietf.org
To: IETF-Announce
cc:
Subject: I-D ACTION:draft-daboo-sieve-spamtest-01.txt

A New Internet-Draft is available from the on-line Internet-Drafts
directories.


	Title		: SIEVE spamtest and virustest Extensions
	Author(s)	: C. Daboo
	Filename	: draft-daboo-sieve-spamtest-01.txt
	Pages		: 6
	Date		: 2002-11-5
	
The SIEVE [SIEVE] 'spamtest' and 'virustest' extensions permit users
to use simple, portable commands for spam and virus tests on email
messages.  Each extension provides a new test using matches against
numeric 'scores'.  It is the responsibility of the underlying SIEVE
implementation to do the actual checks that result in values
returned by the tests.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-daboo-sieve-spamtest-01.txt

To remove yourself from the IETF Announcement list, send a message to
ietf-announce-request with the word unsubscribe in the body of the message.

Internet-Drafts are also available by anonymous FTP. Login with the username
"anonymous" and a password of your e-mail address. After logging in,
type "cd internet-drafts" and then
	"get draft-daboo-sieve-spamtest-01.txt".

A list of Internet-Drafts directories can be found in
http://www.ietf.org/shadow.html
or ftp://ftp.ietf.org/ietf/1shadow-sites.txt


Internet-Drafts can also be obtained by e-mail.

Send a message to:
	mailserv@ietf.org.
In the body type:
	"FILE /internet-drafts/draft-daboo-sieve-spamtest-01.txt".
	
NOTE:	The mail server at ietf.org can return the document in
	MIME-encoded form by using the "mpack" utility.  To use this
	feature, insert the command "ENCODING mime" before the "FILE"
	command.  To decode the response(s), you will need "munpack" or
	a MIME-compliant mail reader.  Different MIME-compliant mail readers
	exhibit different behavior, especially when dealing with
	"multipart" MIME messages (i.e. documents which have been split
	up into multiple messages), so check your local documentation on
	how to manipulate these messages.
		
		
Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.

---------- End Forwarded Message ----------



-- 
Cyrus Daboo

From owner-ietf-mta-filters Sat Nov 30 01:03:02 2002
Received: (from majordomo@localhost)
	by above.proper.com (8.11.6/8.11.3) id gAU932l04570
	for ietf-mta-filters-bks; Sat, 30 Nov 2002 01:03:02 -0800 (PST)
Received: from pat.uio.no (IDENT:7411@pat.uio.no [129.240.130.16])
	by above.proper.com (8.11.6/8.11.3) with ESMTP id gAU92xg04561
	for <ietf-mta-filters@imc.org>; Sat, 30 Nov 2002 01:03:00 -0800 (PST)
Received: from tyrfing.ifi.uio.no ([129.240.65.5])
	by pat.uio.no with esmtp (Exim 2.12 #7)
	id 18I3Wa-0000v4-00
	for ietf-mta-filters@imc.org; Sat, 30 Nov 2002 10:02:56 +0100
Received: from localhost (peder@localhost) by tyrfing.ifi.uio.no ; Sat, 30 Nov 2002 10:02:56 +0100 (MET)
Date: Sat, 30 Nov 2002 10:02:56 +0100 (MET)
From: Peder Stray <peder@ifi.uio.no>
To: ietf-mta-filters@imc.org
Subject: Re: Updated regex and subaddress drafts
In-Reply-To: <Pine.LNX.4.33.0108311530090.30672-100000@lie.extundo.com>
Message-ID: <Pine.SOL.4.44.0211300947250.15805-100000@tyrfing.ifi.uio.no>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
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>


On Fri, 31 Aug 2001, Simon Josefsson wrote:

> On Thu, 30 Aug 2001, Ken Murchison wrote:
>
> > I just submitted updates of the following drafts:
> >
> > http://www.oceana.com/ftp/drafts/draft-murchison-sieve-regex-04.txt
> > http://www.oceana.com/ftp/drafts/draft-murchison-sieve-subaddress-03.txt
>
> A comment to both of these drafts:
>
> Back references!
>
> If I receive mail to simon+foobar@josefsson.org, I may want to file it
> into INBOX.lists.foobar.  I don't want explicit rules for each and every
> foobar.
>
> Same thing goes for regexp, I want to write a regexp that match a header
> "Mailing-Id: (.*)" and file that into "INBOX.lists.\1"

I have to agree... the exim filters has this type of backreferences, and
even though the possibility of a DoS, the benefits from such a constuct is
too great for it to not be included.

I myself would prefer $1, $2 and such insted of \1, \2...

It would also be approptiate to have a construct like $[...] that would
only expand if every variable within the brackets would expand.

For example, if i use " <?([^@>]+)@?([^ \n\t\r>]*)" to mach on the
X-Mailing-List header, $2 may or may not be set, and since i want the
message saved to list.$1.$2 if it is set, or list.$1 if it is not. This
could then be written as "list.$1$[.$2]".

> (The added complexity would be that `fileinto' need to be changed, I
> think.)

It would possibly be easier to just do variable expansion on all strings,
using the variables from the last successful match of a regexp.

If back references are implemented, it would be possible to reduse the
size of filters drastically. I myself use 4 rules in my exim-filter to
deliver into 54 different folders at the moment.

-- 
  Peder Stray



Received: (from majordomo@localhost) by above.proper.com (8.11.6/8.11.3) id gAU932l04570 for ietf-mta-filters-bks; Sat, 30 Nov 2002 01:03:02 -0800 (PST)
Received: from pat.uio.no (IDENT:7411@pat.uio.no [129.240.130.16]) by above.proper.com (8.11.6/8.11.3) with ESMTP id gAU92xg04561 for <ietf-mta-filters@imc.org>; Sat, 30 Nov 2002 01:03:00 -0800 (PST)
Received: from tyrfing.ifi.uio.no ([129.240.65.5]) by pat.uio.no with esmtp (Exim 2.12 #7) id 18I3Wa-0000v4-00 for ietf-mta-filters@imc.org; Sat, 30 Nov 2002 10:02:56 +0100
Received: from localhost (peder@localhost) by tyrfing.ifi.uio.no ; Sat, 30 Nov 2002 10:02:56 +0100 (MET)
Date: Sat, 30 Nov 2002 10:02:56 +0100 (MET)
From: Peder Stray <peder@ifi.uio.no>
To: ietf-mta-filters@imc.org
Subject: Re: Updated regex and subaddress drafts
In-Reply-To: <Pine.LNX.4.33.0108311530090.30672-100000@lie.extundo.com>
Message-ID: <Pine.SOL.4.44.0211300947250.15805-100000@tyrfing.ifi.uio.no>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
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>

On Fri, 31 Aug 2001, Simon Josefsson wrote:

> On Thu, 30 Aug 2001, Ken Murchison wrote:
>
> > I just submitted updates of the following drafts:
> >
> > http://www.oceana.com/ftp/drafts/draft-murchison-sieve-regex-04.txt
> > http://www.oceana.com/ftp/drafts/draft-murchison-sieve-subaddress-03.txt
>
> A comment to both of these drafts:
>
> Back references!
>
> If I receive mail to simon+foobar@josefsson.org, I may want to file it
> into INBOX.lists.foobar.  I don't want explicit rules for each and every
> foobar.
>
> Same thing goes for regexp, I want to write a regexp that match a header
> "Mailing-Id: (.*)" and file that into "INBOX.lists.\1"

I have to agree... the exim filters has this type of backreferences, and
even though the possibility of a DoS, the benefits from such a constuct is
too great for it to not be included.

I myself would prefer $1, $2 and such insted of \1, \2...

It would also be approptiate to have a construct like $[...] that would
only expand if every variable within the brackets would expand.

For example, if i use " <?([^@>]+)@?([^ \n\t\r>]*)" to mach on the
X-Mailing-List header, $2 may or may not be set, and since i want the
message saved to list.$1.$2 if it is set, or list.$1 if it is not. This
could then be written as "list.$1$[.$2]".

> (The added complexity would be that `fileinto' need to be changed, I
> think.)

It would possibly be easier to just do variable expansion on all strings,
using the variables from the last successful match of a regexp.

If back references are implemented, it would be possible to reduse the
size of filters drastically. I myself use 4 rules in my exim-filter to
deliver into 54 different folders at the moment.

-- 
  Peder Stray



Received: (from majordomo@localhost) by above.proper.com (8.11.6/8.11.3) id gA6LRmV05629 for ietf-mta-filters-bks; Wed, 6 Nov 2002 13:27:48 -0800 (PST)
Received: from darius.cyrusoft.com (darius.cyrusoft.com [63.163.82.2]) by above.proper.com (8.11.6/8.11.3) with ESMTP id gA6LRkv05625 for <ietf-mta-filters@imc.org>; Wed, 6 Nov 2002 13:27:46 -0800 (PST)
Received: from euphrates.cyrusoft.com (localhost [127.0.0.1]) by darius.cyrusoft.com (8.9.3/8.9.3) with ESMTP id QAA10135 for <ietf-mta-filters@imc.org>; Wed, 6 Nov 2002 16:24:40 -0500 (EST)
Date: Wed, 06 Nov 2002 16:44:25 -0500
From: Cyrus Daboo <daboo@cyrusoft.com>
To: IETF MTA Filters List <ietf-mta-filters@imc.org>
Subject: I-D ACTION:draft-daboo-sieve-spamtest-01.txt (fwd)
Message-ID: <128170000.1036619065@euphrates.cyrusoft.com>
X-Mailer: Mulberry/3.0.0a5 (Linux/x86)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
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 Announcement below for an update to the spamtest draft. The major 
change in this is a switch to a syntax that allows use of the relational 
extension for numerical comparisons.

------------ Forwarded Message -----------
Date: Wednesday, November 06, 2002 06:29:25 AM -0500
From: Internet-Drafts@ietf.org
To: IETF-Announce
cc:
Subject: I-D ACTION:draft-daboo-sieve-spamtest-01.txt

A New Internet-Draft is available from the on-line Internet-Drafts
directories.


	Title		: SIEVE spamtest and virustest Extensions
	Author(s)	: C. Daboo
	Filename	: draft-daboo-sieve-spamtest-01.txt
	Pages		: 6
	Date		: 2002-11-5
	
The SIEVE [SIEVE] 'spamtest' and 'virustest' extensions permit users
to use simple, portable commands for spam and virus tests on email
messages.  Each extension provides a new test using matches against
numeric 'scores'.  It is the responsibility of the underlying SIEVE
implementation to do the actual checks that result in values
returned by the tests.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-daboo-sieve-spamtest-01.txt

To remove yourself from the IETF Announcement list, send a message to
ietf-announce-request with the word unsubscribe in the body of the message.

Internet-Drafts are also available by anonymous FTP. Login with the username
"anonymous" and a password of your e-mail address. After logging in,
type "cd internet-drafts" and then
	"get draft-daboo-sieve-spamtest-01.txt".

A list of Internet-Drafts directories can be found in
http://www.ietf.org/shadow.html
or ftp://ftp.ietf.org/ietf/1shadow-sites.txt


Internet-Drafts can also be obtained by e-mail.

Send a message to:
	mailserv@ietf.org.
In the body type:
	"FILE /internet-drafts/draft-daboo-sieve-spamtest-01.txt".
	
NOTE:	The mail server at ietf.org can return the document in
	MIME-encoded form by using the "mpack" utility.  To use this
	feature, insert the command "ENCODING mime" before the "FILE"
	command.  To decode the response(s), you will need "munpack" or
	a MIME-compliant mail reader.  Different MIME-compliant mail readers
	exhibit different behavior, especially when dealing with
	"multipart" MIME messages (i.e. documents which have been split
	up into multiple messages), so check your local documentation on
	how to manipulate these messages.
		
		
Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.

---------- End Forwarded Message ----------



-- 
Cyrus Daboo

