[Dovecot] Global Script to filter Spam
Dovecot Version: 1.1.1 with sieve and managesieve configured.
I want to filter spam with the subject *SPAM* to a spam folder for all users, and i also want users to have personal sieve scripts (like vacation).
I have configured Squirrelmail, dovecot manage sieve and avelsieve plugin in squirrelmail to do that.
The problem is that the user home 's scripts are replaced with the avelsieve plugin script did it in the web interface and the configuration of .dovecot.sieve calling the global script is lost.
Is there any other way to call a global script for all users not depending in the user script?
Thanks
Andrés Fernando Yacopino
Add: global_script_path = /home/vmail/globalsieverc in your dovecot.conf
and in /home/vmail/globalsieverc:
require ["fileinto"]; # Move spam to spam folder if header :contains "X-Spam-Flag" ["YES"] { fileinto "spam"; stop; }
Lucas
users, and i also want users to have personal sieve scripts (like > vacation). > > I have configured Squirrelmail, dovecot manage sieve and avelsieve > plugin in squirrelmail to do that. > > The problem is that the user home 's scripts are replaced with the > avelsieve
On Tue, 08 Jul 2008 11:19:05 -0300, Andrés Yacopino wrote: > Dovecot Version: 1.1.1 with sieve and managesieve configured. > > I want to filter spam with the subject *SPAM* to a spam folder for all plugin script did it in the web interface and the > configuration of .dovecot.sieve calling the global script is lost. > > Is there any other way to call a global script for all users not > depending in the user script? > > > Thanks > > Andrés Fernando Yacopino
On Tue, 2008-07-08 at 11:19 -0300, Andrés Yacopino wrote:
Dovecot Version: 1.1.1 with sieve and managesieve configured.
I want to filter spam with the subject *SPAM* to a spam folder for all users, and i also want users to have personal sieve scripts (like vacation).
I have configured Squirrelmail, dovecot manage sieve and avelsieve plugin in squirrelmail to do that.
The problem is that the user home 's scripts are replaced with the avelsieve plugin script did it in the web interface and the configuration of .dovecot.sieve calling the global script is lost.
Is there any other way to call a global script for all users not depending in the user script?
v1.1 has "include" sieve command, which would allow including the global script from the local script. But currently there's no way to configure Dovecot to call both of them.
participants (3)
-
Andrés Yacopino
-
Lucas Carlessi
-
Timo Sirainen