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).
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