Hi Petter,

On Thu, Feb 05, 2026 at 01:04:48PM +0100, Petter Reinholdtsen wrote:
> [Toni Mueller]
> > I had a dovecot config working nicely for Bookworm with Dovecot 2.3.
> > After upgrading to Trixie, no mail could get delivered anymore. It
> > turned out that the Trash plugin caused deliver to crash and needed to
> > be removed from the configuration. The problem is supposed to be solved
> > in Dovecot 2.4.3.
> 
> Do you have any relevant links explaining how the problem materialise

If you make Dovecot log to a file, you'll find entries like this:

dovecot: imap([email protected])<930631><ojXgqiBIOIEAAAAAAAAAAAAAAAAAAAAB>: 
Debug: open(/proc/self/io) failed: Permission denied (euid=12345(dovecot) 
egid=12345(dovecot) missing +r perm: /proc/self/io)

I've plugged a script in front of deliver that invoked gdb to get me the
stack trace, and discovered that deliver apparently wants to write into
'/var/spool/postfix' directly.

Can't properly reproduce the problem right now... but if you have

protocol imap {
  mail_plugins {
        trash = yes
        ...
  }
}

in your config, your Dovecot 'deliver' should crash.


> and why you believe the problem is supposed to be solved in version
> 2.4.3?

I had much help from someone on IRC who suggested to be a Dovecot
upstream developer, who said that he had reproduced and fixed the
problem upstream.


Cheers,
Toni

Reply via email to