• We value your experience with Plesk during 2026
    Please help us understand which Plesk features made your work easier this year, what is still missing and how AI should help you in Plesk ?
    Take this short 5-minutes survey. Your answers go straight into the Plesk roadmap for 2027.

Question "# doveadm expunge" does not work. Is this a Plesk issue ? How to make this work?

MHC_1

Regular Pleskian
Server operating system version
Alma Linux 9.7
Plesk version and microupdate number
Obsidian 18.0.79 Update #4
On command line as root we need to be able to use "doveadm expunge" . Plesk installed Dovecot Version 2.4.4

Command:

# doveadm expunge -u [email protected] mailbox '*' HEADER From '[email protected]' all

This is run but I have the mailbox open elsewhere and the email is not deleted.

Likewise;

# doveadm expunge -u [email protected] mailbox '*' HEADER From 'WordPress <[email protected]>' all

Also does not seem to work. Email remains in the mailbox.

Is this a Plesk constriction?

How can we make the command line remove certain emails from certain "from" addresses via Dovecot?
 
UPDATE:

Debugging shows:
Jul 29 18:08:55 doveadm([email protected]): Debug: open(/proc/self/io) failed: Permission denied (euid=30(popuser) egid=30(popuser) missing +r perm: /proc/self/io)

Which shows read permission is not granted. We are able to open /proc/self/io from the command line.
 
Back
Top