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.

New mail user makes 2 mail directories.

Discussion in 'E-mail Discussions' started by sgriffin, Jan 15, 2004.

  1. sgriffin

    sgriffin Member

    Joined:
    Nov 15, 2003
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    /home/accountname/mail/username
    /home/accountname/mail/domain/username/

    Mail is getting stored in both inboxes however the problem is occuring with imap only using one of these...

    All new accounts created are doing this too.
     
  2. Darph Bobo

    Darph Bobo Active Member

    Joined:
    Dec 15, 2002
    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    1
    I searched elsewhere, but can't seem to find this anywhere else.

    Why is it kept in 2 places? It seems like it is taking up more space than it should...
     
  3. ezerix

    ezerix Registered

    Joined:
    Sep 14, 2004
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    I also have the same problem

    I've been searching for hours to get IMAP and POP3 both working normally! I can't do it! I've found descriptions of similar problems, but no solution!

    SOMEBODY PLEASE HELP!


    Starting to regret that I bought cpanel for my new hosting server :confused: :confused:
     
  4. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Well, the issue in the thread you posted to is not relevant to your problem if you're running a recent cPanel build as that was addressed some time ago.

    If you want help, you should either contact cPanel or post the specific problems and error messages that you're seeing, together with any relevant log file output.
     
  5. Darph Bobo

    Darph Bobo Active Member

    Joined:
    Dec 15, 2002
    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    1

    That aside - does anyone have any idea why mail is kept in 2 places?
     
  6. electric

    electric Well-Known Member

    Joined:
    Nov 5, 2001
    Messages:
    697
    Likes Received:
    1
    Trophy Points:
    18
    *bump*

    Anyone?
     
  7. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
  8. heyjohnboy

    heyjohnboy Well-Known Member

    Joined:
    Oct 7, 2003
    Messages:
    62
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Valencia, CA
    moot but still curious

    Are you saying that in brand new installs cpanel no longer creates both boxes? All our old boxes demonstrate this behavior, but so does a brand new box we just installed. Perhaps its because we're using the "stable" release.

    At any rate, to answer the thread starters question, the mail/username box is supposedly a remnant, and is no longer used. Mail is supposed to be delivered to the mail/domain/username box, and it generally works that way, but I have seen instances where it shows up in both boxes. In those cases we have simply deleted the mail in the mail/username box, and things appeared to be back to normail.

    If newer releases of cpanel eliminate the duplicity, I'm all for that. :)
     
  9. linux-image

    linux-image Well-Known Member

    Joined:
    Jun 8, 2004
    Messages:
    1,192
    Likes Received:
    1
    Trophy Points:
    38
    Location:
    India
    cPanel Access Level:
    Root Administrator
    cpanel has done this to remove the issues with mails pertaining to Parked and Add-On domains. (this was what was told to me by C-panel support).
     
  10. basix

    basix Member

    Joined:
    Dec 12, 2004
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    I fixed this by creating a symbolic link for each user, like
    /home/user/mail/name.surname/ -> /home/user/mail/domain.com/name.surname/

    it works for me..
     
  11. electric

    electric Well-Known Member

    Joined:
    Nov 5, 2001
    Messages:
    697
    Likes Received:
    1
    Trophy Points:
    18
    I don't understand why cpanel doesn't automatically remove the OLD mail inboxes. These inboxes do nothing but take up wasted space... :(
     
  12. bking

    bking Well-Known Member

    Joined:
    Mar 1, 2004
    Messages:
    206
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Sydney
    symlinks are not needed. In older versions of cPanel there *should* be a hard link in place (ie. they share the same inode). There was a script around somewhere that checks the hardlinks and removes the mismatched mailboxes so as to avoid quota screwups.

    Having said that, I thought the most recent versions of cPanel did away with this behaviour? On my server I verified this, by removing ALL of the /home/user/mail/username directories, and then checking the hardlinks later on. None were re-created. There has been no ongoing issues either. I found the hardlinks became mismatched when users used pop3 and removed mail from the server...
     
Loading...

Share This Page