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.

POP account folders

Discussion in 'General Discussion' started by beerguy, Jul 10, 2005.

  1. beerguy

    beerguy Member

    Joined:
    Apr 8, 2002
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Did cPanel (or someone) at some point change the way that POP accounts are stored in each account?

    As I see it now each account has a mail folder
    within that folder is the mailboxes of the main account AND a directory called domain.com
    within the folder called domain.com are the other pop accounts, nicely grouped by name.

    BUT

    Somehow, sometime in the past, all of the pop acccounts were in the top mailfolder ...I have left over folders from that time that are not being used (I can tell by the dates), folders that are the names of my clients, just like the ones that are being used.

    Before I nuke these older folders, I wanted to deduce what happened. I hope my explanation makes sense.

    Thanks,

    Jamie

    PS: I also have invisible .neomail files in the home directory - what purpose do these serve..anyone?
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    That functionality was removed well over a year ago. The correct inbox files are those within the /home/user/mail/domain.com/ directory tree and the ones at /home/user/mail can be removed.
     
  3. electric

    electric Well-Known Member

    Joined:
    Nov 5, 2001
    Messages:
    697
    Likes Received:
    1
    Trophy Points:
    18
    There is a script somewhere on these forums that does the job of removing all the old folders/files for you... I can't find it at the moment.
     
  4. asmithjr

    asmithjr Well-Known Member

    Joined:
    Jun 13, 2003
    Messages:
    475
    Likes Received:
    1
    Trophy Points:
    18
    I've not located it yet either.
     
  5. rpmws

    rpmws Well-Known Member

    Joined:
    Aug 14, 2001
    Messages:
    1,824
    Likes Received:
    5
    Trophy Points:
    38
    Location:
    back woods of NC, USA
    there may be one in side /scripts ... convertemails? or something like that.
     
  6. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    I think I wrote one in a post ages ago, but couldn't find the post.
     
  7. asmithjr

    asmithjr Well-Known Member

    Joined:
    Jun 13, 2003
    Messages:
    475
    Likes Received:
    1
    Trophy Points:
    18
    I did
    Code:
    killall convertemails
    rm -f /scripts/convertemails
    /scripts/upcp
    /scripts/convertemails

    but still see accounts in /home/USER/mail along with the ones in /home/USER/mail/domain.com

    maybe the convertemails does not remove them
     
  8. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    It doesn't, that's not what that script is for.
     
  9. asmithjr

    asmithjr Well-Known Member

    Joined:
    Jun 13, 2003
    Messages:
    475
    Likes Received:
    1
    Trophy Points:
    18
  10. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    That's the one! Well done :) I'd forgotten it was that simple ;)
     
  11. asmithjr

    asmithjr Well-Known Member

    Joined:
    Jun 13, 2003
    Messages:
    475
    Likes Received:
    1
    Trophy Points:
    18
    lot easier when you said it was you.

    By the way, Thanks again, Ran like a charm.
     
Loading...

Share This Page