Roundcube Community Forum

News and Announcements => General Discussion => Topic started by: boxyball on June 01, 2013, 01:45:49 AM

Title: An error occurred while saving when trying to create folder
Post by: boxyball on June 01, 2013, 01:45:49 AM
I am new to roundcube.
I did a fresh install on new Fedora 18/Sendmail/Dovecot/Saslauthd box.
When I attempt to create a folder I get:  An error occurred while saving.
There is nothing in the roundcube logs or syslog.
Thanks in advance for help.
Title: Re: An error occurred while saving when trying to create folder
Post by: boxyball on June 06, 2013, 02:30:41 PM
help
Title: Re: An error occurred while saving when trying to create folder
Post by: SKaero on June 07, 2013, 05:51:47 PM
Enable imap_debug and post the log.
Title: Re: An error occurred while saving when trying to create folder
Post by: boxyball on June 12, 2013, 04:48:16 PM
I attached the logs.
It looks like this is the problem:
[12-Jun-2013 15:39:53 -0500]: [0085] C: A0003 CREATE INBOXtemp
[12-Jun-2013 15:39:53 -0500]: [0085] S: A0003 NO [NOPERM] Permission denied
But I'm not sure which folder and which permission.
Thanks in advance.
Title: Re: An error occurred while saving when trying to create folder
Post by: SKaero on June 14, 2013, 10:08:54 AM
Make sure all the folders where mail is stored have the correct owner and permissions.
Title: Re: An error occurred while saving when trying to create folder
Post by: boxyball on June 14, 2013, 09:58:18 PM
I figured that part out already (that it is a permissions problem) as noted in previous post.
Sending and receiving works just fine.
It's the folder creation that is not working per initial post.
I don't know what directory and what permission for imap folder creation in roundcube.
Title: Re: An error occurred while saving when trying to create folder
Post by: SKaero on June 14, 2013, 10:58:52 PM
It part of your mail server not RoundCube.
Title: Re: An error occurred while saving when trying to create folder
Post by: boxyball on June 15, 2013, 02:39:26 AM
Also running is sendmail and openwebmail ... but roundcube is the only thing using imap.
Title: Re: An error occurred while saving when trying to create folder
Post by: boxyball on July 25, 2013, 05:36:51 PM
I turned on debugging and saw this error when I try to create folders in roundcube.
Can someone please tell me how to fix this?
I don't know what folder it is using and what permissions it wants.

[12-Jun-2013 15:39:53 -0500]: [0085] C: A0003 CREATE INBOXtemp
[12-Jun-2013 15:39:53 -0500]: [0085] S: A0003 NO [NOPERM] Permission denied
Title: Re: An error occurred while saving when trying to create folder
Post by: SKaero on July 25, 2013, 06:08:20 PM
What do you have set for $config['imap_delimiter'] in the main.inc.php?
Title: Re: An error occurred while saving when trying to create folder
Post by: boxyball on July 25, 2013, 09:57:13 PM
all I have is this:
$rcmail_config['imap_delimiter'] = ".";
I can't find:
$config['imap_delimiter']

Title: Re: An error occurred while saving when trying to create folder
Post by: boxyball on July 29, 2013, 01:39:53 PM
Since there was no answer, I tried a delimiter of / but I still get the same error ... logs below:

