Squirrelmail problem :-  Error: could not complete request. Query "Select Inbox". Reason Given. Unable to open this mailbox.

Posted on 2007-08-08
Last Modified: 2013-11-05
Hi all

I was trying to configure squirrelmail in my machine. The postfix, courier imap are all running fine. I tested them individually (telnet localhost 25 and telnet localhost 143). I want to view the mails using squirrelmail.
I ran the script and configured the application. I ran configtest.php script and it said everything is fine.

Now when i login to the mail using squirrelmail, it gives me two error.

Left menu gives me :- Error: cannot dropped by imap server. Query Subscribe "Inbox.Sent"

In the main window, it gives me the following error:- Error: could not complete request. Query "Select Inbox". Reason Given. Unable to open this mailbox.

The apache http.conf file has this entry

User nobody
Group # -1

I tried : chown -R nobody.nobody mail

but then also it didnt work..

the data folder of squirrelmail is put in the /usr/local/apache/sqmdata folder and its chown is also nobody.nobody.

i doubt the postfix is able to deliver the mails to the /home/user/Maildir/new folder, but courier is not able to read it

what could be wrong
Question by:techbie
    LVL 32

    Expert Comment

    by:Kamran Arshad

    Please read the below article and re-Install the Squirrelmail again...

    and do let me knw if the prob persists
    LVL 5

    Author Comment

    sure...i will do it and get back to you
    LVL 5

    Author Comment

    i tried this..but getting the  same error
    LVL 1

    Accepted Solution

    go to squirrelmail directory and run
    ./configure script, if not there then go to squirrelmail/config
    and run from there

    press 2 and enter
    press A and enter
    check if server software matches your actual imap server if not press 8 enter and select courier from the list

    also check that the port and address of imap server are correctly setup ales set them up properly

    after all the changes
    press S and enter
    and then Q and enter
    and that should be all
    LVL 1

    Expert Comment


    forgot to mention

    press 3 and ehter
    here are my settings which are working ok:

    1.  Default Folder Prefix         :
    2.  Show Folder Prefix Option     : false
    3.  Trash Folder                  : INBOX.Trash
    4.  Sent Folder                   : INBOX.Sent
    5.  Drafts Folder                 : INBOX.Drafts
    6.  By default, move to trash     : true
    7.  By default, move to sent      : true
    8.  By default, save as draft     : true
    9.  List Special Folders First    : true
    10. Show Special Folders Color    : true
    11. Auto Expunge                  : true
    12. Default Sub. of INBOX         : true
    13. Show 'Contain Sub.' Option    : false
    14. Default Unseen Notify         : 2
    15. Default Unseen Type           : 1
    16. Auto Create Special Folders   : true
    17. Folder Delete Bypasses Trash  : false
    18. Enable /NoSelect folder fix   : false

    Featured Post

    Why You Should Analyze Threat Actor TTPs

    After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

    Join & Write a Comment

    Resolve Outlook connectivity issues after moving mailbox to new Exchange 2016 server
    Ransomware continues to be a growing problem for both personal and business users alike and Antivirus companies are still struggling to find a reliable way to protect you from this dangerous threat.
    In this Experts Exchange video Micro Tutorial, I'm going to show how small business owners who use Google Apps can save money by setting up what is called a catch-all email address in their Gmail accounts. By using the catch-all feature, small busin…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    755 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    26 Experts available now in Live!

    Get 1:1 Help Now