Author Topic: [SOLVED] Can't create subfolders  (Read 6317 times)

Offline Galimba72

  • Newbie
  • *
  • Posts: 7
[SOLVED] Can't create subfolders
« on: July 18, 2010, 03:31:50 AM »
Hi all,
sorry for my english; I'm newbie with RC and a have a problem with create new subfolders: it say that it is not possible.
I can create new folders, but when i try to create a subfolder i got the error.

This is the permission of my directorys
drwx------ 2 marco marco 4096  7 lug 11:20 Bozze (draft)
drwx------ 2 marco marco 4096  6 lug 21:59 Cestino (Trash)
drwx------ 2 marco marco 4096 17 lug 22:20 Importanti
drwx------ 2 marco marco 4096  7 lug 21:58 INBOX
drwx------ 2 marco marco 4096  7 lug 11:20 Inviata (send)
drwx------ 2 marco marco 4096  6 lug 23:29 Polvere di stelle
drwx------ 2 marco marco 4096  6 lug 23:28 Spam_o_Virus

Does anyone can help me?
Thanx
« Last Edit: July 20, 2010, 06:31:07 PM by Galimba72 »

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,845
Can't create subfolders
« Reply #1 on: July 18, 2010, 04:31:05 AM »
RC does not create the folders itself, it is done via your IMAP server. Please check your IMAP server logs for any errors. Also you could try turing on imap_debug in your RC config and see if there is any info there and your RC error log. If you find any relevent messages in these logs please post them and some one might be able to help.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and moreā€¦

Offline Galimba72

  • Newbie
  • *
  • Posts: 7
Can't create subfolders
« Reply #2 on: July 18, 2010, 08:18:21 AM »
so u mean to have a folder list like shown here i have to configure my IMAP server Dovecot and create foldere and subfolders with it?
Thanx for your answer

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,876
    • SKaero - Custom Roundcube development
Can't create subfolders
« Reply #3 on: July 18, 2010, 08:31:55 AM »
When you create a folder or sub folder in RoundCube it just sends a command to your mail server. You need to check your mail server error log or enable imap_debug in RoundCube to find out why your mail server isn't creating the folder.

Offline Galimba72

  • Newbie
  • *
  • Posts: 7
Can't create subfolders
« Reply #4 on: July 19, 2010, 04:55:56 PM »
Ok i have modified $rcmail_config['imap_debug'] = true; in main.inc.php

No log events is written in roundcube/logs/errors and no events too in /var/log/dovecot

At this time i can create folder but not subfolder

Where i'm in fall?

Offline dziobak

  • Full Member
  • ***
  • Posts: 184
Can't create subfolders
« Reply #5 on: July 20, 2010, 02:51:51 AM »
look in roundcube/logs/imap

Offline Galimba72

  • Newbie
  • *
  • Posts: 7
Can't create subfolders
« Reply #6 on: July 20, 2010, 05:50:12 AM »
In roundcube/logs/ i have only 2 files: errors end sendmail.

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Can't create subfolders
« Reply #7 on: July 20, 2010, 06:58:35 AM »
./config/main.inc.php

// If you know your imap's root directory and its folder delimiter,
// you can specify them here. Otherwise they will be determined automatically.
$rcmail_config['imap_root'] = null;
$rcmail_config['imap_delimiter'] = null;


May be you need to define an imap delimiter. Most probably it is a dot ("."), slash ("/") or a backslash ("\\"). Please refer to your imap server manual.
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline dziobak

  • Full Member
  • ***
  • Posts: 184
Can't create subfolders
« Reply #8 on: July 20, 2010, 07:23:33 AM »
Quote from: Galimba72;28836
In roundcube/logs/ i have only 2 files: errors end sendmail.


If you have enable imap_debug you should have imap file in logs...

Offline Galimba72

  • Newbie
  • *
  • Posts: 7
[SOLVED] [0.4beta] Can't create subfolders
« Reply #9 on: July 20, 2010, 09:05:00 AM »
Quote from: rosali;28847
./config/main.inc.php

// If you know your imap's root directory and its folder delimiter,
// you can specify them here. Otherwise they will be determined automatically.
$rcmail_config['imap_root'] = null;
$rcmail_config['imap_delimiter'] = null;


May be you need to define an imap delimiter. Most probably it is a dot ("."), slash ("/") or a backslash ("\\"). Please refer to your imap server manual.


Thank you very much. I solved putting "." in $rcmail_config['imap_delimiter']

Offline twiss

  • Newbie
  • *
  • Posts: 6
Can't create subfolders
« Reply #10 on: August 10, 2010, 02:31:20 AM »
Hi, I am also having the same issue.

here is my config:
Code: [Select]
// store draft message is this mailbox
// leave blank if draft messages should not be stored
$rcmail_config['drafts_mbox'] = 'Drafts';

// store spam messages in this mailbox
$rcmail_config['junk_mbox'] = 'Junk';

// store sent message is this mailbox
// leave blank if sent messages should not be stored
$rcmail_config['sent_mbox'] = 'Sent';

// move messages to this folder when deleting them
// leave blank if they should be deleted directly
$rcmail_config['trash_mbox'] = 'Trash';

