can sieve file emails to corresponding folder by subaddress?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx goes to INBOX.Projects.EECZ
zhangweiwu+gtz.pado@xxxxxxxxxx goes to INBOX.Projects.GTZ.PADO
zhangweiwu+web.yuliansu@xxxxxxxxxx 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

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

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux