HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   HOWTO-Related Questions (http://www.howtoforge.com/forums/forumdisplay.php?f=2)
-   -   Virtual Users And Domains W/ Postfix, Courier and MySql + Squirrelmail prob (http://www.howtoforge.com/forums/showthread.php?t=7519)

nsurge 17th October 2006 21:59

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

falko 18th October 2006 17:57

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?

nsurge 18th October 2006 18:27

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.

falko 19th October 2006 16:17

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?

nsurge 19th October 2006 19:36

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

falko 20th October 2006 16:56

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.

nsurge 20th October 2006 19:44

I changed the domains to mask the real ones. The login information is correct, I'm able to authenticate without any problems, send mail, receive, etc.

I can't get Courier to create the folders for IMAP and SquirrelMail. (Sent, Trash, etc.)

nsurge 20th October 2006 21:03

I have now figured out that I can create a subdirectory under the Inbox folder. But I get the above mentioned error trying to create one on the root directory! I'm going to try to courier-imap mailing list too for some help with this!

falko 21st October 2006 22:28

Maybe the root directory has wrong permissions?

nsurge 23rd October 2006 18:19

http://www.courier-mta.org/?FAQ.html~namespace

This is the exact problem I'm having....

The permissions are exactly as given in the howto.


All times are GMT +2. The time now is 07:05.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.