can sieve file emails to corresponding folder by subaddress?

Zhang Weiwu zhangweiwu at realss.com
Wed May 14 07:57:23 EDT 2008


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

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



More information about the Info-cyrus mailing list