This commit is contained in:
CroneKorkN 2025-08-10 11:40:13 +02:00
parent c5178b1c74
commit 26b14d3ebc
Signed by: cronekorkn
SSH key fingerprint: SHA256:v0410ZKfuO1QHdgKBsdQNF64xmTxOF8osF1LIqwTcVw

View file

@ -105,7 +105,6 @@ service stats {
} }
service managesieve-login { service managesieve-login {
#inet_listener sieve {} #inet_listener sieve {}
process_min_avail = 0
process_min_avail = 1 process_min_avail = 1
process_limit = 1 process_limit = 1
vsz_limit = 64 M vsz_limit = 64 M
@ -162,20 +161,39 @@ service decode2text {
} }
} }
## # spam filter mailbox Junk {
## sieve_plugins = sieve_imapsieve sieve_extprograms sieve_script learn_spam {
## sieve_dir = /var/vmail/sieve/%u/ driver = file
## sieve = /var/vmail/sieve/%u.sieve type = before
## sieve_pipe_bin_dir = /var/vmail/sieve/bin cause = copy
## sieve_extensions = +vnd.dovecot.pipe path = /var/vmail/sieve/global/learn-spam.sieve
}
}
## # From elsewhere to Spam folder imapsieve_from Junk {
## imapsieve_mailbox1_name = Junk sieve_script learn_ham {
## imapsieve_mailbox1_causes = COPY driver = file
## imapsieve_mailbox1_before = file:/var/vmail/sieve/global/learn-spam.sieve type = before
cause = copy
path = /var/vmail/sieve/global/learn-ham.sieve
}
}
## # From Spam folder to elsewhere # Extprograms-Plugin einschalten
## imapsieve_mailbox2_name = * sieve_plugins {
## imapsieve_mailbox2_from = Junk sieve_extprograms = yes
## imapsieve_mailbox2_causes = COPY }
## imapsieve_mailbox2_before = file:/var/vmail/sieve/global/learn-ham.sieve
# Welche Sieve-Erweiterungen dürfen genutzt werden?
# Empfehlung: nur global erlauben (nicht in User-Skripten):
sieve_global_extensions {
vnd.dovecot.pipe = yes
# vnd.dovecot.filter = yes # nur falls gebraucht
# vnd.dovecot.execute = yes # nur falls gebraucht
}
# Verzeichnis mit deinen Skripten/Binaries für :pipe
sieve_pipe_bin_dir = /var/vmail/sieve/bin
# (optional, analog für :filter / :execute)
# sieve_filter_bin_dir = /var/vmail/sieve/filter
# sieve_execute_bin_dir = /var/vmail/sieve/execute