Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Directories with these names are not allowed in Maildir

Discussion in 'E-mail Discussions' started by Influencer, Dec 21, 2016.

  1. Influencer

    Influencer Member

    Joined:
    Dec 21, 2016
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Indonesia
    cPanel Access Level:
    Reseller Owner
    Hi,

    Right now, when someone try to create an email filter, cPanel always show error notification.

    Code:
    Directories with these names are not allowed in Maildir directories: [list,and,_*].
    The condition:
    The email account was transferred from another non cPanel server using imapsync.
    The folders came with the email account.

    The transfer itself was successfully finished without any error.

    What should we do? I see nothing wrong with the steps taken.

    Picture is in the attachment.
     

    Attached Files:

  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,659
    Likes Received:
    1,427
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello @Influencer,

    You can browse to the mail directory for that email account and see a list of directories via the following commands:

    Code:
    cd /home/$username/mail/$domain/$email-account
    ls -al
    Do any directories exist with these names [list,and,_*]?

    Thank you.
     
  3. Influencer

    Influencer Member

    Joined:
    Dec 21, 2016
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Indonesia
    cPanel Access Level:
    Reseller Owner
    Hello,

    I have checked the mail folder but I can't find any of the folders in the attachment and I can't find folders with either list,and,_*

    I also have checked another email and everything seems okay (those emails does not have imported folders).

    Thanks
     
  4. Influencer

    Influencer Member

    Joined:
    Dec 21, 2016
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Indonesia
    cPanel Access Level:
    Reseller Owner
    Is it possible to reindex all folder structure or recreate all of them?

    EDIT:
    I have tried to delete the folders and recreate them but cPanel still won't let me create an email filter.

    EDIT 2:
    Does the ID of the email matter?
    The email ID is NEW, and there is also a folder NEW inside mail directory.
    Will this trigger a conflict?
     
    #4 Influencer, Dec 21, 2016
    Last edited: Dec 21, 2016
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,659
    Likes Received:
    1,427
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    You can remove the Dovecot index files via the following command:

    Code:
    /scripts/remove_dovecot_index_files --verbose --user $cpusername
    The index files are then rebuilt upon the next login to the associated email account.

    Could you open a support ticket using the link in my signature so we can take a closer look if this doesn't help? You can post the ticket number here and we can update this thread with the outcome. Otherwise, if you don't have root access to the system to open a support ticket, you can report this issue to your web hosting provider and they can open a ticket with us on your behalf if nessisary.

    Thank you.
     
  6. Influencer

    Influencer Member

    Joined:
    Dec 21, 2016
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Indonesia
    cPanel Access Level:
    Reseller Owner
    Hello,

    I think I found the problem.

    Inside mail directory,

    Code:
    /home/$username/mail/$domain/$email-accountl
    There are three folders:
    CUR
    NEW
    TMP


    So, whenever I created an account with these IDs:
    Code:
    cur@domain.com /
    new@domain.com /
    tmp@domain.com
    
    the problem will arise.

    What should we do then? Is this problem related to cPanel or related to Dovecot?

    I will contact my server administrator to open a ticket on behalf of my problem too.

    Thanks
     
    #6 Influencer, Dec 22, 2016
    Last edited by a moderator: Dec 22, 2016
  7. Influencer

    Influencer Member

    Joined:
    Dec 21, 2016
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Indonesia
    cPanel Access Level:
    Reseller Owner
    Hello? Any progress on this?

    I found a little awkward that in different cPanel build, different error notification:

    For the same ID (NEW@domain.tld):

    Build 56:
    Code:
    Directories with these names are not allowed in Maildir directories: cur, new, and tmp.
    - Removed -

    Build 60:
    Code:
    Directories with these names are not allowed in Maildir directories: [list,and,_*].
    - Removed -

    Any chance in the future that this small bug can be fixed? Right now my solution is by using Webmail rule filtering.

    FYI, I have no single problem when using Kloxo-MR+Dovecot (the free hosting platform).
    I wonder why cPanel has the problem and they are not.
     
    #7 Influencer, Dec 23, 2016
    Last edited by a moderator: Dec 23, 2016
  8. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,659
    Likes Received:
    1,427
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Were you able to open a support ticket so we can take a closer look at the issue? If so, please let us know the ticket number and we can update this thread with the outcome.

    Thank you.
     
  9. Influencer

    Influencer Member

    Joined:
    Dec 21, 2016
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Indonesia
    cPanel Access Level:
    Reseller Owner
    Hello,

    Here is the ticket ID #8083603.

    Thank you.
     
  10. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,659
    Likes Received:
    1,427
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    It looks like the ticket was closed after our last response noting our inability to reproduce the issue. Could you reply to this ticket with further information on how to reproduce the issue?

    Thank you.
     
Loading...

Share This Page