diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2020-01-02 19:27:33 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2020-01-02 19:27:33 +0100 |
commit | 95ca3110e943462ca8a998a3b1e575bc35cc93a9 (patch) | |
tree | f203a1d3d3c2546037725046af46d2dec5051605 /modules | |
parent | 4c853ba6f422460ebfb775856920542db6a88fb8 (diff) | |
download | Nix-95ca3110e943462ca8a998a3b1e575bc35cc93a9.tar.gz Nix-95ca3110e943462ca8a998a3b1e575bc35cc93a9.tar.zst Nix-95ca3110e943462ca8a998a3b1e575bc35cc93a9.zip |
Add nojunk folder to classify hams
Diffstat (limited to 'modules')
-rw-r--r-- | modules/private/mail/dovecot.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/private/mail/dovecot.nix b/modules/private/mail/dovecot.nix index 16053ea..4facef5 100644 --- a/modules/private/mail/dovecot.nix +++ b/modules/private/mail/dovecot.nix | |||
@@ -141,6 +141,11 @@ in | |||
141 | imapsieve_mailbox2_causes = COPY | 141 | imapsieve_mailbox2_causes = COPY |
142 | imapsieve_mailbox2_before = file:${./sieve_scripts}/report_ham.sieve;bindir=/var/lib/vhost/.imapsieve_bin | 142 | imapsieve_mailbox2_before = file:${./sieve_scripts}/report_ham.sieve;bindir=/var/lib/vhost/.imapsieve_bin |
143 | 143 | ||
144 | # From anywhere to NoJunk folder | ||
145 | imapsieve_mailbox3_name = NoJunk | ||
146 | imapsieve_mailbox3_causes = COPY APPEND | ||
147 | imapsieve_mailbox3_before = file:${./sieve_scripts}/report_ham.sieve;bindir=/var/lib/vhost/.imapsieve_bin | ||
148 | |||
144 | sieve_pipe_bin_dir = ${sieve_bin} | 149 | sieve_pipe_bin_dir = ${sieve_bin} |
145 | 150 | ||
146 | sieve_global_extensions = +vnd.dovecot.pipe +vnd.dovecot.environment | 151 | sieve_global_extensions = +vnd.dovecot.pipe +vnd.dovecot.environment |