Just upgraded mail server from Debian 12 to 13. Fixed a number of issues with changed Dovecot, but stuck getting sieve working. The server uses LMTP. I’ll post some configuration if it helps.
But the messages in the log saying the plugin sieve_lmtpsieve is missing seems fundamental and relevant. I can’t find anything called that in the Debian repository. How is it installed? Or am I doing something fundamentally wrong?
Martin
Just upgraded mail server from Debian 12 to 13. Fixed a number of issues with changed Dovecot, but stuck getting sieve working. The server uses LMTP. I'll post some configuration if it helps. But the messages in the log saying the plugin sieve_lmtpsieve is missing seems fundamental and relevant. I can't find anything called that in the Debian repository. How is it installed? Or am I doing something fundamentally wrong? Martin
On 23/09/2025 08:56 EEST Martin Brampton via dovecot <dovecot@dovecot.org> wrote:
Just upgraded mail server from Debian 12 to 13. Fixed a number of issues with changed Dovecot, but stuck getting sieve working. The server uses LMTP. I’ll post some configuration if it helps.
But the messages in the log saying the plugin sieve_lmtpsieve is missing seems fundamental and relevant. I can’t find anything called that in the Debian repository. How is it installed? Or am I doing something fundamentally wrong?
Martin Just upgraded mail server from Debian 12 to 13. Fixed a number of issues with changed Dovecot, but stuck getting sieve working. The server uses LMTP. I'll post some configuration if it helps. But the messages in the log saying the plugin sieve_lmtpsieve is missing seems fundamental and relevant. I can't find anything called that in the Debian repository. How is it installed? Or am I doing something fundamentally wrong? Martin
Feels like you asked an LLM. Anyways this should work
protocol lmtp { mail_plugins { sieve = yes } }
Aki
Thanks. The contents of 20-lmtp.conf (with comments removed):
protocol lmtp { mail_plugins { sieve = yes } auth_username_format = %{user} }
Is that what you meant?
From logwatch:
config: Fatal: Plugin 'sieve_lmtpsieve' not found from directory /usr/lib/dovecot/modules/sieve: 10 Time(s)
Referenced directory:
root@mx:/etc/dovecot/conf.d# ls -l /usr/lib/dovecot/modules/sieve total 136 -rw-r--r-- 1 root root 71848 Jun 18 15:01 lib10_sieve_storage_ldap_plugin.so -rw-r--r-- 1 root root 47192 Jun 18 15:01 lib90_sieve_extprograms_plugin.so -rw-r--r-- 1 root root 14424 Jun 18 15:01 lib90_sieve_imapsieve_plugin.so
I don't see anything to do with lmtp there (which may make sense), but don't know how I would add anything.
Martin
On 23/09/2025 07:50, Aki Tuomi via dovecot wrote:
On 23/09/2025 08:56 EEST Martin Brampton via dovecot<dovecot@dovecot.org> wrote:
Just upgraded mail server from Debian 12 to 13. Fixed a number of issues with changed Dovecot, but stuck getting sieve working. The server uses LMTP. I’ll post some configuration if it helps.
But the messages in the log saying the plugin sieve_lmtpsieve is missing seems fundamental and relevant. I can’t find anything called that in the Debian repository. How is it installed? Or am I doing something fundamentally wrong?
Martin Just upgraded mail server from Debian 12 to 13. Fixed a number of issues with changed Dovecot, but stuck getting sieve working. The server uses LMTP. I'll post some configuration if it helps. But the messages in the log saying the plugin sieve_lmtpsieve is missing seems fundamental and relevant. I can't find anything called that in the Debian repository. How is it installed? Or am I doing something fundamentally wrong? Martin
Feels like you asked an LLM. Anyways this should work
protocol lmtp { mail_plugins { sieve = yes } }
Aki
dovecot mailing list --dovecot@dovecot.org To unsubscribe send an email todovecot-leave@dovecot.org
Thanks. The contents of 20-lmtp.conf (with comments removed):
protocol lmtp { mail_plugins { sieve = yes } auth_username_format = %{user} }
Is that what you meant?
From logwatch:
config: Fatal: Plugin 'sieve_lmtpsieve' not found from directory /usr/lib/dovecot/modules/sieve: 10 Time(s)
Referenced directory:
[1]root@mx:/etc/dovecot/conf.d# ls -l /usr/lib/dovecot/modules/sieve total 136 -rw-r--r-- 1 root root 71848 Jun 18 15:01 lib10_sieve_storage_ldap_plugin.so -rw-r--r-- 1 root root 47192 Jun 18 15:01 lib90_sieve_extprograms_plugin.so -rw-r--r-- 1 root root 14424 Jun 18 15:01 lib90_sieve_imapsieve_plugin.so
I don't see anything to do with lmtp there (which may make sense), but don't know how I would add anything.
Martin
On 23/09/2025 07:50, Aki Tuomi via dovecot wrote:
On 23/09/2025 08:56 EEST Martin Brampton via dovecot [2]<dovecot@dovecot.org> wrote:
Just upgraded mail server from Debian 12 to 13. Fixed a number of issues with changed Dovecot, but stuck getting sieve working. The server uses LMTP. I'll post some configuration if it helps.
But the messages in the log saying the plugin sieve_lmtpsieve is missing seems fundamental and relevant. I can't find anything called that in the Debian repository. How is it installed? Or am I doing something fundamentally wrong?
Martin Just upgraded mail server from Debian 12 to 13. Fixed a number of issues with changed Dovecot, but stuck getting sieve working. The server uses LMTP. I'll post some configuration if it helps. But the messages in the log saying the plugin sieve_lmtpsieve is missing seems fundamental and relevant. I can't find anything called that in the Debian repository. How is it installed? Or am I doing something fundamentally wrong? Martin
Feels like you asked an LLM. Anyways this should work
protocol lmtp { mail_plugins { sieve = yes } }
Aki
dovecot mailing list -- [3]dovecot@dovecot.org To unsubscribe send an email to [4]dovecot-leave@dovecot.org
References
Visible links
- mailto:root@mx/etc/dovecot/conf.d#
- mailto:dovecot@dovecot.org
- mailto:dovecot@dovecot.org
- mailto:dovecot-leave@dovecot.org
Anyone have thoughts on this problem?
On 23/09/2025 08:32, Martin Brampton via dovecot wrote:
Thanks. The contents of my 20-lmtp.conf (with comments removed): protocol lmtp { mail_plugins { sieve = yes } auth_username_format = %{user} } Is that what you meant? From logwatch: config: Fatal: Plugin 'sieve_lmtpsieve' not found from directory /usr/lib/dovecot/modules/sieve: 10 Time(s) Referenced directory: [1]root@mx:/etc/dovecot/conf.d# ls -l /usr/lib/dovecot/modules/sieve total 136 -rw-r--r-- 1 root root 71848 Jun 18 15:01 lib10_sieve_storage_ldap_plugin.so -rw-r--r-- 1 root root 47192 Jun 18 15:01 lib90_sieve_extprograms_plugin.so -rw-r--r-- 1 root root 14424 Jun 18 15:01 lib90_sieve_imapsieve_plugin.so I don't see anything to do with lmtp there (which may make sense), but don't know how I would add anything. Martin On 23/09/2025 07:50, Aki Tuomi via dovecot wrote:
On 23/09/2025 08:56 EEST Martin Brampton via dovecot [2]<dovecot@dovecot.org> wrote:
Just upgraded mail server from Debian 12 to 13. Fixed a number of issues with changed Dovecot, but stuck getting sieve working. The server uses LMTP. I'll post some configuration if it helps.
But the messages in the log saying the plugin sieve_lmtpsieve is missing seems fundamental and relevant. I can't find anything called that in the Debian repository. How is it installed? Or am I doing something fundamentally wrong?
Martin Just upgraded mail server from Debian 12 to 13. Fixed a number of issues with changed Dovecot, but stuck getting sieve working. The server uses LMTP. I'll post some configuration if it helps. But the messages in the log saying the plugin sieve_lmtpsieve is missing seems fundamental and relevant. I can't find anything called that in the Debian repository. How is it installed? Or am I doing something fundamentally wrong? Martin
Feels like you asked an LLM. Anyways this should work
protocol lmtp { mail_plugins { sieve = yes } }
Aki
dovecot mailing list -- [3]dovecot@dovecot.org To unsubscribe send an email to [4]dovecot-leave@dovecot.org
References
Visible links 1. mailto:root@mx/etc/dovecot/conf.d# 2. mailto:dovecot@dovecot.org 3. mailto:dovecot@dovecot.org 4. mailto:dovecot-leave@dovecot.org
dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-leave@dovecot.org
Yes. Plugin sieve_lmtpsieve is dovecot 2.3 and gone in 2.4.1. Aki above gave you the answer.
protocol lmtp { mail_plugins { sieve = yes }
Thanks. But where are you suggesting those lines should be? I already have exactly that in 20-lmtp.conf. Are you saying it should be somewhere else?
And if sieve_lmtpsieve is gone why are there references to it in the logs?
On 26/09/2025 23:43, John via dovecot wrote:
Yes. Plugin sieve_lmtpsieve is dovecot 2.3 and gone in 2.4.1. Aki above gave you the answer.
protocol lmtp { mail_plugins { sieve = yes }
dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-leave@dovecot.org
Debian dovecot 2.4.1 /etc/dovecot/conf.d/20-lmtp.conf has the lines "mail_plugin" and "sieve = yes" commented-out by default.
dovecot.conf should have a line at the bottom "!include_try local.conf". Uncomment this line. Place the above lines in /etc/dovecot/local.conf.
Always run doveconf for syntax correctness. Invalid syntax in dovecot.conf will log.
FYI: Many dovecot sections and variables can be overridden by later occurrences, but some are not. I run dovecot on Debian. Debian dovecot.conf concatenates conf.d/* into one file. The "passwd pam" { ... } cannot be overridden. Always run doveconf to see how many passwd and userdb sections show-up.
Pro-tip: Remove the include conf.d/* lines in dovecot.conf. and just manually concatenate the conf.d/* lines in dovecot.conf. Everything in one place and your configuration won't break when an upgrade occurs. Do you want to have many changes in multiple files under conf.d/*?
I filed a security bug with dovecot 2.4.1. I have not heard back. I read that I am supposed to file this kind of bug with the Linux Distro, Debian. The bug is 2.4.1 will give the same uid/gid to any account after the first authentication. Everyone else gets the same uid/gid and all clients start downloading the folders/email of this first uid/gid.
2.4.1 is not production ready.
Stay with 2.3.+ until it is ready.
On 28/09/2025 04:36 EEST John via dovecot <dovecot@dovecot.org> wrote:
Debian dovecot 2.4.1 /etc/dovecot/conf.d/20-lmtp.conf has the lines "mail_plugin" and "sieve = yes" commented-out by default.
dovecot.conf should have a line at the bottom "!include_try local.conf". Uncomment this line. Place the above lines in /etc/dovecot/local.conf.
Always run doveconf for syntax correctness. Invalid syntax in dovecot.conf will log.
FYI: Many dovecot sections and variables can be overridden by later occurrences, but some are not. I run dovecot on Debian. Debian dovecot.conf concatenates conf.d/* into one file. The "passwd pam" { ... } cannot be overridden. Always run doveconf to see how many passwd and userdb sections show-up.
Pro-tip: Remove the include conf.d/* lines in dovecot.conf. and just manually concatenate the conf.d/* lines in dovecot.conf. Everything in one place and your configuration won't break when an upgrade occurs. Do you want to have many changes in multiple files under conf.d/*?
I filed a security bug with dovecot 2.4.1. I have not heard back. I read that I am supposed to file this kind of bug with the Linux Distro, Debian. The bug is 2.4.1 will give the same uid/gid to any account after the first authentication. Everyone else gets the same uid/gid and all clients start downloading the folders/email of this first uid/gid.
2.4.1 is not production ready.
Stay with 2.3.+ until it is ready.
Such bug has not been reported to us yet, but it sounds overly broad. Lets see if someone sends this to our way as well.
Aki
Is there any answer to my problem with sieve not working with Dovecot 2.4.1 from Debian 13?
I have twice been told that it will work if my configuration includes:
protocol lmtp { mail_plugins { sieve = yes }
}}
But that has always been present. There is one and only one entry for protocol lmtp.
It still makes no sense to me that logs complain about a non-existent module - it is not referenced anywhere in the configuration.
Is there any solution or must I downgrade to Dovecot 2.3 to have a properly working system?
Best regards, Martin
--
Martin Brampton, Black Sheep Research martin@black-sheep-research.com https://black-sheep-research.com Tel: +44 1653 524272 Mobile: +44 7771 787010 Office: 4 York Road, Malton, North Yorkshire, YO17 6AX, UK.
On Sunday, Sep 28, 2025 at 7:26 am, Aki Tuomi via dovecot <dovecot@dovecot.org (mailto:dovecot@dovecot.org)> wrote:
On 28/09/2025 04:36 EEST John via dovecot <dovecot@dovecot.org> wrote:
Debian dovecot 2.4.1 /etc/dovecot/conf.d/20-lmtp.conf has the lines "mail_plugin" and "sieve = yes" commented-out by default.
dovecot.conf should have a line at the bottom "!include_try local.conf". Uncomment this line. Place the above lines in /etc/dovecot/local.conf.
Always run doveconf for syntax correctness. Invalid syntax in dovecot.conf will log.
FYI: Many dovecot sections and variables can be overridden by later occurrences, but some are not. I run dovecot on Debian. Debian dovecot.conf concatenates conf.d/* into one file. The "passwd pam" { ... } cannot be overridden. Always run doveconf to see how many passwd and userdb sections show-up.
Pro-tip: Remove the include conf.d/* lines in dovecot.conf. and just manually concatenate the conf.d/* lines in dovecot.conf. Everything in one place and your configuration won't break when an upgrade occurs. Do you want to have many changes in multiple files under conf.d/*?
I filed a security bug with dovecot 2.4.1. I have not heard back. I read that I am supposed to file this kind of bug with the Linux Distro, Debian. The bug is 2.4.1 will give the same uid/gid to any account after the first authentication. Everyone else gets the same uid/gid and all clients start downloading the folders/email of this first uid/gid.
2.4.1 is not production ready.
Stay with 2.3.+ until it is ready.
Such bug has not been reported to us yet, but it sounds overly broad. Lets see if someone sends this to our way as well.
Aki
dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-leave@dovecot.org
Is there any answer to my problem with sieve not working with Dovecot 2.4.1 from Debian 13? I have twice been told that it will work if my configuration includes: protocol lmtp { mail_plugins {
sieve = yes
}
}} But that has always been present. There is one and only one entry for protocol lmtp. It still makes no sense to me that logs complain about a non-existent module - it is not referenced anywhere in the configuration. Is there any solution or must I downgrade to Dovecot 2.3 to have a properly working system? Best regards, Martin
Martin Brampton, Black Sheep Research martin@black-sheep-research.com https://black-sheep-research.com Tel: +44 1653 524272 Mobile: +44 7771 787010 Office: 4 York Road, Malton, North Yorkshire, YO17 6AX, UK.
On Sunday, Sep 28, 2025 at 7:26 am, Aki Tuomi via dovecot
<[1]dovecot@dovecot.org> wrote:
On 28/09/2025 04:36 EEST John via dovecot <dovecot@dovecot.org> wrote:
Debian dovecot 2.4.1 /etc/dovecot/conf.d/20-lmtp.conf has the lines
"mail_plugin" and "sieve = yes" commented-out by default.
dovecot.conf should have a line at the bottom "!include_try
local.conf". Uncomment this line. Place the above lines in
/etc/dovecot/local.conf.
Always run doveconf for syntax correctness. Invalid syntax in
dovecot.conf will log.
FYI: Many dovecot sections and variables can be overridden by later
occurrences, but some are not. I run dovecot on Debian. Debian
dovecot.conf concatenates conf.d/* into one file. The "passwd pam" {
... } cannot be overridden.
Always run doveconf to see how many passwd and userdb sections
show-up.
Pro-tip: Remove the include conf.d/* lines in dovecot.conf. and just
manually concatenate the conf.d/* lines in dovecot.conf. Everything in
one place and your configuration won't break when an upgrade occurs.
Do you want to have many changes in multiple files under conf.d/*?
I filed a security bug with dovecot 2.4.1. I have not heard back. I
read that I am supposed to file this kind of bug with the Linux
Distro, Debian. The bug is 2.4.1 will give the same uid/gid to any
account after the first authentication. Everyone else gets the same
uid/gid and all clients start downloading the folders/email of this
first uid/gid.
2.4.1 is not production ready.
Stay with 2.3.+ until it is ready.
Such bug has not been reported to us yet, but it sounds overly broad.
Lets see if someone sends this to our way as well.
Aki
_______________________________________________
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-leave@dovecot.org
References
Visible links
- mailto:dovecot@dovecot.org
What exactly is not working? Can you attach doveconf -n output and, if necessary, log entries?
Aki
On 28/09/2025 10:09 EEST Martin Brampton via dovecot
<[1]dovecot@dovecot.org> wrote:
Is there any answer to my problem with sieve not working with Dovecot
2.4.1 from Debian 13?
I have twice been told that it will work if my configuration includes:
protocol lmtp { mail_plugins {
sieve = yes }
}}
But that has always been present. There is one and only one entry for
protocol lmtp.
It still makes no sense to me that logs complain about a non-existent
module - it is not referenced anywhere in the configuration.
Is there any solution or must I downgrade to Dovecot 2.3 to have a
properly working system?
Best regards, Martin
--
Martin Brampton, Black Sheep Research
[2]martin@black-sheep-research.com
[3]https://black-sheep-research.com
Tel: +44 1653 524272
Mobile: +44 7771 787010
Office: 4 York Road, Malton, North Yorkshire, YO17 6AX, UK.
On Sunday, Sep 28, 2025 at 7:26 am, Aki Tuomi via dovecot
<[4]dovecot@dovecot.org (mailto:[5]dovecot@dovecot.org)> wrote:
On 28/09/2025 04:36 EEST John via dovecot <[6]dovecot@dovecot.org>
wrote:
>
Debian dovecot 2.4.1 /etc/dovecot/conf.d/20-lmtp.conf has the lines
"mail_plugin" and "sieve = yes" commented-out by default.
dovecot.conf should have a line at the bottom "!include_try
local.conf". Uncomment this line. Place the above lines in
/etc/dovecot/local.conf.
Always run doveconf for syntax correctness. Invalid syntax in
dovecot.conf will log.
FYI: Many dovecot sections and variables can be overridden by later
occurrences, but some are not. I run dovecot on Debian. Debian
dovecot.conf concatenates conf.d/* into one file. The "passwd pam" {
... } cannot be overridden.
Always run doveconf to see how many passwd and userdb sections
show-up.
Pro-tip: Remove the include conf.d/* lines in dovecot.conf. and just
manually concatenate the conf.d/* lines in dovecot.conf. Everything
in one place and your configuration won't break when an upgrade
occurs. Do you want to have many changes in multiple files under
conf.d/*?
I filed a security bug with dovecot 2.4.1. I have not heard back. I
read that I am supposed to file this kind of bug with the Linux
Distro, Debian. The bug is 2.4.1 will give the same uid/gid to any
account after the first authentication. Everyone else gets the same
uid/gid and all clients start downloading the folders/email of this
first uid/gid.
2.4.1 is not production ready.
Stay with 2.3.+ until it is ready.
Such bug has not been reported to us yet, but it sounds overly broad.
Lets see if someone sends this to our way as well.
Aki
_______________________________________________
dovecot mailing list -- [7]dovecot@dovecot.org
To unsubscribe send an email to [8]dovecot-leave@dovecot.org
Is there any answer to my problem with sieve not working with Dovecot
2.4.1 from Debian 13?
I have twice been told that it will work if my configuration includes:
protocol lmtp {
mail_plugins {
sieve = yes
}
}}
But that has always been present. There is one and only one entry for
protocol lmtp.
It still makes no sense to me that logs complain about a non-existent
module - it is not referenced anywhere in the configuration.
Is there any solution or must I downgrade to Dovecot 2.3 to have a
properly working system?
Best regards, Martin
--
Martin Brampton, Black Sheep Research
[9]martin@black-sheep-research.com
[10]https://black-sheep-research.com
Tel: +44 1653 524272
Mobile: +44 7771 787010
Office: 4 York Road, Malton, North Yorkshire, YO17 6AX, UK.
On Sunday, Sep 28, 2025 at 7:26 am, Aki Tuomi via dovecot
<[1][11]dovecot@dovecot.org> wrote:
On 28/09/2025 04:36 EEST John via dovecot <[12]dovecot@dovecot.org>
wrote:
Debian dovecot 2.4.1 /etc/dovecot/conf.d/20-lmtp.conf has the lines
"mail_plugin" and "sieve = yes" commented-out by default.
dovecot.conf should have a line at the bottom "!include_try
local.conf". Uncomment this line. Place the above lines in
/etc/dovecot/local.conf.
Always run doveconf for syntax correctness. Invalid syntax in
dovecot.conf will log.
FYI: Many dovecot sections and variables can be overridden by later
occurrences, but some are not. I run dovecot on Debian. Debian
dovecot.conf concatenates conf.d/* into one file. The "passwd pam" {
... } cannot be overridden.
Always run doveconf to see how many passwd and userdb sections
show-up.
Pro-tip: Remove the include conf.d/* lines in dovecot.conf. and just
manually concatenate the conf.d/* lines in dovecot.conf. Everything in
one place and your configuration won't break when an upgrade occurs.
Do you want to have many changes in multiple files under conf.d/*?
I filed a security bug with dovecot 2.4.1. I have not heard back. I
read that I am supposed to file this kind of bug with the Linux
Distro, Debian. The bug is 2.4.1 will give the same uid/gid to any
account after the first authentication. Everyone else gets the same
uid/gid and all clients start downloading the folders/email of this
first uid/gid.
2.4.1 is not production ready.
Stay with 2.3.+ until it is ready.
Such bug has not been reported to us yet, but it sounds overly broad.
Lets see if someone sends this to our way as well.
Aki
_______________________________________________
dovecot mailing list -- [13]dovecot@dovecot.org
To unsubscribe send an email to [14]dovecot-leave@dovecot.org
References
Visible links
1. mailto:[15]dovecot@dovecot.org
_______________________________________________
dovecot mailing list -- [16]dovecot@dovecot.org
To unsubscribe send an email to [17]dovecot-leave@dovecot.org
References
Visible links
- mailto:dovecot@dovecot.org
- mailto:martin@black-sheep-research.com
- https://black-sheep-research.com/
- mailto:dovecot@dovecot.org
- mailto:dovecot@dovecot.org
- mailto:dovecot@dovecot.org
- mailto:dovecot@dovecot.org
- mailto:dovecot-leave@dovecot.org
- mailto:martin@black-sheep-research.com
- https://black-sheep-research.com/
- mailto:dovecot@dovecot.org
- mailto:dovecot@dovecot.org
- mailto:dovecot@dovecot.org
- mailto:dovecot-leave@dovecot.org
- mailto:dovecot@dovecot.org
- mailto:dovecot@dovecot.org
- mailto:dovecot-leave@dovecot.org
Sieve is not working. Before the upgrade to Debian 13 from Debian 12, sieve was working fine. Mail was being moved to different folders according to the rules. The rules have not changed, and have been revalidated subsequent to the move. Despite logging, there is no sign that sieve is ever running, although test mail messages qualify for being moved.
The output from doveconf -n is attached. The only mention of sieve in /var/log/mail.log is: Sep 28 04:28:02 mx dovecot[1861243]: master: Dovecot v2.4.1-4 (7d8c0e5759) starting up for imap, lmtp, sieve, pop3 (core dumps disabled)
The only recent mention of sieve in any log (apart from dpkg) is: mail.log:Sep 28 04:28:02 mx dovecot[1861243]: master: Dovecot v2.4.1-4 (7d8c0e5759) starting up for imap, lmtp, sieve, pop3 (core dumps disabled)
Older logs show testing actions, but no actual sieve operations.
managesieve is working.
On 28/09/2025 08:28, Aki Tuomi via dovecot wrote:
What exactly is not working? Can you attach doveconf -n output and, if necessary, log entries? Aki On 28/09/2025 10:09 EEST Martin Brampton via dovecot <[1]dovecot@dovecot.org> wrote: Is there any answer to my problem with sieve not working with Dovecot 2.4.1 from Debian 13? I have twice been told that it will work if my configuration includes: protocol lmtp { mail_plugins { sieve = yes } }} But that has always been present. There is one and only one entry for protocol lmtp. It still makes no sense to me that logs complain about a non-existent module - it is not referenced anywhere in the configuration. Is there any solution or must I downgrade to Dovecot 2.3 to have a properly working system? Best regards, Martin -- Martin Brampton, Black Sheep Research [2]martin@black-sheep-research.com [3]https://black-sheep-research.com Tel: +44 1653 524272 Mobile: +44 7771 787010 Office: 4 York Road, Malton, North Yorkshire, YO17 6AX, UK. On Sunday, Sep 28, 2025 at 7:26 am, Aki Tuomi via dovecot <[4]dovecot@dovecot.org (mailto:[5]dovecot@dovecot.org)> wrote: On 28/09/2025 04:36 EEST John via dovecot<[6]dovecot@dovecot.org> wrote: > Debian dovecot 2.4.1 /etc/dovecot/conf.d/20-lmtp.conf has the lines "mail_plugin" and "sieve = yes" commented-out by default. dovecot.conf should have a line at the bottom "!include_try local.conf". Uncomment this line. Place the above lines in /etc/dovecot/local.conf. Always run doveconf for syntax correctness. Invalid syntax in dovecot.conf will log. FYI: Many dovecot sections and variables can be overridden by later occurrences, but some are not. I run dovecot on Debian. Debian dovecot.conf concatenates conf.d/* into one file. The "passwd pam" { ... } cannot be overridden. Always run doveconf to see how many passwd and userdb sections show-up. Pro-tip: Remove the include conf.d/* lines in dovecot.conf. and just manually concatenate the conf.d/* lines in dovecot.conf. Everything in one place and your configuration won't break when an upgrade occurs. Do you want to have many changes in multiple files under conf.d/*? I filed a security bug with dovecot 2.4.1. I have not heard back. I read that I am supposed to file this kind of bug with the Linux Distro, Debian. The bug is 2.4.1 will give the same uid/gid to any account after the first authentication. Everyone else gets the same uid/gid and all clients start downloading the folders/email of this first uid/gid. 2.4.1 is not production ready. Stay with 2.3.+ until it is ready. Such bug has not been reported to us yet, but it sounds overly broad. Lets see if someone sends this to our way as well. Aki _______________________________________________ dovecot mailing list -- [7]dovecot@dovecot.org To unsubscribe send an email to [8]dovecot-leave@dovecot.org Is there any answer to my problem with sieve not working with Dovecot 2.4.1 from Debian 13? I have twice been told that it will work if my configuration includes: protocol lmtp { mail_plugins { sieve = yes } }} But that has always been present. There is one and only one entry for protocol lmtp. It still makes no sense to me that logs complain about a non-existent module - it is not referenced anywhere in the configuration. Is there any solution or must I downgrade to Dovecot 2.3 to have a properly working system? Best regards, Martin -- Martin Brampton, Black Sheep Research [9]martin@black-sheep-research.com [10]https://black-sheep-research.com Tel: +44 1653 524272 Mobile: +44 7771 787010 Office: 4 York Road, Malton, North Yorkshire, YO17 6AX, UK. On Sunday, Sep 28, 2025 at 7:26 am, Aki Tuomi via dovecot <[1][11]dovecot@dovecot.org> wrote: On 28/09/2025 04:36 EEST John via dovecot<[12]dovecot@dovecot.org> wrote: Debian dovecot 2.4.1 /etc/dovecot/conf.d/20-lmtp.conf has the lines "mail_plugin" and "sieve = yes" commented-out by default. dovecot.conf should have a line at the bottom "!include_try local.conf". Uncomment this line. Place the above lines in /etc/dovecot/local.conf. Always run doveconf for syntax correctness. Invalid syntax in dovecot.conf will log. FYI: Many dovecot sections and variables can be overridden by later occurrences, but some are not. I run dovecot on Debian. Debian dovecot.conf concatenates conf.d/* into one file. The "passwd pam" { ... } cannot be overridden. Always run doveconf to see how many passwd and userdb sections show-up. Pro-tip: Remove the include conf.d/* lines in dovecot.conf. and just manually concatenate the conf.d/* lines in dovecot.conf. Everything in one place and your configuration won't break when an upgrade occurs. Do you want to have many changes in multiple files under conf.d/*? I filed a security bug with dovecot 2.4.1. I have not heard back. I read that I am supposed to file this kind of bug with the Linux Distro, Debian. The bug is 2.4.1 will give the same uid/gid to any account after the first authentication. Everyone else gets the same uid/gid and all clients start downloading the folders/email of this first uid/gid. 2.4.1 is not production ready. Stay with 2.3.+ until it is ready. Such bug has not been reported to us yet, but it sounds overly broad. Lets see if someone sends this to our way as well. Aki _______________________________________________ dovecot mailing list -- [13]dovecot@dovecot.org To unsubscribe send an email to [14]dovecot-leave@dovecot.org References Visible links 1. mailto:[15]dovecot@dovecot.org _______________________________________________ dovecot mailing list -- [16]dovecot@dovecot.org To unsubscribe send an email to [17]dovecot-leave@dovecot.org
References
Visible links 1.mailto:dovecot@dovecot.org 2.mailto:martin@black-sheep-research.com 3.https://black-sheep-research.com/ 4.mailto:dovecot@dovecot.org 5.mailto:dovecot@dovecot.org 6.mailto:dovecot@dovecot.org 7.mailto:dovecot@dovecot.org 8.mailto:dovecot-leave@dovecot.org 9.mailto:martin@black-sheep-research.com
10.https://black-sheep-research.com/ 11.mailto:dovecot@dovecot.org 12.mailto:dovecot@dovecot.org 13.mailto:dovecot@dovecot.org 14.mailto:dovecot-leave@dovecot.org 15.mailto:dovecot@dovecot.org 16.mailto:dovecot@dovecot.org 17.mailto:dovecot-leave@dovecot.org
dovecot mailing list --dovecot@dovecot.org To unsubscribe send an email todovecot-leave@dovecot.org
-- Black Sheep Research icon
MartinBrampton
Director
Black Sheep Research
Phone icon
+44 1653 524272 <tel:+44 1653 524272> | +44 7771 787010 <tel:+44 7771 787010>
Email icon
martin@black-sheep-research.com <mailto:martin@black-sheep-research.com>
Website link icon
https://black-sheep-research.com <https://black-sheep-research.com>
Address icon
4 York Road, Malton, YO17 6AX, UK
Sieve is not working. Before the upgrade to Debian 13 from Debian 12, sieve was working fine. Mail was being moved to different folders according to the rules. The rules have not changed, and have been revalidated subsequent to the move. Despite logging, there is no sign that sieve is ever running, although test mail messages qualify for being moved.
The output from doveconf -n is attached. The only mention of sieve in /var/log/mail.log is: Sep 28 04:28:02 mx dovecot[1861243]: master: Dovecot v2.4.1-4 (7d8c0e5759) starting up for imap, lmtp, sieve, pop3 (core dumps disabled)
The only recent mention of sieve in any log (apart from dpkg) is: mail.log:Sep 28 04:28:02 mx dovecot[1861243]: master: Dovecot v2.4.1-4 (7d8c0e5759) starting up for imap, lmtp, sieve, pop3 (core dumps disabled)
Older logs show testing actions, but no actual sieve operations.
managesieve is working.
On 28/09/2025 08:28, Aki Tuomi via dovecot wrote:
What exactly is not working? Can you attach doveconf -n output and, if
necessary, log entries?
Aki
On 28/09/2025 10:09 EEST Martin Brampton via dovecot
[1]<[1]dovecot@dovecot.org> wrote:
Is there any answer to my problem with sieve not working with Dovecot
2.4.1 from Debian 13?
I have twice been told that it will work if my configuration includes:
protocol lmtp { mail_plugins {
sieve = yes }
}}
But that has always been present. There is one and only one entry for
protocol lmtp.
It still makes no sense to me that logs complain about a non-existent
module - it is not referenced anywhere in the configuration.
Is there any solution or must I downgrade to Dovecot 2.3 to have a
properly working system?
Best regards, Martin
--
Martin Brampton, Black Sheep Research
[[2]2]martin@black-sheep-research.com
[3][3]https://black-sheep-research.com
Tel: +44 1653 524272
Mobile: +44 7771 787010
Office: 4 York Road, Malton, North Yorkshire, YO17 6AX, UK.
On Sunday, Sep 28, 2025 at 7:26 am, Aki Tuomi via dovecot
[4]<[4]dovecot@dovecot.org (mailto:[5]dovecot@dovecot.org)> wrote:
On 28/09/2025 04:36 EEST John via dovecot [5]<[6]dovecot@dovecot.org>
wrote:
>
Debian dovecot 2.4.1 /etc/dovecot/conf.d/20-lmtp.conf has the lines
"mail_plugin" and "sieve = yes" commented-out by default.
dovecot.conf should have a line at the bottom "!include_try
local.conf". Uncomment this line. Place the above lines in
/etc/dovecot/local.conf.
Always run doveconf for syntax correctness. Invalid syntax in
dovecot.conf will log.
FYI: Many dovecot sections and variables can be overridden by later
occurrences, but some are not. I run dovecot on Debian. Debian
dovecot.conf concatenates conf.d/* into one file. The "passwd pam" {
... } cannot be overridden.
Always run doveconf to see how many passwd and userdb sections
show-up.
Pro-tip: Remove the include conf.d/* lines in dovecot.conf. and just
manually concatenate the conf.d/* lines in dovecot.conf. Everything
in one place and your configuration won't break when an upgrade
occurs. Do you want to have many changes in multiple files under
conf.d/*?
I filed a security bug with dovecot 2.4.1. I have not heard back. I
read that I am supposed to file this kind of bug with the Linux
Distro, Debian. The bug is 2.4.1 will give the same uid/gid to any
account after the first authentication. Everyone else gets the same
uid/gid and all clients start downloading the folders/email of this
first uid/gid.
2.4.1 is not production ready.
Stay with 2.3.+ until it is ready.
Such bug has not been reported to us yet, but it sounds overly broad.
Lets see if someone sends this to our way as well.
Aki
_______________________________________________
dovecot mailing list -- [[6]7]dovecot@dovecot.org
To unsubscribe send an email to [[7]8]dovecot-leave@dovecot.org
Is there any answer to my problem with sieve not working with Dovecot
2.4.1 from Debian 13?
I have twice been told that it will work if my configuration includes:
protocol lmtp {
mail_plugins {
sieve = yes
}
}}
But that has always been present. There is one and only one entry for
protocol lmtp.
It still makes no sense to me that logs complain about a non-existent
module - it is not referenced anywhere in the configuration.
Is there any solution or must I downgrade to Dovecot 2.3 to have a
properly working system?
Best regards, Martin
--
Martin Brampton, Black Sheep Research
[[8]9]martin@black-sheep-research.com
[10][9]https://black-sheep-research.com
Tel: +44 1653 524272
Mobile: +44 7771 787010
Office: 4 York Road, Malton, North Yorkshire, YO17 6AX, UK.
On Sunday, Sep 28, 2025 at 7:26 am, Aki Tuomi via dovecot
[10]<[1][11]dovecot@dovecot.org> wrote:
On 28/09/2025 04:36 EEST John via dovecot [11]<[12]dovecot@dovecot.org>
wrote:
Debian dovecot 2.4.1 /etc/dovecot/conf.d/20-lmtp.conf has the lines
"mail_plugin" and "sieve = yes" commented-out by default.
dovecot.conf should have a line at the bottom "!include_try
local.conf". Uncomment this line. Place the above lines in
/etc/dovecot/local.conf.
Always run doveconf for syntax correctness. Invalid syntax in
dovecot.conf will log.
FYI: Many dovecot sections and variables can be overridden by later
occurrences, but some are not. I run dovecot on Debian. Debian
dovecot.conf concatenates conf.d/* into one file. The "passwd pam" {
... } cannot be overridden.
Always run doveconf to see how many passwd and userdb sections
show-up.
Pro-tip: Remove the include conf.d/* lines in dovecot.conf. and just
manually concatenate the conf.d/* lines in dovecot.conf. Everything in
one place and your configuration won't break when an upgrade occurs.
Do you want to have many changes in multiple files under conf.d/*?
I filed a security bug with dovecot 2.4.1. I have not heard back. I
read that I am supposed to file this kind of bug with the Linux
Distro, Debian. The bug is 2.4.1 will give the same uid/gid to any
account after the first authentication. Everyone else gets the same
uid/gid and all clients start downloading the folders/email of this
first uid/gid.
2.4.1 is not production ready.
Stay with 2.3.+ until it is ready.
Such bug has not been reported to us yet, but it sounds overly broad.
Lets see if someone sends this to our way as well.
Aki
_______________________________________________
dovecot mailing list -- [[12]13]dovecot@dovecot.org
To unsubscribe send an email to [[13]14]dovecot-leave@dovecot.org
References
Visible links
1. mailto:[[14]15]dovecot@dovecot.org
_______________________________________________
dovecot mailing list -- [[15]16]dovecot@dovecot.org
To unsubscribe send an email to [[16]17]dovecot-leave@dovecot.org
References
Visible links
1. [17]mailto:dovecot@dovecot.org
2. [18]mailto:martin@black-sheep-research.com
3. [19]https://black-sheep-research.com/
4. [20]mailto:dovecot@dovecot.org
5. [21]mailto:dovecot@dovecot.org
6. [22]mailto:dovecot@dovecot.org
7. [23]mailto:dovecot@dovecot.org
8. [24]mailto:dovecot-leave@dovecot.org
9. [25]mailto:martin@black-sheep-research.com
10. [26]https://black-sheep-research.com/ 11. [27]mailto:dovecot@dovecot.org 12. [28]mailto:dovecot@dovecot.org 13. [29]mailto:dovecot@dovecot.org 14. [30]mailto:dovecot-leave@dovecot.org 15. [31]mailto:dovecot@dovecot.org 16. [32]mailto:dovecot@dovecot.org 17. [33]mailto:dovecot-leave@dovecot.org
dovecot mailing list -- [34]dovecot@dovecot.org To unsubscribe send an email to [35]dovecot-leave@dovecot.org
--
Martin Brampton
Director
Black Sheep Research
[36]Black Sheep Research icon [37]Phone icon [38]+44 1653 524272 | [39]+44 7771 787010 [40]Email icon [41]martin@black-sheep-research.com [42]Website [43]https://black-sheep-research.com link icon [44]Address 4 York Road, Malton, YO17 6AX, UK icon
References
Visible links
- mailto:[1]dovecot@dovecot.org
- mailto:2]martin@black-sheep-research.com
- https://black-sheep-research.com/
- file:///tmp/tmppjkhbimq/mailto:[4]dovecot@dovecot.org(mailto:[5]dovecot@dovecot.org)
- mailto:[6]dovecot@dovecot.org
- mailto:7]dovecot@dovecot.org
- mailto:8]dovecot-leave@dovecot.org
- mailto:9]martin@black-sheep-research.com
- https://black-sheep-research.com/
- mailto:[1][11]dovecot@dovecot.org
- mailto:[12]dovecot@dovecot.org
- mailto:13]dovecot@dovecot.org
- mailto:14]dovecot-leave@dovecot.org
- mailto:15]dovecot@dovecot.org
- mailto:16]dovecot@dovecot.org
- mailto:17]dovecot-leave@dovecot.org
- mailto:dovecot@dovecot.org
- mailto:martin@black-sheep-research.com
- https://black-sheep-research.com/
- mailto:dovecot@dovecot.org
- mailto:dovecot@dovecot.org
- mailto:dovecot@dovecot.org
- mailto:dovecot@dovecot.org
- mailto:dovecot-leave@dovecot.org
- mailto:martin@black-sheep-research.com
- https://black-sheep-research.com/
- mailto:dovecot@dovecot.org
- mailto:dovecot@dovecot.org
- mailto:dovecot@dovecot.org
- mailto:dovecot-leave@dovecot.org
- mailto:dovecot@dovecot.org
- mailto:dovecot@dovecot.org
- mailto:dovecot-leave@dovecot.org
- mailto:dovecot@dovecot.org
- mailto:dovecot-leave@dovecot.org
- file:///tmp/tmppjkhbimq/tel:+44 1653 524272
- file:///tmp/tmppjkhbimq/tel:+44 7771 787010
- mailto:martin@black-sheep-research.com
- https://black-sheep-research.com/
I have finally resolved this. Dovecot was looking for sieve rules in .dovecot.sieve. But they are (and have been for a long time) in active-script.sieve.
This is kind of described in the documentation, although after reading it several times, I still don't altogether understand it! Including not seeing why a symlink is helpful.
To fix it, I now have:
sieve_script personal { driver = file sieve_script_path = /var/vmail/sieve/%{user|domain}/%{user|username}/scripts sieve_script_active_path = /var/vmail/sieve/%{user|domain}/%{user|username}/active-script.sieve }
Martin
On 28/09/2025 08:28, Aki Tuomi via dovecot wrote:
What exactly is not working? Can you attach doveconf -n output and, if necessary, log entries? Aki On 28/09/2025 10:09 EEST Martin Brampton via dovecot <[1]dovecot@dovecot.org> wrote: Is there any answer to my problem with sieve not working with Dovecot 2.4.1 from Debian 13? I have twice been told that it will work if my configuration includes: protocol lmtp { mail_plugins { sieve = yes } }} But that has always been present. There is one and only one entry for protocol lmtp. It still makes no sense to me that logs complain about a non-existent module - it is not referenced anywhere in the configuration. Is there any solution or must I downgrade to Dovecot 2.3 to have a properly working system? Best regards, Martin -- Martin Brampton, Black Sheep Research [2]martin@black-sheep-research.com [3]https://black-sheep-research.com Tel: +44 1653 524272 Mobile: +44 7771 787010 Office: 4 York Road, Malton, North Yorkshire, YO17 6AX, UK. On Sunday, Sep 28, 2025 at 7:26 am, Aki Tuomi via dovecot <[4]dovecot@dovecot.org (mailto:[5]dovecot@dovecot.org)> wrote: On 28/09/2025 04:36 EEST John via dovecot <[6]dovecot@dovecot.org> wrote: > Debian dovecot 2.4.1 /etc/dovecot/conf.d/20-lmtp.conf has the lines "mail_plugin" and "sieve = yes" commented-out by default. dovecot.conf should have a line at the bottom "!include_try local.conf". Uncomment this line. Place the above lines in /etc/dovecot/local.conf. Always run doveconf for syntax correctness. Invalid syntax in dovecot.conf will log. FYI: Many dovecot sections and variables can be overridden by later occurrences, but some are not. I run dovecot on Debian. Debian dovecot.conf concatenates conf.d/* into one file. The "passwd pam" { ... } cannot be overridden. Always run doveconf to see how many passwd and userdb sections show-up. Pro-tip: Remove the include conf.d/* lines in dovecot.conf. and just manually concatenate the conf.d/* lines in dovecot.conf. Everything in one place and your configuration won't break when an upgrade occurs. Do you want to have many changes in multiple files under conf.d/*? I filed a security bug with dovecot 2.4.1. I have not heard back. I read that I am supposed to file this kind of bug with the Linux Distro, Debian. The bug is 2.4.1 will give the same uid/gid to any account after the first authentication. Everyone else gets the same uid/gid and all clients start downloading the folders/email of this first uid/gid. 2.4.1 is not production ready. Stay with 2.3.+ until it is ready. Such bug has not been reported to us yet, but it sounds overly broad. Lets see if someone sends this to our way as well. Aki _______________________________________________ dovecot mailing list -- [7]dovecot@dovecot.org To unsubscribe send an email to [8]dovecot-leave@dovecot.org Is there any answer to my problem with sieve not working with Dovecot 2.4.1 from Debian 13? I have twice been told that it will work if my configuration includes: protocol lmtp { mail_plugins { sieve = yes } }} But that has always been present. There is one and only one entry for protocol lmtp. It still makes no sense to me that logs complain about a non-existent module - it is not referenced anywhere in the configuration. Is there any solution or must I downgrade to Dovecot 2.3 to have a properly working system? Best regards, Martin -- Martin Brampton, Black Sheep Research [9]martin@black-sheep-research.com [10]https://black-sheep-research.com Tel: +44 1653 524272 Mobile: +44 7771 787010 Office: 4 York Road, Malton, North Yorkshire, YO17 6AX, UK. On Sunday, Sep 28, 2025 at 7:26 am, Aki Tuomi via dovecot <[1][11]dovecot@dovecot.org> wrote: On 28/09/2025 04:36 EEST John via dovecot <[12]dovecot@dovecot.org> wrote: Debian dovecot 2.4.1 /etc/dovecot/conf.d/20-lmtp.conf has the lines "mail_plugin" and "sieve = yes" commented-out by default. dovecot.conf should have a line at the bottom "!include_try local.conf". Uncomment this line. Place the above lines in /etc/dovecot/local.conf. Always run doveconf for syntax correctness. Invalid syntax in dovecot.conf will log. FYI: Many dovecot sections and variables can be overridden by later occurrences, but some are not. I run dovecot on Debian. Debian dovecot.conf concatenates conf.d/* into one file. The "passwd pam" { ... } cannot be overridden. Always run doveconf to see how many passwd and userdb sections show-up. Pro-tip: Remove the include conf.d/* lines in dovecot.conf. and just manually concatenate the conf.d/* lines in dovecot.conf. Everything in one place and your configuration won't break when an upgrade occurs. Do you want to have many changes in multiple files under conf.d/*? I filed a security bug with dovecot 2.4.1. I have not heard back. I read that I am supposed to file this kind of bug with the Linux Distro, Debian. The bug is 2.4.1 will give the same uid/gid to any account after the first authentication. Everyone else gets the same uid/gid and all clients start downloading the folders/email of this first uid/gid. 2.4.1 is not production ready. Stay with 2.3.+ until it is ready. Such bug has not been reported to us yet, but it sounds overly broad. Lets see if someone sends this to our way as well. Aki _______________________________________________ dovecot mailing list -- [13]dovecot@dovecot.org To unsubscribe send an email to [14]dovecot-leave@dovecot.org References Visible links 1. mailto:[15]dovecot@dovecot.org _______________________________________________ dovecot mailing list -- [16]dovecot@dovecot.org To unsubscribe send an email to [17]dovecot-leave@dovecot.org
References
Visible links 1. mailto:dovecot@dovecot.org 2. mailto:martin@black-sheep-research.com 3. https://black-sheep-research.com/ 4. mailto:dovecot@dovecot.org 5. mailto:dovecot@dovecot.org 6. mailto:dovecot@dovecot.org 7. mailto:dovecot@dovecot.org 8. mailto:dovecot-leave@dovecot.org 9. mailto:martin@black-sheep-research.com
10. https://black-sheep-research.com/ 11. mailto:dovecot@dovecot.org 12. mailto:dovecot@dovecot.org 13. mailto:dovecot@dovecot.org 14. mailto:dovecot-leave@dovecot.org 15. mailto:dovecot@dovecot.org 16. mailto:dovecot@dovecot.org 17. mailto:dovecot-leave@dovecot.org
dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-leave@dovecot.org
Hi,> Is there any answer to my problem with sieve not working with Dovecot
2.4.1 from Debian 13? I have twice been told that it will work if my configuration includes: protocol lmtp { mail_plugins { sieve = yes } }}
I have sieve running on 2.4.1 running on Arch with:
sieve_plugins { sieve_imapsieve = yes sieve_extprograms = yes }
sieve_global_extensions { vnd.dovecot.pipe = yes vnd.dovecot.execute = yes }
protocol lmtp {
mail_plugins { sieve = yes } }
protocol imap { mail_plugins { imap_sieve = yes } } service managesieve-login { inet_listener sieve { port = 4190 } }
Amd it just works fine.
Regards Bjoern
On 9/28/25 1:18 PM, Aki Tuomi via dovecot wrote:
Such bug has not been reported to us yet
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1115474#15
On 28/09/2025 14:23 EEST Gedalya via dovecot <[1]dovecot@dovecot.org>
wrote:
On 9/28/25 1:18 PM, Aki Tuomi via dovecot wrote:
Such bug has not been reported to us yet
[2]https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1115474#15
Was wondering if John ment this, which is bit different from what he said. Thanks.
Aki
References
Visible links
- mailto:dovecot@dovecot.org
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1115474#15
Is there any answer to my problem with sieve not working with Dovecot 2.4.1 from Debian 13?
I have twice been told that it will work if my configuration includes:
protocol lmtp { mail_plugins { sieve = yes }
}}
But that has always been present. There is one and only one entry for protocol lmtp.
It still makes no sense to me that logs complain about a non-existent module - it is not referenced anywhere in the configuration.
Is there any solution or must I downgrade to Dovecot 2.3 to have a properly working system?
Best regards, Martin
--
Martin Brampton, Black Sheep Research martin@black-sheep-research.com https://black-sheep-research.com Tel: +44 1653 524272 Mobile: +44 7771 787010 Office: 4 York Road, Malton, North Yorkshire, YO17 6AX, UK.
On Sunday, Sep 28, 2025 at 7:26 am, Aki Tuomi via dovecot <dovecot@dovecot.org (mailto:dovecot@dovecot.org)> wrote:
On 28/09/2025 04:36 EEST John via dovecot <dovecot@dovecot.org> wrote:
Debian dovecot 2.4.1 /etc/dovecot/conf.d/20-lmtp.conf has the lines "mail_plugin" and "sieve = yes" commented-out by default.
dovecot.conf should have a line at the bottom "!include_try local.conf". Uncomment this line. Place the above lines in /etc/dovecot/local.conf.
Always run doveconf for syntax correctness. Invalid syntax in dovecot.conf will log.
FYI: Many dovecot sections and variables can be overridden by later occurrences, but some are not. I run dovecot on Debian. Debian dovecot.conf concatenates conf.d/* into one file. The "passwd pam" { ... } cannot be overridden. Always run doveconf to see how many passwd and userdb sections show-up.
Pro-tip: Remove the include conf.d/* lines in dovecot.conf. and just manually concatenate the conf.d/* lines in dovecot.conf. Everything in one place and your configuration won't break when an upgrade occurs. Do you want to have many changes in multiple files under conf.d/*?
I filed a security bug with dovecot 2.4.1. I have not heard back. I read that I am supposed to file this kind of bug with the Linux Distro, Debian. The bug is 2.4.1 will give the same uid/gid to any account after the first authentication. Everyone else gets the same uid/gid and all clients start downloading the folders/email of this first uid/gid.
2.4.1 is not production ready.
Stay with 2.3.+ until it is ready.
Such bug has not been reported to us yet, but it sounds overly broad. Lets see if someone sends this to our way as well.
Aki
dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-leave@dovecot.org
Is there any answer to my problem with sieve not working with Dovecot 2.4.1 from Debian 13? I have twice been told that it will work if my configuration includes: protocol lmtp { mail_plugins {
sieve = yes
}
}} But that has always been present. There is one and only one entry for protocol lmtp. It still makes no sense to me that logs complain about a non-existent module - it is not referenced anywhere in the configuration. Is there any solution or must I downgrade to Dovecot 2.3 to have a properly working system? Best regards, Martin
Martin Brampton, Black Sheep Research martin@black-sheep-research.com https://black-sheep-research.com Tel: +44 1653 524272 Mobile: +44 7771 787010 Office: 4 York Road, Malton, North Yorkshire, YO17 6AX, UK.
On Sunday, Sep 28, 2025 at 7:26 am, Aki Tuomi via dovecot
<[1]dovecot@dovecot.org> wrote:
On 28/09/2025 04:36 EEST John via dovecot <dovecot@dovecot.org> wrote:
Debian dovecot 2.4.1 /etc/dovecot/conf.d/20-lmtp.conf has the lines
"mail_plugin" and "sieve = yes" commented-out by default.
dovecot.conf should have a line at the bottom "!include_try
local.conf". Uncomment this line. Place the above lines in
/etc/dovecot/local.conf.
Always run doveconf for syntax correctness. Invalid syntax in
dovecot.conf will log.
FYI: Many dovecot sections and variables can be overridden by later
occurrences, but some are not. I run dovecot on Debian. Debian
dovecot.conf concatenates conf.d/* into one file. The "passwd pam" {
... } cannot be overridden.
Always run doveconf to see how many passwd and userdb sections
show-up.
Pro-tip: Remove the include conf.d/* lines in dovecot.conf. and just
manually concatenate the conf.d/* lines in dovecot.conf. Everything in
one place and your configuration won't break when an upgrade occurs.
Do you want to have many changes in multiple files under conf.d/*?
I filed a security bug with dovecot 2.4.1. I have not heard back. I
read that I am supposed to file this kind of bug with the Linux
Distro, Debian. The bug is 2.4.1 will give the same uid/gid to any
account after the first authentication. Everyone else gets the same
uid/gid and all clients start downloading the folders/email of this
first uid/gid.
2.4.1 is not production ready.
Stay with 2.3.+ until it is ready.
Such bug has not been reported to us yet, but it sounds overly broad.
Lets see if someone sends this to our way as well.
Aki
_______________________________________________
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-leave@dovecot.org
References
Visible links
- mailto:dovecot@dovecot.org
The bug described above was fixed:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1115474#15
https://github.com/dovecot/core/commit/a70ce7d3e2f983979e971414c5892c4e30197...
Martin,
I'm using LMTP and sieve, and I don't have a "sieve_lmtpsieve" plugin on my system either. The /usr/lib/dovecot/modules/sieve directory shows the same files as yours.
I wonder if there's a typo somewhere in your config that's making it try to load that module in error.
You could try this command:
sudo doveconf -n |grep lmtpsieve
or this:
sudo grep -r lmtpsieve /etc/dovecot
When I run those commands, it doesn't return any matches.
Hope that helps! Chad.
On Tue, 23 Sep 2025 07:32:45 +0000 Martin Brampton via dovecot <dovecot@dovecot.org> wrote:
Thanks. The contents of 20-lmtp.conf (with comments removed):
protocol lmtp { mail_plugins { sieve = yes } auth_username_format = %{user} }
Is that what you meant?
From logwatch:
config: Fatal: Plugin 'sieve_lmtpsieve' not found from directory /usr/lib/dovecot/modules/sieve: 10 Time(s)
Referenced directory:
root@mx:/etc/dovecot/conf.d# ls -l /usr/lib/dovecot/modules/sieve total 136 -rw-r--r-- 1 root root 71848 Jun 18 15:01 lib10_sieve_storage_ldap_plugin.so -rw-r--r-- 1 root root 47192 Jun 18 15:01 lib90_sieve_extprograms_plugin.so -rw-r--r-- 1 root root 14424 Jun 18 15:01 lib90_sieve_imapsieve_plugin.so
I don't see anything to do with lmtp there (which may make sense), but don't know how I would add anything.
Martin
On 23/09/2025 07:50, Aki Tuomi via dovecot wrote:
On 23/09/2025 08:56 EEST Martin Brampton via dovecot<dovecot@dovecot.org> wrote:
Just upgraded mail server from Debian 12 to 13. Fixed a number of issues with changed Dovecot, but stuck getting sieve working. The server uses LMTP. I’ll post some configuration if it helps.
But the messages in the log saying the plugin sieve_lmtpsieve is missing seems fundamental and relevant. I can’t find anything called that in the Debian repository. How is it installed? Or am I doing something fundamentally wrong?
Martin Just upgraded mail server from Debian 12 to 13. Fixed a number of issues with changed Dovecot, but stuck getting sieve working. The server uses LMTP. I'll post some configuration if it helps. But the messages in the log saying the plugin sieve_lmtpsieve is missing seems fundamental and relevant. I can't find anything called that in the Debian repository. How is it installed? Or am I doing something fundamentally wrong? Martin
Feels like you asked an LLM. Anyways this should work
protocol lmtp { mail_plugins { sieve = yes } }
Aki
dovecot mailing list --dovecot@dovecot.org To unsubscribe send an email todovecot-leave@dovecot.org
-- Chad Wallace Software Developer | The Lodging Company® P: +1 250 869 4931 ext. 251 TF: +1 888 676 9977 E: cwallace@lodgingcompany.com W: www.lodgingcompany.com
Thanks for the suggestion, Chad. The greps don't return anything for me either!
This is every mention of sieve within /etc that isn't commented:
/etc/dovecot/conf.d/90-sieve.conf:sieve_script personal { /etc/dovecot/conf.d/90-sieve.conf: sieve_script_path = /var/vmail/sieve/%{user|domain}/%{user|username} /etc/dovecot/conf.d/90-sieve.conf:sieve_trace_debug = yes /etc/dovecot/conf.d/90-sieve.conf:sieve_trace_addresses = yes /etc/dovecot/conf.d/90-sieve.conf:sieve_plugins = sieve_imapsieve sieve_extprograms /etc/dovecot/conf.d/20-managesieve.conf: sieve = yes /etc/dovecot/conf.d/20-managesieve.conf:service managesieve-login { /etc/dovecot/conf.d/20-managesieve.conf: inet_listener sieve { /etc/dovecot/conf.d/20-managesieve.conf: inet_listener sieve_deprecated { /etc/dovecot/conf.d/20-managesieve.conf:service managesieve { /etc/dovecot/conf.d/20-managesieve.conf:protocol sieve { /etc/dovecot/conf.d/20-imap.conf: imap_sieve = yes /etc/dovecot/conf.d/20-lmtp.conf: sieve = yes
managesieve is working.
Are you running Debian 13?
Martin
On 25/09/2025 20:28, Chad Wallace via dovecot wrote:
Martin,
I'm using LMTP and sieve, and I don't have a "sieve_lmtpsieve" plugin on my system either. The /usr/lib/dovecot/modules/sieve directory shows the same files as yours.
I wonder if there's a typo somewhere in your config that's making it try to load that module in error.
You could try this command:
sudo doveconf -n |grep lmtpsieve
or this:
sudo grep -r lmtpsieve /etc/dovecot
When I run those commands, it doesn't return any matches.
Hope that helps! Chad.
On Tue, 23 Sep 2025 07:32:45 +0000 Martin Brampton via dovecot <dovecot@dovecot.org> wrote:
Thanks. The contents of 20-lmtp.conf (with comments removed):
protocol lmtp { mail_plugins { sieve = yes } auth_username_format = %{user} }
Is that what you meant?
From logwatch:
config: Fatal: Plugin 'sieve_lmtpsieve' not found from directory /usr/lib/dovecot/modules/sieve: 10 Time(s)
Referenced directory:
root@mx:/etc/dovecot/conf.d# ls -l /usr/lib/dovecot/modules/sieve total 136 -rw-r--r-- 1 root root 71848 Jun 18 15:01 lib10_sieve_storage_ldap_plugin.so -rw-r--r-- 1 root root 47192 Jun 18 15:01 lib90_sieve_extprograms_plugin.so -rw-r--r-- 1 root root 14424 Jun 18 15:01 lib90_sieve_imapsieve_plugin.so
I don't see anything to do with lmtp there (which may make sense), but don't know how I would add anything.
Martin
On 23/09/2025 07:50, Aki Tuomi via dovecot wrote:
On 23/09/2025 08:56 EEST Martin Brampton via dovecot<dovecot@dovecot.org> wrote:
Just upgraded mail server from Debian 12 to 13. Fixed a number of issues with changed Dovecot, but stuck getting sieve working. The server uses LMTP. I’ll post some configuration if it helps.
But the messages in the log saying the plugin sieve_lmtpsieve is missing seems fundamental and relevant. I can’t find anything called that in the Debian repository. How is it installed? Or am I doing something fundamentally wrong?
Martin Just upgraded mail server from Debian 12 to 13. Fixed a number of issues with changed Dovecot, but stuck getting sieve working. The server uses LMTP. I'll post some configuration if it helps. But the messages in the log saying the plugin sieve_lmtpsieve is missing seems fundamental and relevant. I can't find anything called that in the Debian repository. How is it installed? Or am I doing something fundamentally wrong? Martin Feels like you asked an LLM. Anyways this should work
protocol lmtp { mail_plugins { sieve = yes } }
Aki
dovecot mailing list --dovecot@dovecot.org To unsubscribe send an email todovecot-leave@dovecot.org
On Tue, Sep 23, 2025 at 8:59 AM Martin Brampton via dovecot < dovecot@dovecot.org> wrote:
Just upgraded mail server from Debian 12 to 13. Fixed a number of issues with changed Dovecot, but stuck getting sieve working. The server uses LMTP. I'll post some configuration if it helps. But the messages in the log saying the plugin sieve_lmtpsieve is missing seems fundamental and relevant. I can't find anything called that in the Debian repository. How is it installed? Or am I doing something fundamentally wrong?
Do you know if pigeonhole is installed?
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 In an Internet failure case, the #1 suspect is a constant: DNS. "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-) [How to ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html]
On Tue, Sep 23, 2025 at 8:59AM Martin Brampton via dovecot <[1]dovecot@dovecot.org> wrote:
Just upgraded mail server from Debian 12 to 13. Fixed a number of
issues
with changed Dovecot, but stuck getting sieve working. The server
uses
LMTP. I'll post some configuration if it helps.
But the messages in the log saying the plugin sieve_lmtpsieve is
missing
seems fundamental and relevant. I can't find anything called that in
the
Debian repository. How is it installed? Or am I doing something
fundamentally wrong?
Do you know if pigeonhole is installed?
Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 In an Internet failure case, the #1 suspect is a constant: DNS. "Oh, the cruft.", egrep -v '^$|^.*#' -\_(Tu)_/- :-) [How to ask smart questions: [2]http://www.catb.org/~esr/faqs/smart-questions.html]
References
Visible links
- mailto:dovecot@dovecot.org
- http://www.catb.org/~esr/faqs/smart-questions.html
Thanks for your comment. So far as I understand it, yes. From the dovecot documentation:
"Pigeonhole binaries, which provide support for the Sieve language and ManageSieve protocol in Dovecot, were included starting with Debian Wheezy
The packages for Debian are installed with: apt-get install dovecot-sieve dovecot-managesieved"
Those packages are installed on my server:
root@mx:~# aptitude search pigeonhole root@mx:~# aptitude search dovecot-sieve i A dovecot-sieve - secure POP3/IMAP server - Sieve filters su root@mx:~# aptitude search dovecot-managesieved i dovecot-managesieved - secure POP3/IMAP server - ManageSieve serv root@mx:~#
Best regards, Martin
On 24/09/2025 08:49, Odhiambo Washington via dovecot wrote:
On Tue, Sep 23, 2025 at 8:59AM Martin Brampton via dovecot <[1]dovecot@dovecot.org> wrote: Just upgraded mail server from Debian 12 to 13. Fixed a number of issues with changed Dovecot, but stuck getting sieve working. The server uses LMTP. I'll post some configuration if it helps. But the messages in the log saying the plugin sieve_lmtpsieve is missing seems fundamental and relevant. I can't find anything called that in the Debian repository. How is it installed? Or am I doing something fundamentally wrong? Do you know if pigeonhole is installed? -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 In an Internet failure case, the #1 suspect is a constant: DNS. "Oh, the cruft.", egrep -v '^$|^.*#' -\_(Tu)_/- :-) [How to ask smart questions: [2]http://www.catb.org/~esr/faqs/smart-questions.html]
References
Visible links 1.mailto:dovecot@dovecot.org 2.http://www.catb.org/~esr/faqs/smart-questions.html
dovecot mailing list --dovecot@dovecot.org To unsubscribe send an email todovecot-leave@dovecot.org
-- Black Sheep Research icon
MartinBrampton
Director
Black Sheep Research
Phone icon
+44 1653 524272 <tel:+44 1653 524272> | +44 7771 787010 <tel:+44 7771 787010>
Email icon
martin@black-sheep-research.com <mailto:martin@black-sheep-research.com>
Website link icon
https://black-sheep-research.com <https://black-sheep-research.com>
Address icon
4 York Road, Malton, YO17 6AX, UK
Thanks for your comment. So far as I understand it, yes. From the dovecot documentation:
"Pigeonhole binaries, which provide support for the Sieve language and ManageSieve protocol in Dovecot, were included starting with Debian Wheezy
The packages for Debian are installed with: apt-get install dovecot-sieve dovecot-managesieved"
Those packages are installed on my server:
root@mx:~# aptitude search pigeonhole root@mx:~# aptitude search dovecot-sieve i A dovecot-sieve - secure POP3/IMAP server - Sieve filters su root@mx:~# aptitude search dovecot-managesieved i dovecot-managesieved
- secure POP3/IMAP server - ManageSieve serv root@mx:~#
Best regards, Martin
On 24/09/2025 08:49, Odhiambo Washington via dovecot wrote:
On Tue, Sep 23, 2025 at 8:59AM Martin Brampton via dovecot
[1]<[1]dovecot@dovecot.org> wrote:
Just upgraded mail server from Debian 12 to 13. Fixed a number of
issues
with changed Dovecot, but stuck getting sieve working. The server
uses
LMTP. I'll post some configuration if it helps.
But the messages in the log saying the plugin sieve_lmtpsieve is
missing
seems fundamental and relevant. I can't find anything called that in
the
Debian repository. How is it installed? Or am I doing something
fundamentally wrong?
Do you know if pigeonhole is installed?
--
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223
In an Internet failure case, the #1 suspect is a constant: DNS.
"Oh, the cruft.", egrep -v '^$|^.*#' -\_(Tu)_/- :-)
[How to ask smart
questions: [2][2]http://www.catb.org/~esr/faqs/smart-questions.html]
References
Visible links
1. [3]mailto:dovecot@dovecot.org
2. [4]http://www.catb.org/~esr/faqs/smart-questions.html
_______________________________________________ dovecot mailing list -- [5]dovecot@dovecot.org To unsubscribe send an email to [6]dovecot-leave@dovecot.org
--
Martin Brampton
Director
Black Sheep Research
[7]Black Sheep Research icon [8]Phone icon [9]+44 1653 524272 | [10]+44 7771 787010 [11]Email icon [12]martin@black-sheep-research.com [13]Website link [14]https://black-sheep-research.com icon [15]Address icon 4 York Road, Malton, YO17 6AX, UK
References
Visible links
- mailto:[1]dovecot@dovecot.org
- http://www.catb.org/~esr/faqs/smart-questions.html
- mailto:dovecot@dovecot.org
- http://www.catb.org/~esr/faqs/smart-questions.html
- mailto:dovecot@dovecot.org
- mailto:dovecot-leave@dovecot.org
- file:///tmp/tmpou3lgfun/tel:+44 1653 524272
- file:///tmp/tmpou3lgfun/tel:+44 7771 787010
- mailto:martin@black-sheep-research.com
- https://black-sheep-research.com/
participants (7)
-
Aki Tuomi
-
Bjoern Franke
-
Chad Wallace
-
Gedalya
-
johnd@broadlux.com
-
Martin Brampton
-
Odhiambo Washington