On 3/20/2012 2:49 AM, Cédric Jeanneret wrote:
On 19.03.2012 14:27, Antoine Nguyen wrote:
2012/3/19 Cédric Jeanneret <cjeanne...@internux.ch>

Hello List!

I have a tiny-teeny problem with dovecot + sieve: it seems that the LDA
doesn't run sieve, and thus doesn't filter my emails.

Here's the sieve configuration:

plugin {
 # Used by both the Sieve plugin and the ManageSieve protocol
 sieve=/var/local/vmail/%n/**dovecot.sieve
 sieve_dir=/var/local/vmail/%n/**sieve
 sieve_extensions = +notify +imapflags
}

The managesiege:

protocol managesieve {
# Specify an alternative address:port the daemon must listen on
# (default: *:2000)
 listen = localhost:2000
 managesieve_logout_format = bytes ( in=%i : out=%o )
}
(this one is working fine, I can edit the filters through roundcube
webmail, and the correct file (/var/local/vmail/%n/dovecot.**sieve) is
edited)

the lda part:

protocol lda {
 postmaster_address = f...@bar.com
 mail_plugins = sieve
}

I think all is in place to allow dovecot to use sieve... ?

One more thing:

dovecot --version
1.2.15


Any help will be welcomed :).

Thanks in advance !

Cheers,

C.


Have you checked the MTA configuration. Does it use dovecot's LDA ?

Antoine

Hello Antoine (and List),

Well, it should use dovecot, as the mails are delivered to the user inbox - and I don't think postfix knows about them..
How may I be sure otherwise that postfix really uses dovecot?

Cheers,

C.

If you are using dovecot 1.2, I think lda should show lines like the following in your log.

Mar 11 14:14:06 mailstor1 dovecot: deliver(u...@domain.tld): sieve: msgid=<xxxxx>: stored mail into mailbox 'INBOX'

'deliver' refers to lda.

Reply via email to