Andreas Winkelmann wrote: > In the examples in draft-melnikov-sieve-imapflags-03.txt flags begin > with two backslashes. It seems that I was unlucky in my choice of example scripts -- I found single backslashes only. Now I use the following script, et voilà, it works as desired. require "fileinto"; require "imapflags"; if address :contains ["To", "Cc"] "foo@xxxxxxxxxx" { addflag "\\seen"; fileinto "INBOX.foo"; } Thanks for your help, Jeff and Andreas! -R ---- 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