8 Mar
2026
8 Mar
'26
4:04 p.m.
On 05/03/2026 08:17, Aki Tuomi via dovecot wrote:
On 05/03/2026 01:00 EET rhi--- via dovecot <dovecot@dovecot.org> wrote:
Hello, have you put DROPPRIVS=yes in /etc/procmailrc No. As I said above:
Note that the
procmailin the pstree output above is really the wrapper script in /usr/lib/dovecot/sieve-pipe/procmail, not /usr/bin/procmail. I am very puzzled how it can even run as root.Can you run dovecot with
log_debug=category=lmtp
and provide the resultant logs during delivery?
Aki
Aki
this could be possible if lmtp was once root and dropped privileges via seteuid. When lmtp forks the external program (script in this case) it will take root privileges upon calling execvp.
John