Sieve v dovecotu

20-lmtp.conf

protocol lmtp {

mail_plugins = $mail_plugins sieve

}

90-sieve.conf

sieve_default = /var/mail/vhosts/.dovecot.sieve

sieve=~/.dovecot.sieve

/var/mail/vhosts/.dovecot.sieve

if address :matches [“to”,”cc”,”bss”] “*@domain.com

{

redirect “${1}@domain.local”;

keep;

}

Napsat komentář