[Dovecot] Sieve script does not run in dovecot 2.0 on squeeze

Janne Snabb snabb at epipe.com
Thu May 3 10:42:51 EEST 2012


On 05/03/2012 04:54 AM, Victor Oñate wrote:

> In dovecot.conf I have
> 
> 
> mail_location = maildir:~/Maildir
> 
> plugin {
>   quota = dirsize
>   sieve=~/currently-active-script.sieve
>   sieve_dir=~/sieve
>   sieve_storage=~/sieve
> }
> 
> protocols = imap sieve
> 
> protocol sieve {
>   managesieve_logout_format = bytes ( in=%i : out=%o )
> }
> 
> service managesieve-login {
>    user = dovecot
>    inet_listener sieve {
>      port = 4190
>    }
>    process_limit = 2000
> }
> 
> 
> userdb {
>   args = /etc/dovecot/dovecot-ldap.conf
>   driver = ldap
> }

After you have fixed your Postfix configuration (see below), you
probably need to add:

protocol lda {
  mail_plugins = $mail_plugins sieve
}

> In postfix I have
> 
> 
> home_mailbox  = Maildir/

You need to configure Postfix to use local delivery agent (LDA) which
supports sieve, such as Dovecot's LDA with sieve plugin. Have a look at:
http://wiki.dovecot.org/LDA/Postfix

> the problem is that the script does not run and so the mail is delivered
> the initial recipient.
> 
> I use LDAP to delivery the mail.
> 
> any idea. Thank you.

Hope this helps.

-- 
Janne Snabb / EPIPE Communications
snabb at epipe.com - http://epipe.com/



More information about the dovecot mailing list