Trying to install dovecot sieve filtering

Hey guys I’m trying to install Dovecot sieve filtering on Ubuntu

Virtualization: kvm
Operating System: Ubuntu 20.04 LTS
Kernel: Linux 5.4.0-28-generic
Architecture: x86-64

I’m getting the following problem
Fatal: Error in configuration file /etc/dovecot/conf.d/20-pop3.conf line 7: Unknown setting: service { pop3_uidl_format

protocol pop3 {
pop3_uidl_format = %08Xu%08Xv
}

This is the only uncommented line there and that is the one that is causing a problem

That is something we setup, though I don’t remember details of why (we normally don’t change defaults without a good reason). The Dovecot docs seem to recommend it, though, based on the note on this example configuration:

But, if you don’t have ancient Outlook clients you need to accommodate, it’s probably safe to skip it.

Err, actually, I think that syntax is wrong, though, and it’s not how it looks on my system.

I have pop3_uidl_format outside of the protocol block. I dunno how it would have ended up inside the block…and it doesn’t match the example config.

1 Like

Yeah it was out of the Protocol block but I was trying to see if it would change if it’s there but it doesn’t seem like there are any changes. I did all this based on a tutorial I saw on the virtualmin group. Basically what I want to do is enable the sieve filtering via roundcube in a more human readable manner instead of going through the procmail filter rules. Let me know if you have any better way of enabling the sieve filtering :slight_smile: Thank you for the response

Is the error the same when the config file syntax is valid?

1 Like

Yes, one thing after some further testing as soon as I comment out this part Sieve is not throwing errors but also doesn’t work as it’s supposed to :slight_smile:

#service managesieve-login {
  #inet_listener sieve {
   # port = 4190
#  }

Maybe you need to open that port in firewall? Can you telnet to that port?
ie telnet example.com 4190

1 Like

just a quick update here - the part below lacks one closing bracket “}”
#service managesieve-login {
#inet_listener sieve {

port = 4190

}

I’m having some other issues now but that is for another post if I can’t solve it I will post. thank you to the both of you for helping out.

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.