i've just installed roundcube but i'm having a problem i just cant figure out.
My setup:
CentOS / qmail / courier-imap /
I can login with roundcube, and the folders and emails are displayed. But if I want to send an email i get an error
"An error ocurred while saving"
The email does get send, im just not seeing it in the sent folder. The IMAP root path is empty, and the other folders are default, i didn't change them. This is the layout of my email dir
/home/vpopmail/domains/bliep.com/user/Maildir
/home/vpopmail/domains/bliep.com/user/Maildir/cur
/home/vpopmail/domains/bliep.com/user/Maildir/new
/home/vpopmail/domains/bliep.com/user/Maildir/tmp
/home/vpopmail/domains/bliep.com/user/Maildir/.Drafts
/home/vpopmail/domains/bliep.com/user/Maildir/.Drafts/cur
/home/vpopmail/domains/bliep.com/user/Maildir/.Drafts/new
/home/vpopmail/domains/bliep.com/user/Maildir/.Drafts/tmp
/home/vpopmail/domains/bliep.com/user/Maildir/.Sent/
/home/vpopmail/domains/bliep.com/user/Maildir/.Sent/cur
/home/vpopmail/domains/bliep.com/user/Maildir/.Sent/new
/home/vpopmail/domains/bliep.com/user/Maildir/.Sent/tmp
and so on. If I use a mail client everything is fine, so i guess it has something to do with permission?
Look at your smtp settings in the main.inc.php
i'm using the smtp server of my isp to send mail, is that the problem?
Shouldn't be as long as RC can authenticate to a smtp server. If your smtp server is not on the server as RC. You need to set that up in the main.inc.php
RC can authenticate on the remote smtp server, when i send a mail via RC, i do recieve it on my external mail account (complete other domain), but RC just can't save a copy of the email in the sent folder.
Have you checked your error logs?
IMAP Error: Could not save message in Sent in /var/www/html/roundcube/program/steps/mail/sendmail.inc on line 0
Are you subscribed to your folders?
howto suscribe to the folders ?
i use multi domain on a single vhost.
On the main domain 'domain1.org' .. it works fine .. with '
[email protected]'
but when i use an user account '
[email protected]' ... i get the error message .. but the mail is send. (i check it on the receive email account.
Personal settings > folders
I'm testing roundcube out on an old machine with an existing "qmail toaster" install from way back which uses vpopmail, squirrelmail, et al.
I think the problem is that all of the virtual domains and user directories which contain all of the mail folders under the /home/vpopmail/domains/ directory structure is all 600-mode (vpopmail.vchkpw owned) and roundcube is running on my web server which is running as apache.
The thing I haven't figured out yet is why squirrelmail, also running on my webserver (apache) has no problem writing to the Trash and Sent folders under /home/vpopmail/domains.
When I/we figure that one out, then I assume we'll have the problem solved.
I'm currently working with the same problem.
When I make a different submaildir for sent mail, like:
$ maildirmake -f Sentmail Maildir/
And change:
$rcmail_config['sent_mbox'] = 'Sent';
to:
$rcmail_config['sent_mbox'] = 'Sentmail';
In main.inc.php
Then sending mail works just fine. But it does seem very strange though...
It should probably be reported as a bug.
By the way, my system is:
Debian Etch, postfix, courier imap
Yes I/we need to understand how/why squirrelmail is able to write to these vpopmail dirs as user vpopmail and then make RoundCube do the same. I'm hoping some other squirrelmail convert is on here and can provide the guidance on what to do here.
I found a solution in this thread: http://www.roundcubeforum.net/showthread.php?t=3071
Set 'protect default folders' to false:
$rcmail_config['protect_default_folders'] = FALSE;
in main.inc.php
That solution is equivalent to deleting the folders in the filesystem and recreating them with permissions that the web server (and by extension roundcube) can access.
This may then affect other clients like squirrelmail's ability to access these folders. I don't really want to mess with the current config. I just want to add roundcube to the current vpopmail/squirrelmail setup I have so users have the option of using whatever client they want. I had thought about doing something similar under the vpopmail/domain directory structure for those particular folders (Sent, Trash) - basically just doing a chmod 660 (from the current 600 perms) and then moving system groups around to allow writes to those files from both the vpopmail user and apache users, however, that seems hackish and I'm holding out for the correct solution.
C'mon, nobody on these forums or author(s) of RoundCube have encountered this before? There must be ex qmail-toaster squirrelmail users here that are testing/migrating to roundcube and know what the issue is? I'll keep digging on my end, but don't make me reinvent the wheel. :) I'm sure this has been solved before the right way. :confused:
Hi everyone !
I'm afraid I have the same problem as reported here ...
I got 2 servers : 1st is the mail server (qmail + vpopmail/mysql, with squirrelmail working fine) running fedora and 2nd is a web server (hosting roundcube 0.2 alpha 1) running debian 4.0 r3.
I can authenticate with RC on the mail server using imap with TLS and also send messages through smtp with TLS (again) ... emails ARE SENT, but not "saved" (even if I force RC not to save sent messages, with the $rcmail_config['smtp_log'] var set to FALSE ... The log trace report :
QuoteIMAP Error: Could not save message in Sent in /web/www/rc/program/steps/mail/sendmail.inc on line 0
Plus, squirrelmail can send and receive emails without having any errors like this ...
I also added my ISP's imap server to test RC with it (they are already using RC on their own servers at http://imp.free.fr/rc (http://imp.free.fr/rc), and I can send/receive mails without any error (I think Free is using postfix and/or qmail for their mail functionality, so there is no reason it might not work for us - or they have experienced that problem and managed to solve it, can a technican read this post ;D )
I don't care if RC doesn't save my mails, I just want it to send and read them. Is it possible to bypass this saving function ?
If someone wants to test, I can create a temp. account. I DO want to use roundcube, not squirrelmail which themes are quite too much ... simple ?
Thanks !
edit : the solution explained just above doesn't fix the problem for me :(