[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: sieve dovecot




On 4/6/20 3:31 am, Gokan Atmaca wrote:
Hello

I made the Sieve settings. The settings look correct. But it does not
forward the e-mail it should deliver. I think there is an error in
communication with Postfix.

What could be the problem ?

---% sieve.conf
plugin {
    sieve = file:~/sieve;active=~/.dovecot.sieve
   #sieve = ~/.dovecot.sieve
    #sieve_dir = ~/sieve
    recipient_delimiter = +


}

---% master.conf
service lmtp {
  unix_listener /var/spool/postfix/private/lmtp {
    group = postfix
    mode = 0600
    user = postfix
   }

no idea if this will help but my /etc/dovecot/conf.d/20-lmtp.conf


protocol lmtp {
    mail_plugins = $mail_plugins sieve
}

service lmtp {
        inet_listener lmtp {
        address = 127.0.0.1
        port = 10025
        }
}


and here is my main.cf for postfix

#trying again for lmtp - works for virtual domains
virtual_transport = lmtp:127.0.0.1:10025


# Dovecot local delivery agent - for local users - enables dovecot sieve
mailbox_command = /usr/lib/dovecot/dovecot-lda -f "$SENDER" -a "$RECIPIENT"



---% home:
if allof (header :contains "subject" "test") {
     redirect "iletisim@xxx.net";
}
redirect "iletisim@yyy.nett";
keep;

--
Include this in your CONFIG.SYS File: BUGS=OFF.


Reply to: