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.

email account folders

Discussion in 'E-mail Discussions' started by minosjl, Oct 27, 2011.

  1. minosjl

    minosjl Well-Known Member

    Joined:
    Jun 4, 2011
    Messages:
    168
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    cPanel Access Level:
    Root Administrator
    guys can you tell me ,i can see that the email account folders are created under the /home/mail directory.How this mail dir is created ,Is it created while the domain account creation ?
     
  2. big_bull

    big_bull Well-Known Member

    Joined:
    Nov 19, 2006
    Messages:
    150
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Hello,

    The cpanel uses the Maildir functionality due to which when any email account created in the cpanel, it creates its subfolders like "cur, new tmp" which stores the emails. In cur, you will get READ messages, in new, NEW messages will be there and the 'tmp' subdirectory temporarily stores email messages that are in the process of being delivered.

    Maildir: A format for storing email wherein individual messages are stored with unique filenames. Maildir is rapidly becoming the standard mail storage format.

    Hope this helps.
     
    #2 big_bull, Oct 28, 2011
    Last edited: Oct 28, 2011
  3. morissette

    morissette Well-Known Member

    Joined:
    May 24, 2009
    Messages:
    119
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Austin, TX
    cPanel Access Level:
    Root Administrator
    I'm not sure if big_bull gave the answer you were looking for.

    The /home/user/mail directory is created when the account is initially configured as it is part of the skeleton directory. Addition subdirectories of mail are setup when an e-mail address is setup in your cPanel. For example:

    You setup a cPanel for domain.tld, this creates /home/domain/mail for use with any mail used by this cPanel account. Once an e-mail account is created using "E-Mail Accounts" it will create the following directory: /home/domain/mail/domain.tld and the e-mail addresses content would be stored in: /home/domain/mail/domain.tld/userprefix

    so /home/domain/mail/domain.tld/userprefix would store data for userprefix@domain.tld
     
  4. minosjl

    minosjl Well-Known Member

    Joined:
    Jun 4, 2011
    Messages:
    168
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page