can sieve file emails to corresponding folder by subaddress?

Alain Spineux aspineux at gmail.com
Thu May 15 06:49:32 EDT 2008


On Wed, May 14, 2008 at 1:57 PM, Zhang Weiwu <zhangweiwu at realss.com> wrote:
> The question is pretty simple:
>
> I wish sieve to file new emails to sub-folders of Projects folder by
> using sub-address.
>
> e.g.
> zhangweiwu+eecz at realss.com goes to INBOX.Projects.EECZ
> zhangweiwu+gtz.pado at realss.com goes to INBOX.Projects.GTZ.PADO
> zhangweiwu+web.yuliansu at realss.com goes to INBOX.Projects.web.yuliansu

Do you now the "plus addressing" ?

When cyrus receive an email for "zhangweiwu+web.yuliansu at realss.com",
it will try to deliver it into the folder "web.yuliansu" in zhangweiwu's INBOX
if the folder exists and "anyone" has "p" right on it. cyrus dont need sieve to
do that. Anyway you still have to create the folder and give "anyone"
the "p" right.
Be careful if you mix lower and uppercase and the use of "." (dot) in
the folder name.

Hope this help


>
> I have been doing it with the following statements:
>
> if envelope :detail "to" "web.realss"
>        { fileinto "INBOX.Projects.Web.RealSS";}
> .... [a dozen similar statements]
>
>
> The problem is I maintain a list of a dozen projects, and they update
> and changes. Everytime I had a different project I had to maintain
> sieve. I am looking for is it possible to write only one statement?
>
> --
> Real Softservice
>
> Huateng Tower, Unit 1788
> Jia 302 3rd area of Jinsong, Chao Yang
>
> Tel: +86 (10) 8773 0650 ext 603
> Mobile: 135 9950 2413
> http://www.realss.com
>
> ----
> Cyrus Home Page: http://cyrusimap.web.cmu.edu/
> Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
> List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
>



-- 
Alain Spineux
aspineux gmail com
May the sources be with you


More information about the Info-cyrus mailing list