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:
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
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:
On Tue, 23 Jan 2024 11:57:11 -0500 joe a joea-lists@j4computers.com wrote:
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
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.
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:
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
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.
On 1/23/2024 13:20:20, Arjen de Korte wrote:
Citeren joe a joea-lists@j4computers.com:
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
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.
Thanks for the suggestions. Those conf settings were OK, "sieve" needed adding to dovecot.conf and not 20-managesieve.conf.
Should have tried that much earlier, but had convinced myself otherwise.
Citeren joe a joea-lists@j4computers.com:
On 1/23/2024 13:20:20, Arjen de Korte wrote:
Citeren joe a joea-lists@j4computers.com:
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.21You 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.Thanks for the suggestions. Those conf settings were OK, "sieve"
needed adding to dovecot.conf and not 20-managesieve.conf.
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.
On 1/23/2024 15:37:27, Arjen de Korte wrote:
Citeren joe a joea-lists@j4computers.com:
On 1/23/2024 13:20:20, Arjen de Korte wrote:
Citeren joe a joea-lists@j4computers.com:
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
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.
Thanks for the suggestions. Those conf settings were OK, "sieve" needed adding to dovecot.conf and not 20-managesieve.conf.
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.
I'm certainly open to those suggestions. Question becomes, if I did, how? Where? Hmm . . . Any psychics on the list?
As noob that is "bootstrapping", things can get pretty iffy, pretty quickly.
participants (3)
-
Arjen de Korte
-
Chad Wallace
-
joe a