Commit Diff


commit - 96556d0722aae5beede4fe69adc672843279eaa8
commit + 60d751bbada07b8a02ff42e4828aabd10e4333ad
blob - 811a2f13c5aac64f36b123ecce4f8f437fecec20
blob + 549317b41bced3601fe8aef8c69477d36315a45b
--- templates/10-ssl.conf.j2
+++ templates/10-ssl.conf.j2
@@ -3,4 +3,4 @@
 #ssl_key = </etc/ssl/private/{{ domain }}_private.pem
 #ssl_cipher_list = ALL:HIGH:!SSLv2:!MEDIUM:!LOW:!EXP:!RC4:!MD5:!aNULL:@STRENGTH
 #ssl_prefer_server_ciphers = yes
-#ssl_protocols = !SSLv2 !SSLv3 !TLSv1 !TLSv1.1
+#ssl_min_protocol = TLSv1.2
blob - /dev/null
blob + ce94a42a01701163a49d634cda8e46461ad42592 (mode 644)
--- /dev/null
+++ templates/report-ham.sieve.j2
@@ -0,0 +1,15 @@
+require ["vnd.dovecot.pipe", "copy", "imapsieve", "environment", "variables"];
+
+if environment :matches "imap.mailbox" "*" {
+  set "mailbox" "${1}";
+}
+
+if string "${mailbox}" "Trash" {
+  stop;
+}
+
+if environment :matches "imap.user" "*" {
+  set "username" "${1}";
+}
+
+pipe :copy "sa-learn-ham.sh";
blob - /dev/null
blob + eca0e2fedfbdf5d522517468f20dc216121e5f29 (mode 644)
--- /dev/null
+++ templates/report-spam.sieve.j2
@@ -0,0 +1,7 @@
+require ["vnd.dovecot.pipe", "copy", "imapsieve", "environment", "variables"];
+
+if environment :matches "imap.user" "*" {
+  set "username" "${1}";
+}
+
+pipe :copy "sa-learn-spam.sh";