Explorar el Código

sieve default/before/after folders; added spam exmaple script

tags/v1.0.0
Robin Thoni hace 8 años
padre
commit
de292f6666

+ 0
- 0
data/dovecot/sieve/.gitkeep Ver fichero


+ 0
- 0
data/dovecot/sieve/after/.gitkeep Ver fichero


+ 0
- 0
data/dovecot/sieve/before/.gitkeep Ver fichero


+ 9
- 0
data/dovecot/sieve/before/spam.sieve Ver fichero

@@ -0,0 +1,9 @@
1
+## Generated by Vacation Sieve plugin for roundcube, the Fri, 04 Nov 2016 00:24:07 +0000 ##
2
+
3
+require ["fileinto","variables"];
4
+set "subject" "";
5
+# rule:[spam]
6
+if header :contains "subject" "[SPAM]"
7
+{
8
+	fileinto "Junk";
9
+}

+ 0
- 0
data/dovecot/sieve/include/.gitkeep Ver fichero


+ 4
- 18
dovecot/config/dovecot.conf Ver fichero

@@ -45,27 +45,13 @@ protocol lmtp {
45 45
 }
46 46
 
47 47
 plugin {
48
-  # The path to the user's main active script. If ManageSieve is used, this the
49
-  # location of the symbolic link controlled by ManageSieve.
50 48
   sieve = ~/.dovecot.sieve
51
-  #sieve_before = ~/sieve/01_vacation.sieve
52
-  #sieve_extensions = +vacation +vacation-seconds
53
-
54
-  # The default Sieve script when the user has none. This is a path to a global
55
-  # sieve script file, which gets executed ONLY if user's private Sieve script
56
-  # doesn't exist. Be sure to pre-compile this script manually using the sievec
57
-  # command line tool.
58
-  # --> See sieve_before fore executing scripts before the user's personal
59
-  #     script.
60
-  #sieve_default = /var/lib/dovecot/sieve/default.sieve
61
-
62
-  # Directory for :personal include scripts for the include extension. This
63
-  # is also where the ManageSieve service stores the user's scripts.
64 49
   sieve_dir = ~/sieve
65 50
 
66
-  # Directory for :global include scripts for the include extension. 
67
-  sieve_global_dir = /etc/dovecot/sieve/global/
68
-  sieve_global_path = /etc/dovecot/sieve/default.sieve
51
+  sieve_global_dir = /etc/dovecot/sieve/include/
52
+  sieve_default = /etc/dovecot/sieve/default.sieve
53
+  sieve_before = /etc/dovecot/sieve/before/
54
+  sieve_after = /etc/dovecot/sieve/after/
69 55
 }
70 56
 
71 57
 service managesieve-login {

Loading…
Cancelar
Guardar