7 New IMAP Mailboxes have appeared

Bob Ulius

Active Member
Jun 7, 2015
25
2
53
Palo Alto, CA
cPanel Access Level
Website Owner
Hi folks,

My host updated in a fairly major way (new CPanel) and caused a few issues. One I do not understand is suddenly there are 7 new IMAP mailboxes on my iPhone and iPad and can be found in webmail by showing all folders. These are below the expected folders and show like this including the nesting:

INBOX
DRAFTS
SENT
JUNK
TRASH
ARCHIVE
INFECTED ITEMS (then the new below)
mail
virtual
[email protected]
spam
INBOX
dovecot_index
dove_index_log

What ARE these last7??
Can they be deleted on my iPhone and iPad safely?
Are they needed at all?

Appreciate a bit of help. Difficult getting good explanations on this.

~Bob
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,296
1,266
313
Houston
Hello,

I would contact your hosting provider as none of the following should be displaying as mailboxes:

mail
virtual
[email protected]
spam
INBOX
dovecot_index
dove_index_log

But this isn't something you'd have access to investigate.
 

Bob Ulius

Active Member
Jun 7, 2015
25
2
53
Palo Alto, CA
cPanel Access Level
Website Owner
Thanks. I will contact my host, but so hard to get a quality answer.

Can you tell me, is it a problem these appear? And if not, can I safely delete them on my iPhone and iPad?
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,296
1,266
313
Houston
Hello,

I'm not sure I'd qualify it as a problem without more information on the directory structure as well as what occurred to cause them to display as such. It's not the intended behavior though.

What looks like happened is all hidden files were added to the directory structure.
 

Bob Ulius

Active Member
Jun 7, 2015
25
2
53
Palo Alto, CA
cPanel Access Level
Website Owner
JUST getting back to this believe it or not. Host says normal and every IMAP account sees these folders. Cannot tell me how to hide them on IOS devices. Any suggestions how to escalate or where else to turn for assistance?
 

Bob Ulius

Active Member
Jun 7, 2015
25
2
53
Palo Alto, CA
cPanel Access Level
Website Owner
Just tried something. Created a new mail account and results were as expetced. Notne of these odd virtual folders. Does that help at all? I worry about support at host trying to fix this and making it worse :)
 

em.ci

Well-Known Member
Jun 15, 2015
52
2
8
Switzerland
cPanel Access Level
Root Administrator
JUST getting back to this believe it or not. Host says normal and every IMAP account sees these folders. Cannot tell me how to hide them on IOS devices. Any suggestions how to escalate or where else to turn for assistance?
I know that doesn't help you but you should definitely change your hoster, if that was really the answer which you recieved... These are definitely not default IMAP-folders. It is dangerous to suggest solutions here without looking at the case in detail. The hoster must take care of this and contact the cPanel support.
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,296
1,266
313
Houston
So, if you don't have root access I don't have another route for you to investigate this besides your hosting provider. If they are unsure how to resolve this because it is not normal behavior we're happy to assist them if they'd like to open a support ticket.

It would be normal to see hidden files in /home/$user/mail/ (hidden files are anything with a "." at the front) within the file manager but not normal to view them in webmail or a mail client. I use iOS with my mail and can confirm I don't see these, you can as well with the newly created account.

One of my email accounts as shown in iOS
IMG_0135.jpg

Compared to my file manager display of the same account with hidden files being shown:

Screenshot at Feb 25 13-09-14.png
 

Bob Ulius

Active Member
Jun 7, 2015
25
2
53
Palo Alto, CA
cPanel Access Level
Website Owner
No, Email client has not created any new folders. These were created on the Client (and server) when the host cutover to Dovecot.

So, I created a new email account to test at the host. This new email account has only the expected folders. Give me a few minutes and let me show you from file manager.

And need to mention, this has been my primary email account for maybe 18 years. I do not wish to risk it failing to work. But would love to clean this up.

Be right back....
 

em.ci

Well-Known Member
Jun 15, 2015
52
2
8
Switzerland
cPanel Access Level
Root Administrator
I personally would backup the mail folder /home/user/mail first.

Afterwards I would try this workaround:

Since you have a test account, you can move the folders from the compromised account to the test account folder.

Example:

[email protected] = compromised account
[email protected] = newly created test account

  • /home/user/mail/example.abc/info/cur "COPY TO" /home/user/mail/example.abc/test/cur
  • /home/user/mail/example.abc/info/new "COPY TO" /home/user/mail/example.abc/test/new
  • /home/user/mail/example.abc/info/.Sent "COPY TO" /home/user/mail/example.abc/test/.Sent
  • /home/user/mail/example.abc/info/.MyFolder "COPY TO" /home/user/mail/example.abc/test/.Myfolder
  • etc.....
But only copy the desired folders, not the dovecot.*.* files. After you have copied all folders, check if everything is ok under "[email protected]". If everything is working under [email protected], you can do this:

Rename /home/user/mail/example.abc/info to /home/user/mail/example.abc/OLD_info

Rename /home/user/mail/example.abc/test to /home/user/mail/example.abc/info


This is a exhausting way to fix this, but if I don't have "root" access and don't get help from my hoster, that's exactly what I would do. Please do not forget to backup the mail folder in case something goes wrong!
 

Bob Ulius

Active Member
Jun 7, 2015
25
2
53
Palo Alto, CA
cPanel Access Level
Website Owner
Thanks. I understand what you are saying. I feel the risk :)

Going to try to escalate this morning. As well as try to find out why there are 18 new FTP users starting with SS (Simple Scripts?) that were not there before.

Appreciate the help. Will let you know.

~Bob