Re: Need to delete message in iRedmail

Ok what I am talking about is deleting one or more messages that is getting stuck and cant download in outlook or any other email client without logging into customers webmail to do this way. I am not talking about deleting the whole mail box just stuck messages that cant be downloaded or corrupt.

Re: Need to delete message in iRedmail

Re: Need to delete message in iRedmail

It's simple... login to the iRedMail server and locate the mailbox in trubles... it's on my system under /home/vmail/vmail1/domain.com/account/Maildir/new or cur...

You can find out the correct location from mysql DB... it's stored in database vmail, table mailbox... attributes storagebasedirectory, storagenode, maildir... then you need to identify somehow the problematic mail under new or cur... note each mail is stored as separate file...

Re: Need to delete message in iRedmail

Re: Need to delete message in iRedmail

I'm not sure if this is what you're looking for but all the actual emails are locate in /var/vmail/vmail1/<domain>/<username>/Maildir/cur/var/vmail/vmail1/<domain>/<username>/Maildir/.Drafts/var/vmail/vmail1/<domain>/<username>/Maildir/.Junk/var/vmail/vmail1/<domain>/<username>/Maildir/.Junk E-mail/var/vmail/vmail1/<domain>/<username>/Maildir/new/var/vmail/vmail1/<domain>/<username>/Maildir/.Sent

ect ect ect...

You'll have a heck of a time finding the emails you want though, especially if you have a lot of emails. Grep, sed and awk will probably do you some good