Hi!

Usually global acls (with acl plugin) are used to prevent access to a folder. 
You can use "Deleted Messages" owner in global acl file to block access and 
alias_for only works for namespaces.

There is no "mailbox plugin", I think you've been misguided by some LLM there.

Also you could explain a bit what kind of problems you have with Sieve. 

Aki

> On 11/09/2025 21:02 EEST Erick Calder via dovecot <[email protected]> wrote:
> 
>  
> hi.  I'm running on Fedora 42 and want to hide the Deleted Messages folder 
> (because I want to use Trash instead).  unfortunately this fails:
> 
> mailbox "Deleted Messages" {
>     hidden = yes
>   }
> 
> which I understand depends on the "mailbox" plugin.  however, when I look in 
> /var/lib64/dovecot, I don't see any such plugin.  I also cannot find in the 
> repositories any RPM that provides it.  I understand it may be baked into the 
> core binary but if so, enabling it should work, and yet if I do enable it, I 
> get the error below:
> 
> Sep 11 10:06:01 mail dovecot[739762]: imap(ekkis): Error: Plugin 'mailbox' 
> not found from directory /usr/lib64/dovecot
> 
> I would also like to use the alias_for but that also fails. sigh.  I'm also 
> struggling to make Sieve work.  I've produced a sysreport (see: 
> https://arix.com/tmp/dovecot-sysreport-mail.arix.com-1757611127.tar.gz) and 
> you'll find my config file below:
> 
> please help?
> 
> # 2.3.21.1 (d492236fa0): /etc/dovecot/dovecot.conf
> # Pigeonhole version 0.5.21.1 (49005e73)
> # OS: Linux 6.15.9-201.fc42.x86_64 x86_64 Fedora release 42 (Adams) 
> # Hostname: mail.arix.com
> first_valid_uid = 1000
> mail_debug = yes
> mail_location = maildir:~/mail:LAYOUT=fs
> managesieve_notify_capability = mailto
> managesieve_sieve_capability = fileinto reject envelope encoded-character 
> vacation subaddress comparator-i;asc
> ii-numeric relational regex imap4flags copy include body enotify environment 
> mailbox date index ihave duplicat
> e mime foreverypart extracttext
> mbox_write_locks = fcntl
> namespace inbox {
>   inbox = yes
>   location = 
>   mailbox "Deleted Messages" {
>     special_use = \Trash
>   }
>   mailbox Drafts {
>     special_use = \Drafts
>   }
>   mailbox Junk {
>     special_use = \Junk
>   }
>   mailbox Sent {
>     special_use = \Sent
>   }
>   mailbox "Sent Messages" {
>     special_use = \Sent
>   }
>   prefix = INBOX/
>   separator = /
> }
> passdb {
>   driver = pam
> }
> plugin {
>   sieve = file:~/sieve;active=~/.dovecot.sieve
>   sieve_before = /var/lib/dovecot/sieve/global
>   sieve_execute_bin_dir = /usr/lib/dovecot/sieve-execute
>   sieve_global_extensions = +vnd.dovecot.execute +vnd.dovecot.environment 
> +variables
>   sieve_plugins = sieve_extprograms
>   sieve_trace_debug = yes
>   sieve_trace_dir = /tmp/sieve
>   sieve_trace_level = matching
> }
> protocols = imap pop3 lmtp sieve
> service auth {
>   unix_listener /var/spool/postfix/private/auth {
>     group = postfix
>     mode = 0660
>     user = postfix
>   }
> }
> service lmtp {
>   inet_listener lmtp {
>     address = localhost
>     port = 24
>   }
> ssl = required
> ssl_cert = </etc/letsencrypt/live/mail.arix.com/fullchain.pem
> ssl_cipher_list = PROFILE=SYSTEM
> ssl_key = # hidden, use -P to show it
> userdb {
>   driver = passwd
> }
> protocol sieve {
>   mail_plugins = " sieve"
> }
> 
> > On Sep 11, 2025, at 10:45, [email protected] wrote:
> > 
> > Welcome to the "dovecot" mailing list!
> > 
> > To post to this list, send your message to:
> > 
> >  [email protected]
> > 
> > You can unsubscribe or make adjustments to your options via email by
> > sending a message to:
> > 
> >  [email protected]
> > 
> > with the word 'help' in the subject or body (don't include the
> > quotes), and you will get back a message with instructions.  You will
> > need your password to change your options, but for security purposes,
> > this password is not included here.  If you have forgotten your
> > password you will need to reset it via the web UI.
> 
>    hi.  I'm running on Fedora 42 and want to hide the Deleted Messages folder
>    (because I want to use Trash instead).  unfortunately this fails:
>    mailbox "Deleted Messages" {
>        hidden = yes
>      }
>    which I understand depends on the "mailbox" plugin.  however, when I look
>    in /var/lib64/dovecot, I don't see any such plugin.  I also cannot find in
>    the repositories any RPM that provides it.  I understand it may be baked
>    into the core binary but if so, enabling it should work, and yet if I do
>    enable it, I get the error below:
>    Sep 11 10:06:01 mail dovecot[739762]: imap(ekkis): Error: Plugin 'mailbox'
>    not found from directory /usr/lib64/dovecot
>    I would also like to use the alias_for but that also fails. sigh.  I'm
>    also struggling to make Sieve work.  I've produced a sysreport (see:
>    https://arix.com/tmp/dovecot-sysreport-mail.arix.com-1757611127.tar.gz)
>    and you'll find my config file below:
>    please help?
>    # 2.3.21.1 (d492236fa0): /etc/dovecot/dovecot.conf
>    # Pigeonhole version 0.5.21.1 (49005e73)
>    # OS: Linux 6.15.9-201.fc42.x86_64 x86_64 Fedora release 42 (Adams)
>    # Hostname: mail.arix.com
>    first_valid_uid = 1000
>    mail_debug = yes
>    mail_location = maildir:~/mail:LAYOUT=fs
>    managesieve_notify_capability = mailto
>    managesieve_sieve_capability = fileinto reject envelope encoded-character
>    vacation subaddress comparator-i;asc
>    ii-numeric relational regex imap4flags copy include body enotify
>    environment mailbox date index ihave duplicat
>    e mime foreverypart extracttext
>    mbox_write_locks = fcntl
>    namespace inbox {
>      inbox = yes
>      location =
>      mailbox "Deleted Messages" {
>        special_use = \Trash
>      }
>      mailbox Drafts {
>        special_use = \Drafts
>      }
>      mailbox Junk {
>        special_use = \Junk
>      }
>      mailbox Sent {
>        special_use = \Sent
>      }
>      mailbox "Sent Messages" {
>        special_use = \Sent
>      }
>      prefix = INBOX/
>      separator = /
>    }
>    passdb {
>      driver = pam
>    }
>    plugin {
>      sieve = file:~/sieve;active=~/.dovecot.sieve
>      sieve_before = /var/lib/dovecot/sieve/global
>      sieve_execute_bin_dir = /usr/lib/dovecot/sieve-execute
>      sieve_global_extensions = +vnd.dovecot.execute +vnd.dovecot.environment
>    +variables
>      sieve_plugins = sieve_extprograms
>      sieve_trace_debug = yes
>      sieve_trace_dir = /tmp/sieve
>      sieve_trace_level = matching
>    }
>    protocols = imap pop3 lmtp sieve
>    service auth {
>      unix_listener /var/spool/postfix/private/auth {
>        group = postfix
>        mode = 0660
>        user = postfix
>      }
>    }
>    service lmtp {
>      inet_listener lmtp {
>        address = localhost
>        port = 24
>      }
>    ssl = required
>    ssl_cert = </etc/letsencrypt/live/mail.arix.com/fullchain.pem
>    ssl_cipher_list = PROFILE=SYSTEM
>    ssl_key = # hidden, use -P to show it
>    userdb {
>      driver = passwd
>    }
>    protocol sieve {
>      mail_plugins = " sieve"
>    }
> 
>      On Sep 11, 2025, at 10:45, [email protected] wrote:
>      Welcome to the "dovecot" mailing list!
> 
>      To post to this list, send your message to:
> 
>       [email protected]
> 
>      You can unsubscribe or make adjustments to your options via email by
>      sending a message to:
> 
>       [email protected]
> 
>      with the word 'help' in the subject or body (don't include the
>      quotes), and you will get back a message with instructions.  You will
>      need your password to change your options, but for security purposes,
>      this password is not included here.  If you have forgotten your
>      password you will need to reset it via the web UI.
> _______________________________________________
> dovecot mailing list -- [email protected]
> To unsubscribe send an email to [email protected]

_______________________________________________
dovecot mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to