This commit is contained in:
parent
03558092ac
commit
ed18297690
3 changed files with 3 additions and 6 deletions
|
@ -1,10 +1,5 @@
|
|||
require "body";
|
||||
require "fileinto";
|
||||
|
||||
if header :contains "X-Spam" "Yes" {
|
||||
fileinto "Junk";
|
||||
}
|
||||
|
||||
if body :contains ["change your password", "secure your account"] {
|
||||
fileinto "Junk";
|
||||
}
|
||||
|
|
|
@ -35,7 +35,8 @@ plugin {
|
|||
mail_crypt_save_version = 2
|
||||
mail_crypt_curve = secp521r1
|
||||
mail_crypt_require_encrypted_user_key = true
|
||||
sieve_default = file:/etc/dovecot/default.sieve
|
||||
sieve_before = file:/etc/dovecot/default.sieve
|
||||
sieve_default = file:/tmp/local.sieve
|
||||
}
|
||||
namespace inbox {
|
||||
inbox = yes
|
||||
|
|
|
@ -3,6 +3,7 @@ Image=git.strypsteen.com/mathieu/dovecot
|
|||
Network=mail.network
|
||||
Volume=/etc/certificates:/etc/certificates:z,ro
|
||||
Volume=/var/lib/container-data/dovecot:/etc/dovecot-local:z,ro
|
||||
Volume=/var/lib/container-data/dovecot/local.sieve:/tmp/local.sieve:z,ro
|
||||
Volume=dovecot.volume:/srv/mail:U,Z
|
||||
Tmpfs=/var/lib/dovecot
|
||||
PublishPort=993:993
|
||||
|
|
Loading…
Add table
Reference in a new issue