Просмотр исходного кода

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

tags/v1.0.0
Robin Thoni 7 лет назад
Родитель
Сommit
de292f6666

+ 0
- 0
data/dovecot/sieve/.gitkeep Просмотреть файл


+ 0
- 0
data/dovecot/sieve/after/.gitkeep Просмотреть файл


+ 0
- 0
data/dovecot/sieve/before/.gitkeep Просмотреть файл


+ 9
- 0
data/dovecot/sieve/before/spam.sieve Просмотреть файл

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 Просмотреть файл


+ 4
- 18
dovecot/config/dovecot.conf Просмотреть файл

45
 }
45
 }
46
 
46
 
47
 plugin {
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
   sieve = ~/.dovecot.sieve
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
   sieve_dir = ~/sieve
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
 service managesieve-login {
57
 service managesieve-login {

Загрузка…
Отмена
Сохранить