From cburman at elbolson.com Thu Jul 2 12:39:02 2009 From: cburman at elbolson.com (Claudia Burman) Date: Thu, 02 Jul 2009 09:39:02 -0300 Subject: [ingo] How to add a default rule for all users Message-ID: <4A4CAA66.3000809@elbolson.com> Hi, for my new mail server: I'm using Postfix + Dovecot + Spamassassin (with Clamav plugin) + Sieve I have successfully set up Horde, Ingo is using vfs as driver (vfstype=ftp) and it is working as expected, writing the scripts in each user's home folder. This is what I need now: I have set up Clamav plugin to add a header "X-Spam-Virus" Dovecot-sieve has a global script. If a user doesn't have a sieve script in his home folder, the global script is used. This global script is: require ["fileinto"]; if header :contains "X-Spam-Virus" "Yes" { discard; stop; } if header :contains "X-Spam-Flag" "Yes" { fileinto "spam"; stop; } Of course, when a user creates his own script, the "x-spam-virus" rule will dissapear and viruses will be accepted. Is there a way to create another default rule in Ingo? Thanks Claudia Burman El Bolson - Patagonia Argentina