Hendrik Koch wrote on 06/01/2006 12:03: > i want to filter mails which go to a shared folder. Is this possible > with sieve? > > I'm using Postfix's recipient_bcc/sender_bcc to copy mails to an archive > folder (shared), > but i need to exclude some mails based on subject.
How do you actually deliver the mails to that shared folder? If it is through some user (like I do it in my setups), you simply create a sieve script for that user (which you would need anyway to get the mail to the shared folder(s) instead of the user's inbox). The rule would then look similar to this one: if :allof ( not header :contains "Subject" "[dont_archive], header :contains ["To","Cc"] "[EMAIL PROTECTED]" ) { fileinto "shared.folder"; stop; } cu, sven ---- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html