From 1a64deeb894dc95e2645a75771732c6cc53a79ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Wed, 4 Oct 2023 01:35:06 +0200 Subject: Squash changes containing private information There were a lot of changes since the previous commit, but a lot of them contained personnal information about users. All thos changes got stashed into a single commit (history is kept in a different place) and private information was moved in a separate private repository --- modules/private/mail/sieve_scripts/backup.sieve | 7 ------- modules/private/mail/sieve_scripts/report_ham.sieve | 11 ----------- modules/private/mail/sieve_scripts/report_spam.sieve | 3 --- 3 files changed, 21 deletions(-) delete mode 100644 modules/private/mail/sieve_scripts/backup.sieve delete mode 100644 modules/private/mail/sieve_scripts/report_ham.sieve delete mode 100644 modules/private/mail/sieve_scripts/report_spam.sieve (limited to 'modules/private/mail/sieve_scripts') diff --git a/modules/private/mail/sieve_scripts/backup.sieve b/modules/private/mail/sieve_scripts/backup.sieve deleted file mode 100644 index 3014c0a..0000000 --- a/modules/private/mail/sieve_scripts/backup.sieve +++ /dev/null @@ -1,7 +0,0 @@ -# vim: filetype=sieve -require ["copy","mailbox","fileinto","regex"]; -if header :is "X-Spam" "Yes" { - fileinto :create :copy "Backup/Spam"; -} else { - fileinto :create :copy "Backup/Ham"; -} diff --git a/modules/private/mail/sieve_scripts/report_ham.sieve b/modules/private/mail/sieve_scripts/report_ham.sieve deleted file mode 100644 index f9b8481..0000000 --- a/modules/private/mail/sieve_scripts/report_ham.sieve +++ /dev/null @@ -1,11 +0,0 @@ -require ["vnd.dovecot.pipe", "copy", "imapsieve", "environment", "variables"]; - -if environment :matches "imap.mailbox" "*" { - set "mailbox" "${1}"; -} - -if string "${mailbox}" "Trash" { - stop; -} - -pipe :copy "imapsieve_copy" [ "ham" ]; diff --git a/modules/private/mail/sieve_scripts/report_spam.sieve b/modules/private/mail/sieve_scripts/report_spam.sieve deleted file mode 100644 index 9a1f794..0000000 --- a/modules/private/mail/sieve_scripts/report_spam.sieve +++ /dev/null @@ -1,3 +0,0 @@ -require ["vnd.dovecot.pipe", "copy", "imapsieve" ]; - -pipe :copy "imapsieve_copy" [ "spam" ]; -- cgit v1.2.3