Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 7242
  • Last Modified:

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

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 conf.pl 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
  • 2
  • 2
1 Solution
Kamran ArshadIT AssociateCommented:

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


and do let me knw if the prob persists
techbieAuthor Commented:
sure...i will do it and get back to you
techbieAuthor Commented:
i tried this..but getting the  same error
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

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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now