// display these folders separately in the mailbox list.
// these folders will also be displayed with localized names
$rcmail_config['default_imap_folders'] = array('INBOX', 'Drafts', 'Sent', 'Junk', 'Trash');

// automatically create the above listed default folders on login
$rcmail_config['create_default_folders'] = true;

// protect the default folders from renames, deletes, and subscription changes
$rcmail_config['protect_default_folders'] = true;

// if in your system 0 quota means no limit set this option to true
$rcmail_config['quota_zero_as_unlimited'] = false;


Here is my IMAP log:
Code: [Select]
[10-Aug-2010 02:26:21 -0400]: S: * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE STARTTLS AUTH=PLAIN AUTH=LOGIN] Dovecot ready.
[10-Aug-2010 02:26:21 -0400]: C: cp01 CAPABILITY
[10-Aug-2010 02:26:21 -0400]: S: * CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS MULTIAPPEND UNSELECT IDLE CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS QUOTA STARTTLS AUTH=PLAIN AUTH=LOGIN
[10-Aug-2010 02:26:21 -0400]: S: cp01 OK Capability completed.
[10-Aug-2010 02:26:21 -0400]: C: a001 LOGIN "testing@domain.org" "testing"
[10-Aug-2010 02:26:21 -0400]: S: a001 OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS MULTIAPPEND UNSELECT IDLE CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS QUOTA] Logged in
[10-Aug-2010 02:26:21 -0400]: C: ns1 NAMESPACE
[10-Aug-2010 02:26:21 -0400]: S: * NAMESPACE (("INBOX." ".")) NIL NIL
[10-Aug-2010 02:26:21 -0400]: S: ns1 OK Namespace completed.
[10-Aug-2010 02:26:21 -0400]: C: lmb LIST "INBOX." "*"
[10-Aug-2010 02:26:21 -0400]: S: * LIST (\HasNoChildren) "." "INBOX.Trash"
[10-Aug-2010 02:26:21 -0400]: S: * LIST (\HasNoChildren) "." "INBOX.Sent"
[10-Aug-2010 02:26:21 -0400]: S: * LIST (\HasNoChildren) "." "INBOX.Drafts"
[10-Aug-2010 02:26:21 -0400]: S: * LIST (\HasNoChildren) "." "INBOX.Junk"
[10-Aug-2010 02:26:21 -0400]: S: lmb OK List completed.
[10-Aug-2010 02:26:21 -0400]: C: lsb LSUB "INBOX." "Drafts"
[10-Aug-2010 02:26:21 -0400]: S: lsb OK Lsub completed.
[10-Aug-2010 02:26:21 -0400]: C: lmb LIST "INBOX." "*"
[10-Aug-2010 02:26:21 -0400]: S: * LIST (\HasNoChildren) "." "INBOX.Trash"
[10-Aug-2010 02:26:21 -0400]: S: * LIST (\HasNoChildren) "." "INBOX.Sent"
[10-Aug-2010 02:26:21 -0400]: S: * LIST (\HasNoChildren) "." "INBOX.Drafts"
[10-Aug-2010 02:26:21 -0400]: S: * LIST (\HasNoChildren) "." "INBOX.Junk"
[10-Aug-2010 02:26:21 -0400]: S: lmb OK List completed.
[10-Aug-2010 02:26:21 -0400]: C: lsb LSUB "INBOX." "Sent"
[10-Aug-2010 02:26:21 -0400]: S: lsb OK Lsub completed.
[10-Aug-2010 02:26:21 -0400]: C: lmb LIST "INBOX." "*"
[10-Aug-2010 02:26:21 -0400]: S: * LIST (\HasNoChildren) "." "INBOX.Trash"
[10-Aug-2010 02:26:21 -0400]: S: * LIST (\HasNoChildren) "." "INBOX.Sent"
[10-Aug-2010 02:26:21 -0400]: S: * LIST (\HasNoChildren) "." "INBOX.Drafts"
[10-Aug-2010 02:26:21 -0400]: S: * LIST (\HasNoChildren) "." "INBOX.Junk"
[10-Aug-2010 02:26:21 -0400]: S: lmb OK List completed.
[10-Aug-2010 02:26:21 -0400]: C: lsb LSUB "INBOX." "Junk"
[10-Aug-2010 02:26:21 -0400]: S: lsb OK Lsub completed.
[10-Aug-2010 02:26:21 -0400]: C: lmb LIST "INBOX." "*"
[10-Aug-2010 02:26:21 -0400]: S: * LIST (\HasNoChildren) "." "INBOX.Trash"
[10-Aug-2010 02:26:21 -0400]: S: * LIST (\HasNoChildren) "." "INBOX.Sent"
[10-Aug-2010 02:26:21 -0400]: S: * LIST (\HasNoChildren) "." "INBOX.Drafts"
[10-Aug-2010 02:26:21 -0400]: S: * LIST (\HasNoChildren) "." "INBOX.Junk"
[10-Aug-2010 02:26:21 -0400]: S: lmb OK List completed.
[10-Aug-2010 02:26:21 -0400]: C: lsb LSUB "INBOX." "Trash"
[10-Aug-2010 02:26:21 -0400]: S: lsb OK Lsub completed.
[10-Aug-2010 02:26:21 -0400]: C: I LOGOUT
[10-Aug-2010 02:26:22 -0400]: S: * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE STARTTLS AUTH=PLAIN AUTH=LOGIN] Dovecot ready.
[10-Aug-2010 02:26:22 -0400]: C: cp01 CAPABILITY
[10-Aug-2010 02:26:22 -0400]: S: * CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS MULTIAPPEND UNSELECT IDLE CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS QUOTA STARTTLS AUTH=PLAIN AUTH=LOGIN
[10-Aug-2010 02:26:22 -0400]: S: cp01 OK Capability completed.
[10-Aug-2010 02:26:22 -0400]: C: a001 LOGIN "testing@domain.org" "testing"
[10-Aug-2010 02:26:22 -0400]: S: a001 OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS MULTIAPPEND UNSELECT IDLE CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS QUOTA] Logged in
[10-Aug-2010 02:26:22 -0400]: C: sel1 SELECT "INBOX"
[10-Aug-2010 02:26:22 -0400]: S: * FLAGS (\Answered \Flagged \Deleted \Seen \Draft)
[10-Aug-2010 02:26:22 -0400]: S: * OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft \*)] Flags permitted.
[10-Aug-2010 02:26:22 -0400]: S: * 0 EXISTS
[10-Aug-2010 02:26:22 -0400]: S: * 0 RECENT
[10-Aug-2010 02:26:22 -0400]: S: * OK [UIDVALIDITY 1281421582] UIDs valid
[10-Aug-2010 02:26:22 -0400]: S: * OK [UIDNEXT 1] Predicted next UID
[10-Aug-2010 02:26:22 -0400]: S: * OK [HIGHESTMODSEQ 1] Highest
[10-Aug-2010 02:26:22 -0400]: S: sel1 OK [READ-WRITE] Select completed.
[10-Aug-2010 02:26:22 -0400]: C: lsb LSUB "INBOX." "*"
[10-Aug-2010 02:26:22 -0400]: S: lsb OK Lsub completed.
[10-Aug-2010 02:26:22 -0400]: C: QUOT1 GETQUOTAROOT "INBOX"
[10-Aug-2010 02:26:22 -0400]: S: * QUOTAROOT "INBOX" "storage=0"
[10-Aug-2010 02:26:22 -0400]: S: * QUOTA "storage=0" (STORAGE 0 10240)
[10-Aug-2010 02:26:22 -0400]: S: QUOT1 OK Getquotaroot completed.
[10-Aug-2010 02:26:23 -0400]: C: I LOGOUT
[10-Aug-2010 02:26:23 -0400]: S: * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE STARTTLS AUTH=PLAIN AUTH=LOGIN] Dovecot ready.
[10-Aug-2010 02:26:23 -0400]: C: cp01 CAPABILITY
[10-Aug-2010 02:26:23 -0400]: S: * CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS MULTIAPPEND UNSELECT IDLE CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS QUOTA STARTTLS AUTH=PLAIN AUTH=LOGIN
[10-Aug-2010 02:26:23 -0400]: S: cp01 OK Capability completed.
[10-Aug-2010 02:26:23 -0400]: C: a001 LOGIN "testing@domain.org" "testing"
[10-Aug-2010 02:26:23 -0400]: S: a001 OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS MULTIAPPEND UNSELECT IDLE CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS QUOTA] Logged in
[10-Aug-2010 02:26:23 -0400]: C: lsb LSUB "INBOX." "*"
[10-Aug-2010 02:26:23 -0400]: S: lsb OK Lsub completed.
[10-Aug-2010 02:26:23 -0400]: C: sel1 SELECT "INBOX"
[10-Aug-2010 02:26:23 -0400]: S: * FLAGS (\Answered \Flagged \Deleted \Seen \Draft)
[10-Aug-2010 02:26:23 -0400]: S: * OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft \*)] Flags permitted.
[10-Aug-2010 02:26:23 -0400]: S: * 0 EXISTS
[10-Aug-2010 02:26:23 -0400]: S: * 0 RECENT
[10-Aug-2010 02:26:23 -0400]: S: * OK [UIDVALIDITY 1281421582] UIDs valid
[10-Aug-2010 02:26:23 -0400]: S: * OK [UIDNEXT 1] Predicted next UID
[10-Aug-2010 02:26:23 -0400]: S: * OK [HIGHESTMODSEQ 1] Highest
[10-Aug-2010 02:26:23 -0400]: S: sel1 OK [READ-WRITE] Select completed.
[10-Aug-2010 02:26:23 -0400]: C: srch1 SEARCH ALL UNSEEN
[10-Aug-2010 02:26:23 -0400]: S: * SEARCH
[10-Aug-2010 02:26:23 -0400]: S: srch1 OK Search completed (0.000 secs).
[10-Aug-2010 02:26:23 -0400]: C: I LOGOUT


I have tried changing the delimiter to "." , "/" and "\" but that did not work. Could you help please?