Managesieve "config" unable to complete?
What say we try this again, on a "blank slate"?
Dovecot installed on OpenSuse Leap 15.5, from their supplied "dovecot23" package. That package claims to be Dovecot 2.3.21 and Pigeonhole 0.5.21
Unable to get managesieve to bind to port 4190. Output of dovecot -n attached.
Various tools, including lsof, sockets, do not show 4190 in use.
While grasping for/at straws, noticed this:
~: # lsof | grep manage config 19097 root mem REG 0,47 6896 257261 /usr/lib64/dovecot/modules/settings/libmanagesieve_settings.so config 19097 root mem REG 0,47 14696 257260 /usr/lib64/dovecot/modules/settings/libmanagesieve_login_settings.so
Does that suggest an attempt to configure managesieve is unable to do so? What does it infer? Bad configuration? File ownership? File rights? Bug?
Thanks for patience and forbearance
On Tue, 23 Jan 2024 11:57:11 -0500 joe a <joea-lists@j4computers.com> wrote:
I see the exact same thing when I run that command, and my ManageSieve service is running just fine.
I noticed in your "dovecot-n.txt" file that you don't have sieve in your protocols list. When I run "dovecot -n |grep protocols" I see this:
protocols = " imap lmtp sieve pop3"
But yours just says "imap lmtp"
Try adding sieve to your protocols list. My protocols list is built by including the /usr/share/dovecot/protocols.d/*.protocol files, but I'm running Debian, so I wonder if they do it the same in OpenSUSE.
Do you have a /usr/share/dovecot/protocols.d/managesieved.protocol file?
And do you have this line in your /etc/dovecot/dovecot.conf:
!include_try /usr/share/dovecot/protocols.d/*.protocol
Otherwise, is there a "protocols" line somewhere in your config?
Hope that helps! Chad.
On 1/23/2024 12:49:12, Chad Wallace wrote:
Success! Adding "sieve" to "protocols" in dovecot.conf seems to have done the trick, as far as port 4190 goes.
Odd, that, as 20-managesieve.conf has the line protocols = $protocols sieve. Which, I presumed, would add "sieve" to the existing protocols.
Apparently not?
Did not find your other referenced items, so opensuse must do it differently.
Thanks much.
Citeren joe a <joea-lists@j4computers.com>:
You need to change the following two files:
/etc/dovecot/conf.d/20-managesieve.conf protocols = $protocols sieve
/etc/dovecot/conf.d/20-lmtp.conf mail_plugins = $mail_plugins sieve
With these changes, you should at least see that sieve is running.
Note that if you're using AppArmor and depending on where you store
users mail, you may need to tweak the profiles. In that case,
'aa-logprof' is your friend.
Citeren joe a <joea-lists@j4computers.com>:
In that case, you've probably messed up your configuration somehow.
The line in 20-managesieve.conf mentioned above should add sieve to
the list of protocols as it is included by the !include conf.d/*.conf
near the end of /etc/dovecot/dovecot.conf.
Should have tried that much earlier, but had convinced myself otherwise.
In openSUSE you probably should never touch /etc/dovecot/dovecot.conf,
as all settings are set in the /etc/dovecot/conf.d/*.conf files.
participants (3)
-
Arjen de Korte
-
Chad Wallace
-
joe a