
17th October 2006, 20:59
|
|
Junior Member
|
|
Join Date: Sep 2006
Posts: 20
Thanks: 0
Thanked 2 Times in 1 Post
|
|
Virtual Users And Domains W/ Postfix, Courier and MySql + Squirrelmail prob
Hi,
I'm trying to setup squirrelmail on a remote server to connect via IMAP to the host running Postfix, Courier, and Mysql (on FC5 64b). It's able to connect and authenticate (which shows what's in the inbox), but it's having a problem with creating the initial folders. (I also can't create any folders in Outlook/OE). I'm able to pop email and imap from the server from O/OE w/o any problems.
This is the error i get on the left hand folder view pane and what I get if I go to the folders options and try to create a folder:
Code:
ERROR:
ERROR: Could not complete request.
Query: CREATE "Sent"
Reason Given: Invalid mailbox name.
I thought SquirrelMail, or Courier created the default folders it needed in the /home/vmail/domain/user directory automatically, but dosen't seem to be the case. I havn't found any info on this on google or here, so I apologize if I overlooked it. The testconfig.php says everything looks good. I'm able to send email find also, so I know it's mostly setup correctly.
Thanks any info,
Nathan
|

18th October 2006, 16:57
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
Quote:
|
Originally Posted by nsurge
This is the error i get on the left hand folder view pane and what I get if I go to the folders options and try to create a folder:
|
Did you send a mail to that user first to go sure that Maildir has really been created?
|

18th October 2006, 17:27
|
|
Junior Member
|
|
Join Date: Sep 2006
Posts: 20
Thanks: 0
Thanked 2 Times in 1 Post
|
|
Yes,
I created a bash script that generates a welcome message to initialize the accounts I create in the DB. This sets up the /home/vmail/domain/user folder, which contains the quota file, the "new", "tmp", and "cur" folders.
I'm able to pop from this account, and use imap from Outlook/OE, but only my inbox is available.
|

19th October 2006, 15:17
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
Quote:
|
Originally Posted by nsurge
I'm able to pop from this account, and use imap from Outlook/OE, but only my inbox is available.
|
And can you create new folders with Outlook?
|

19th October 2006, 18:36
|
|
Junior Member
|
|
Join Date: Sep 2006
Posts: 20
Thanks: 0
Thanked 2 Times in 1 Post
|
|
No, when I try to create a folder in Outlook/OE, I get a message that says
"Your folder could not be created: the IMAP server refused to create it." When I l click on details, I get this:
Code:
Invalid mailbox name.
Configuration:
Account: pop.domain.net
Server: pop.domain.net
User name: user@domain.net
Protocol: IMAP
Port: 143
Secure(SSL): 0
Code: 800cccd2
This error code is suppose to mean:
Code:
×800CCCD2 IMAP_TAGGED_NO_RESPONSE Message tagged.
It seems like some kind of permission issue, but nothing comes up in the logs either. Am I missing some courier-imap config settings somewhere?
thanks again,
nathan
|

20th October 2006, 15:56
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
Quote:
|
Originally Posted by nsurge
Code:
Configuration:
Account: pop.domain.net
Server: pop.domain.net
User name: user@domain.net
Protocol: IMAP
Port: 143
Secure(SSL): 0
Code: 800cccd2
|
Is Account: pop.domain.net correct? This should be your username. I don't think that pop.domain.net is your username.
|

23rd October 2006, 17:43
|
|
Junior Member
|
|
Join Date: Sep 2006
Posts: 20
Thanks: 0
Thanked 2 Times in 1 Post
|
|
Solved!
FINALLY! I've figured out the cause.....
From Squirrel Mail's wiki, http://www.squirrelmail.org/wiki/Squ...AndCourierIMAP,
I found this:
Code:
Problems
* SquirrelMail Fedora package and Courier
If you use Courier and SquirrelMail Fedora RPM (1.4.4-2) - remove $default_folder_prefix override from /etc/squirrelmail/config_local.php.
Although I'm using 1.4.8.x, I commented out the setting anyway and tried it.... SUCCESS!
Hope this saves someone a week long headache... =)
Thanks Falko for the help and the awesome howto... again!
|
|
The Following 2 Users Say Thank You to nsurge For This Useful Post:
|
mike_p (16th April 2010),
Mitzi (2nd August 2007)
|
| Thread Tools |
|
|
| Display Modes |
Hybrid Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 12:52.
|
Recent comments
10 hours 28 min ago
15 hours 27 min ago
16 hours 54 min ago
17 hours 47 min ago
19 hours 30 min ago
23 hours 53 min ago
1 day 45 min ago
1 day 2 hours ago
1 day 16 hours ago
1 day 17 hours ago