We have a new documentation site for cPanel & WHM! You can find our new documentation site at docs.cpanel.net.
We will continue to maintain our API documentation on this server.
To remove messages, perform the following steps:
Click Manage to remove messages from the mailbox.
Select a removal option from the menu.
Select custom query ... to customize your removal option. For more information, read Dovecot's Search Query Format documentation.