You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by Jerry Malcolm <te...@malcolms.com> on 2019/11/20 19:37:03 UTC
Removing "orphaned" mailboxes
I made a stupid config mistake. I was inadvertently not storing spam
messages in the RECIPIENT's spam folder. Rather I was storing them in a
Spam folder for the SENDER. I caught it fairly quickly. But not before
it created several hundred entries in JAMES_MAILBOX for all of the spam
sender's email addresses plus the JAMES_MAIL entries for the spam
messages I put into those mailboxes. It's not really hurting anything
other than taking up space in the database. But I really would like to
clean it up. I'm just curious what the best way to do it is. I can't
access the mailboxes via imap because the mailboxes aren't attached to
any user account. I could always go into the database with a hatchet
and just delete mail in those mailboxes and then delete those mailboxes
out of the tables. But something tells me I would regret that and might
possibly corrupt the database beyond recovery. So I need suggestions.
Do I need to create temp accounts for all of these mailboxes and use
imap? Is there a quicker way?
Thx
Jerry
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org