• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved qmail maildir contains items even though there should be no mailbox

Frostbolt

Basic Pleskian
I have an issue with my server slowly filling up. I have some email addresses defined with no mailbox (only forward). When I look in
/var/qmail/mailnames/<domain>/<username>/Maildir/new there are plenty of files there.

I may have switched between qmail and postfix a long time ago, currently the SMTP server that I have selected is Postfix.

How can I clean up emails that are not officially in a mailbox? And how do I prevent them being saved there at all?

I'm using ‪CentOS 6.10 and Plesk Obsidian 18.0.29 Update #3
 
Are you asking about orphaned directories or files in the /Maildir/new directory? Normally entries there are emails. These are managed by the mail software. But if your user account no longer exists and these entries are orphaned they can simply be deleted, because nothing on the system knows they are there. Doing a backup before deleting stuff like that is always a good idea.
 
Back
Top