Received: by ATHENA-PO-2.MIT.EDU (5.45/4.7) id AA27573; Sat, 11 Jun 88 21:34:22 EDT
From: <mackay@ATHENA.MIT.EDU>
Received: by ATHENA.MIT.EDU (5.45/4.7) id AA16483; Sat, 11 Jun 88 21:34:11 EDT
Received: by E40-368-1 (5.45/4.7)
	id AA00307; Sat, 11 Jun 88 21:34:04 EDT
Message-Id: <8806120134.AA00307@E40-368-1>
To: rap@ATHENA.MIT.EDU, bgardner@ATHENA.MIT.EDU, jbs@ATHENA.MIT.EDU
Cc: mackay@ATHENA.MIT.EDU
Subject: Rule agents
Date: Sat, 11 Jun 88 21:34:00 EDT


Here are some examples of triggers you might want to use to run sets of 
rules.  Some apply to all messages, some apply only to messages with 
certain characteristics.

Triggered by an event:

	1.  Input -- "inc" new mail:  run "prioritizer" rules
	2.  Output -- sent a message copied to self:  file a copy 
		in the "to_me" folder
	3.  More that n messages in inbox:  "cleanup" the folder
		("archiver" rules)

Triggered at a certain time:

	1.  Sunday, 4 am:  File all messages that are older than 2 weeks
			   Send tickler msgs for "tickler" msg types older 
			   than n days.
	2.  End of month:  Send out a monthly report tickler message.

Triggered by the user:

	1.  It's time to "clean up" this folder.
	2.  I'm back from vacation, so run my "vacation" instead of my 
	    "prioritizer" rules.
	3.  I'm going on vacation, so run my "I'll be gone for a while"
	    rules (which may automatically reply to people).

Thoughts, comments, suggestions?

Wendy


