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.

SquirrelMail problems upon account migrations.

Discussion in 'E-mail Discussions' started by etamjb, Jul 31, 2006.

  1. etamjb

    etamjb Registered

    Joined:
    Jun 27, 2006
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    This error is displayed upon login to squirremail by many clents.

    "ERROR: Could not complete request.
    Query: CREATE "sent-mail"
    Reason Given: Invalid mailbox name."

    I've been unable to find anything of use on the Google.

    Any ideas?

    Thanks.

    - Jon
     
  2. madan.cpanelnet

    madan.cpanelnet Well-Known Member

    Joined:
    Apr 1, 2006
    Messages:
    69
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    INDIA
    Check if .mailboxlist exist for each user under their mail folders ( /home/username/mail/domainmame/useraccount/ ) if not create the file and add the lines
    INBOX
    SENT
    THRASH
    SPAM

    etc ( based on the files inside the mail folder of each user )


    Next;
    /scripts/upcp --force
     
    #2 madan.cpanelnet, Aug 1, 2006
    Last edited: Aug 1, 2006
  3. fwwebs

    fwwebs Well-Known Member

    Joined:
    Feb 16, 2004
    Messages:
    329
    Likes Received:
    0
    Trophy Points:
    16
    If you're running PHP 5, you'll need to update Squirrelmail to the latest version. Updating cPanel as madan.cpanelnet posted should do the trick.
     
  4. etamjb

    etamjb Registered

    Joined:
    Jun 27, 2006
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    .mailboxlist seems to be correct and we are not running PHP 5.

    Any other ideas? :-/
     
  5. jdfcomputers

    jdfcomputers Member

    Joined:
    Apr 12, 2004
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    1
    make sure email address is listed in the account cpanel
    if not create it

    then

    If the previous server was using cppop and the mailboxes were in mbox format and weren't converted during the transfer (I'm not sure whether or not they should be), then things aren't going to work.

    To check the mailbox format, take a look at /home/username/mail/domainname/emailuser/. If you have 'cur', 'new' and 'tmp' directories, and if there is the odd file lying around with 'courier' in the filename, chances are that it's maildir format. In which case everything should work.

    If the mailboxes are in mbox format, try running /scripts/convert2maildir to convert, remembering to backup mailboxes first (the script gives you this option).

    If it appears that your mailboxes are in maildir format, try running /scripts/courierup --force. You could always give /scripts/convert2maildir a shot - it shouldn't harm mailboxes that are already in maildir format and might just kick something in the right direction.n

    then

    In WHM restart exim/imapd/cppop
     
Loading...

Share This Page