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-le...@dovecot.org
>
>
_______________________________________________
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-le...@dovecot.org

Reply via email to