[29-Jul-2013 12:36:20 -0500]: [DA1C] S: * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE AUTH=PLAIN AUTH=LOGIN] Dovecot ready.
[29-Jul-2013 12:36:20 -0500]: [DA1C] C: A0001 ID ("name" "Roundcube" "version" "0.9.1" "php" "5.4.15" "os" "Linux" "command" "/?_task=settings&_action=edit-folder&_mbox=&_framed=1")
[29-Jul-2013 12:36:20 -0500]: [DA1C] S: * ID NIL
[29-Jul-2013 12:36:20 -0500]: [DA1C] S: A0001 OK ID completed.
[29-Jul-2013 12:36:20 -0500]: [DA1C] C: A0002 AUTHENTICATE PLAIN AGNoYXllcwBsZW1taW5ncw==
[29-Jul-2013 12:36:20 -0500]: [DA1C] S: A0002 OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS SPECIAL-USE] Logged in
[29-Jul-2013 12:36:20 -0500]: [DA1C] C: A0003 LIST "" "*"
[29-Jul-2013 12:36:20 -0500]: [DA1C] S: * LIST (\Noselect \HasNoChildren) "/" "sshd"
[29-Jul-2013 12:36:20 -0500]: [DA1C] S: * LIST (\HasNoChildren) "/" "INBOX"
[29-Jul-2013 12:36:20 -0500]: [DA1C] S: A0003 OK List completed.
[29-Jul-2013 12:36:20 -0500]: [DA1C] C: A0004 LOGOUT
[29-Jul-2013 12:36:20 -0500]: [DA1C] S: * BYE Logging out
[29-Jul-2013 12:36:20 -0500]: [DA1C] S: A0004 OK Logout completed.
[29-Jul-2013 12:36:26 -0500]: [8CC0] S: * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE AUTH=PLAIN AUTH=LOGIN] Dovecot ready.
[29-Jul-2013 12:36:26 -0500]: [8CC0] C: A0001 ID ("name" "Roundcube" "version" "0.9.1" "php" "5.4.15" "os" "Linux" "command" "/")
[29-Jul-2013 12:36:26 -0500]: [8CC0] S: * ID NIL
[29-Jul-2013 12:36:26 -0500]: [8CC0] S: A0001 OK ID completed.
[29-Jul-2013 12:36:26 -0500]: [8CC0] C: A0002 AUTHENTICATE PLAIN AGNoYXllcwBsZW1taW5ncw==
[29-Jul-2013 12:36:26 -0500]: [8CC0] S: A0002 OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS SPECIAL-USE] Logged in
[29-Jul-2013 12:36:26 -0500]: [8CC0] C: A0003 CREATE INBOXtest
[29-Jul-2013 12:36:26 -0500]: [8CC0] S: A0003 NO [NOPERM] Permission denied
[29-Jul-2013 12:36:26 -0500]: [8CC0] C: A0004 LIST "" "*"
[29-Jul-2013 12:36:26 -0500]: [8CC0] S: * LIST (\Noselect \HasNoChildren) "/" "sshd"
[29-Jul-2013 12:36:26 -0500]: [8CC0] S: * LIST (\HasNoChildren) "/" "INBOX"
[29-Jul-2013 12:36:26 -0500]: [8CC0] S: A0004 OK List completed.
[29-Jul-2013 12:36:26 -0500]: [8CC0] C: A0005 LOGOUT
[29-Jul-2013 12:36:26 -0500]: [8CC0] S: * BYE Logging out
[29-Jul-2013 12:36:26 -0500]: [8CC0] S: A0005 OK Logout completed.
Title: Re: An error occurred while saving when trying to create folder
Post by: boxyball on July 29, 2013, 01:45:13 PM
Also ... this might be relevant.
When I go to FOLDER MANAGEMENT, I see Inbox and sshd listed as folders.
Inbox is checked as SUBSCRIBED but sshd is not.
I don't know why sshd would be listed as a folder for all users.
Also, when I click the plus sign to add a folder, the choices for PARENT FOLDER are --- and sshd.
The --- selection is the default.
I've tried creating a folder with either choice and get the same error.
Title: Re: An error occurred while saving when trying to create folder
Post by: boxyball on July 29, 2013, 02:24:07 PM
Also ... this might be relevant ... we use mbox format
Title: Re: An error occurred while saving when trying to create folder
Post by: boxyball on July 30, 2013, 12:25:38 AM
ok ... over 600 views and zero assistance.
Is this a situation where we need to pay someone for support?
Do you have such an option?
Are there roundcube consultants?
Title: Re: An error occurred while saving when trying to create folder
Post by: JohnDoh on July 30, 2013, 02:57:27 AM
Quote
Since there was no answer, I tried a delimiter of / but I still get the same error ... logs below:
where did you set this? the log shows no delimiter....
Quote
[29-Jul-2013 12:36:26 -0500]: [8CC0] C: A0003 CREATE INBOXtest
Quote
I don't know why sshd would be listed as a folder for all users.
sshd is listed becuase its returned as a folder by your imap server...
Quote
[29-Jul-2013 12:36:20 -0500]: [DA1C] S: * LIST (\Noselect \HasNoChildren) "/" "sshd"
Title: Re: An error occurred while saving when trying to create folder
Post by: boxyball on August 01, 2013, 05:45:07 PM
$rcmail_config['imap_delimiter'] = ".";

I tried with . and / with same results.