Juan Leon wrote:
> 
> --On Sunday, March 11, 2001 11:26 PM -0500 Ken Murchison <[EMAIL PROTECTED]>
> wrote:
> 
> >
> >
> > Juan Leon wrote:
> >>
> >>  Can sieve be told to file mail to user+foo into folder
> >> foo, for any value of foo, for as long as the
> >> folder exists?  Basically, I'd like to do something like:
> >>
> >> if anyof (address :matches ["Cc","CC","To","TO"] "user+*@*") {
> >>      fileinto "INBOX.$1";
> >> }
> >
> > This can't be done.  Sieve does not have variables.
> >
> > However, if the ACL on 'foo' is set so that 'anyone' has posting ('p')
> > privileges, you don't need a Sieve rule like this.  Either an explicit
> > or implicit 'keep' will file the message appropriately (the same way it
> > would if you did not have a Sieve script).
> 
>  I thought "keep" puts the message in the default INBOX, not
> in the mailbox whose name comes after the '+'.   The sieve
> documents seem to confirm.

The Sieve documentatiom does hint it only files into the INBOX.  But
Larry and I decided that since Cyrus supports "plus-addressing", that
'keep' should put the message in the originally intended destination
folder (provided ACLs, quota, etc are OK).

Ken
-- 
Kenneth Murchison     Oceana Matrix Ltd.
Software Engineer     21 Princeton Place
716-662-8973 x26      Orchard Park, NY 14127
--PGP Public Key--    http://www.oceana.com/~ken/ksm.pgp

Reply via email to