[Top] [All Lists]

Re: Sieve extension to expire mails?

2004-03-11 22:11:17

On Thu, 11 Mar 2004, Mark E. Mallett wrote:

The thing that I would like to see is more of limiting the volume
of a folder, either in terms of total data size or of number of messages.
So either

    fileinto :keep-maximum-messages 100 "somefolder";
    fileinto :keep-maximum-storage 100k "somefolder";
(or both).

In addition to Ned's comments (which I tend to agree with), does
implementing this sort of folder semantic on a per-message basis even
make any sense?

Let's presume the script:

if envelope :all :contains "to" "rjs3+a@" {
        fileinto "";
} elsif envelope :all :contains "to" "rjs3+b@" {
        fileinto :keep-maximum-storage 100k "";

Does this mean the script only enforces the limit when an "rjs3+b" message
arrives?  If so, is that even useful?

Its entirely unclear to me that folder-wide attributes are useful to
employ in a sieve script.  Per-message expiration dates (and even generic
annotation-setting) seems fine, but folder-wide attributes just don't seem
like a good fit.


Rob Siemborski | Andrew Systems Group * Research Systems Programmer
PGP:0x5CE32FCC | Cyert Hall 207 * rjs3(_at_)andrew(_dot_)cmu(_dot_)edu * 
Version: 3.12
GCS/IT/CM/PA d- s+: a-- C++++$ ULS++++$ P+++$ L+++ E W+ N(-) o? K- w-- O-
M-- V-- PS+ PE+ Y+ PGP+ t+@ 5+++ X- R@ tv-- b+ DI+++ D++ G e++ h+ r- y?