POP3: Unable to scan $HOME/Maildir

I recently ran into this problem when our anti-SPAM measures changed. Our qmail email server was bombarded by SPAM and our user’s inboxes filled up.  If I connected via IMAP and deleted a lot of messages, the $HOME error went away.
Another method I found at POP3: unable to scan $HOME/Maildir? was to to increase [...]