Score:0

Setting up managesieve on Dovecot

in flag

I'm trying to get my head around setting up managesieved so that my users can make use of it. So far I have done:

apt-get install dovecot-sieve dovecot-managesieved

After some debugging, I found out I need to create /home/user/sieve/tmp for each user (and set as user:mail ownership).

Then I have to symlink that back to

/home/user/..dovecot.sieve /home/user/sieve/managesieve.sieve 

So far so good. Some instructions tell you to put this in your /etc/dovecot/dovecot.conf file:

protocols = imap pop3 managesieve

Doing this, I see a warning:

Warning: Obsolete setting in /etc/dovecot/dovecot.conf:2: protocols=managesieve has been renamed to protocols=sieve

I have restarted dovecot, and setup a test filter for myself:

require ["fileinto"];
# rule:[test 2]
if allof (header :contains "from" "andy.xxxx@xxx.com")
{
    fileinto "bla";
}

My understanding is that this should then pass through the filter, and move the email directly into the "bla" folder I have created in my IMAP folders. Unfortunately this doesn't happen.

Can anyone suggest anything else to try? I'm coming up blank now

in flag
replace `managesieve` with `sieve`, as suggested by the warning?
in flag
Additionally, IIRC this is just the protocol that allows users to modifier their filter rules.
Andrew Newby avatar
in flag
@GeraldSchneider thanks - done that but it doesn't seem to pass "through" the users sieve filters? Looking in /etc/dovcot/90-sieve.conf , it says: `# Do not forget to enable the Sieve plugin in 15-lda.conf and 20-lmtp.conf` ... but I don't have a file like that (only 20-managesieve.conf , 90-sieve.conf and 90-sieve-extprograms.conf)
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.