mirror of
https://github.com/Mailu/Mailu.git
synced 2024-12-12 10:45:38 +02:00
Clean the dovecot configuration dir
This commit is contained in:
parent
f9c6c98180
commit
dc4b0d21ea
3
core/dovecot/conf/bin/mailtrain
Executable file
3
core/dovecot/conf/bin/mailtrain
Executable file
@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
rspamc -h antispam:11334 -P mailu "learn_$1" /dev/stdin <&0
|
@ -142,7 +142,7 @@ plugin {
|
|||||||
sieve_global_extensions = +vnd.dovecot.execute
|
sieve_global_extensions = +vnd.dovecot.execute
|
||||||
|
|
||||||
# Sieve execute
|
# Sieve execute
|
||||||
sieve_execute_bin_dir = /var/lib/dovecot/bin
|
sieve_execute_bin_dir = /etc/dovecot/bin
|
||||||
|
|
||||||
# Send vacation replies even for aliases
|
# Send vacation replies even for aliases
|
||||||
# See the Pigeonhole documentation about warnings: http://wiki2.dovecot.org/Pigeonhole/Sieve/Extensions/Vacation
|
# See the Pigeonhole documentation about warnings: http://wiki2.dovecot.org/Pigeonhole/Sieve/Extensions/Vacation
|
||||||
@ -161,11 +161,11 @@ plugin {
|
|||||||
# Learn from spam
|
# Learn from spam
|
||||||
imapsieve_mailbox1_name = Junk
|
imapsieve_mailbox1_name = Junk
|
||||||
imapsieve_mailbox1_causes = COPY
|
imapsieve_mailbox1_causes = COPY
|
||||||
imapsieve_mailbox1_before = file:/var/lib/dovecot/report-spam.sieve
|
imapsieve_mailbox1_before = file:/etc/dovecot/report-spam.sieve
|
||||||
imapsieve_mailbox2_name = *
|
imapsieve_mailbox2_name = *
|
||||||
imapsieve_mailbox2_from = Junk
|
imapsieve_mailbox2_from = Junk
|
||||||
imapsieve_mailbox2_causes = COPY
|
imapsieve_mailbox2_causes = COPY
|
||||||
imapsieve_mailbox2_before = file:/var/lib/dovecot/report-ham.sieve
|
imapsieve_mailbox2_before = file:/etc/dovecot/report-ham.sieve
|
||||||
}
|
}
|
||||||
|
|
||||||
###############
|
###############
|
||||||
|
Loading…
Reference in New Issue
Block a user