No Mail In Roundcube/Mail in Squirrelmail After Upgrade

tygersclaw

Verified User
Joined
Nov 6, 2006
Messages
24
Did a update of custombuild yesterday, and since then when I log into Roundcube there is no mail in either the Inbox or Sent folders. Yet, I can see all the mail in Squirrelmail when I log in there.

Is there something I missed or a change since I last updated custombuild roughly in October of last year?

btw...I did try doing the ./build roundcube command after I did the update all to see if that would fix/correct the problem.

Kinda would like to fix this as I now prefer using roundcube over Squirrelmail.
 

scsi

Verified User
Joined
Aug 19, 2008
Messages
4,695
Reinstall roundcube with custombuild. All mail is read live from the server.
 

tygersclaw

Verified User
Joined
Nov 6, 2006
Messages
24
Thanks for that scsi.

Just wanted to add that when I do the ./build roundcube d I get the following..

Updating mysql database ...
Editing roundcube configuration...
Roundcube 0.7.1 has been installed successfully.

Warning: system() has been disabled for security reasons in /var/www/html/roundcubemail-0.7.1/bin/update.sh on line 167
This instance of Roundcube is up-to-date.
Have fun!
So, for a noob...what exactly has been disabled and does this answer why there is no mail in Roundcube folders?
 

ditto

Verified User
Joined
Apr 27, 2009
Messages
2,507
The warning is not related to your problem, it is because "system" has been disabled in your php.ini - find the line wich start with "disable_functions" in your php.ini, and if you like you can remove "system" from that line. But I think Roundcube will work without problems, and that there is no need to remove "system".
 

webquarry

Verified User
Joined
Mar 19, 2004
Messages
177
Im having the same problem. Roundcube was updated to the latest version and can no longer display the content of the mail folders. Users can log in just fine but all their folders (inbox, etc) appear to be empty. Squirrelmail is functioning just fine.

Ideas?
 

webquarry

Verified User
Joined
Mar 19, 2004
Messages
177
Does your squirrelmail use IMAP?
I thought that it did. it sees all their imap folders so I just assumed it was connecting via imap. I haven't alter the squirrelmail install at all? Does it NOT use imap?
 

zEitEr

Super Moderator
Joined
Apr 11, 2005
Messages
13,932
Location
GMT +7.00
I've stopped using Squirrelmail several years ago, so you need to check it's configuration. There should be an interactive script to see and update settings, browse the directory with squirrelmail in ssh.
 

NoBaloney2

NoBaloney Internet Svcs.
Joined
Jun 17, 2007
Messages
498
Location
California
The DirectAdmin installation of Squirrelmail uses IMAP and uses the default IMAP indexes, which are based n the 'dovecot' files in the Maildir directory tree (uppercase/lowercase may differ from my explanation). Note that poster says Squirrelmail works, but Roundcube doesn't.

Does Roundcube use IMAP indexes? Or database? Or what?

Jeff
 

zEitEr

Super Moderator
Joined
Apr 11, 2005
Messages
13,932
Location
GMT +7.00
@Jeff,

Does Roundcube use IMAP indexes? Or database? Or what?

Jeff
Yes, Roundcube uses IMAP. As stated by Arieh, it connects to localhost:143.

@tygersclaw,

Try enable debugging in /var/www/html/roundcubemail/config/main.inc.php and see logs:

PHP:
// Log IMAP conversation to <log_dir>/imap or to syslog
$rcmail_config['imap_debug'] = true;
 

Wooderson

Verified User
Joined
Apr 13, 2006
Messages
14
Anyone make any headway with this? I'm having the same issue as well since moving to 0.7.1.
Squirrelmail and UebiMiau is working fine still.

I also noticed in Roundcube that not only is the mail missing, but also when you try and send a new message the "send now" button is greyed out. Anyone else notice that as well or is it just me?

I enabled IMAP logging in roundcube and don't see anything jumping out at me.

Code:
[31-Jan-2012 11:01:32 -0600]: [C1A3] S: * OK [CAPABILITY IMAP4REV1 LOGIN-REFERRALS STARTTLS AUTH=LOGIN] localhost.localdomain IMAP4rev1 2003.339 at Tue, 31 Jan 2012 11:01:32 -0600 (CST)
[31-Jan-2012 11:01:32 -0600]: [C1A3] C: A0001 LOGIN user@domain.com mypassword
[31-Jan-2012 11:01:32 -0600]: [C1A3] S: A0001 OK [CAPABILITY IMAP4REV1 IDLE NAMESPACE MAILBOX-REFERRALS BINARY UNSELECT SCAN SORT THREAD=REFERENCES THREAD=ORDEREDSUBJECT MULTIAPPEND] User user@domain.com authenticated
[31-Jan-2012 11:01:32 -0600]: [C1A3] C: A0002 LSUB "" "*"
[31-Jan-2012 11:01:32 -0600]: [C1A3] S: * LSUB (\NoInferiors) NIL INBOX
[31-Jan-2012 11:01:32 -0600]: [C1A3] S: * LSUB () "/" INBOX/Drafts
[31-Jan-2012 11:01:32 -0600]: [C1A3] S: * LSUB () "/" INBOX/Sent
[31-Jan-2012 11:01:32 -0600]: [C1A3] S: * LSUB () "/" INBOX/spam
[31-Jan-2012 11:01:32 -0600]: [C1A3] S: * LSUB () "/" INBOX/Trash
[31-Jan-2012 11:01:32 -0600]: [C1A3] S: * LSUB () "/" INBOX.Sent
[31-Jan-2012 11:01:32 -0600]: [C1A3] S: * LSUB () "/" INBOX.Trash
[31-Jan-2012 11:01:32 -0600]: [C1A3] S: * LSUB () "/" INBOX.Drafts
[31-Jan-2012 11:01:32 -0600]: [C1A3] S: A0002 OK LSUB completed
[31-Jan-2012 11:01:32 -0600]: [C1A3] C: A0003 LOGOUT
[31-Jan-2012 11:01:32 -0600]: [C1A3] S: * BYE directadmin.domain.com IMAP4rev1 server terminating connection
[31-Jan-2012 11:01:32 -0600]: [C1A3] S: A0003 OK LOGOUT completed
 

zEitEr

Super Moderator
Joined
Apr 11, 2005
Messages
13,932
Location
GMT +7.00
And what is there in /var/log/maillog for the connection shown in this part of your log?

Are the folders not empty? Did you try to browse them in SSH?
 

Wooderson

Verified User
Joined
Apr 13, 2006
Messages
14
Thanks zEitEr.

And what is there in /var/log/maillog for the connection shown in this part of your log?
This is all that shows up in maillog (yep... this one's not on dovecot yet):
Code:
Jan 31 11:01:32 host1 imapd[16196]: imap service init from 127.0.0.1
Jan 31 11:01:32 host1 imapd[16196]: Login user=user@domain.com host=localhost.localdomain [127.0.0.1]
Jan 31 11:01:32 host1 imapd[16196]: Logout user=user@domain.com host=localhost.localdomain [127.0.0.1]

Are the folders not empty? Did you try to browse them in SSH?
I can browse them via SSH and verify that they are not empty. The mail is in there.
 

webquarry

Verified User
Joined
Mar 19, 2004
Messages
177
Anyone make any headway with this? I'm having the same issue as well since moving to 0.7.1.
Squirrelmail and UebiMiau is working fine still.

I also noticed in Roundcube that not only is the mail missing, but also when you try and send a new message the "send now" button is greyed out. Anyone else notice that as well or is it just me?

I enabled IMAP logging in roundcube and don't see anything jumping out at me.

Code:
[31-Jan-2012 11:01:32 -0600]: [C1A3] S: * OK [CAPABILITY IMAP4REV1 LOGIN-REFERRALS STARTTLS AUTH=LOGIN] localhost.localdomain IMAP4rev1 2003.339 at Tue, 31 Jan 2012 11:01:32 -0600 (CST)
[31-Jan-2012 11:01:32 -0600]: [C1A3] C: A0001 LOGIN user@domain.com mypassword
[31-Jan-2012 11:01:32 -0600]: [C1A3] S: A0001 OK [CAPABILITY IMAP4REV1 IDLE NAMESPACE MAILBOX-REFERRALS BINARY UNSELECT SCAN SORT THREAD=REFERENCES THREAD=ORDEREDSUBJECT MULTIAPPEND] User user@domain.com authenticated
[31-Jan-2012 11:01:32 -0600]: [C1A3] C: A0002 LSUB "" "*"
[31-Jan-2012 11:01:32 -0600]: [C1A3] S: * LSUB (\NoInferiors) NIL INBOX
[31-Jan-2012 11:01:32 -0600]: [C1A3] S: * LSUB () "/" INBOX/Drafts
[31-Jan-2012 11:01:32 -0600]: [C1A3] S: * LSUB () "/" INBOX/Sent
[31-Jan-2012 11:01:32 -0600]: [C1A3] S: * LSUB () "/" INBOX/spam
[31-Jan-2012 11:01:32 -0600]: [C1A3] S: * LSUB () "/" INBOX/Trash
[31-Jan-2012 11:01:32 -0600]: [C1A3] S: * LSUB () "/" INBOX.Sent
[31-Jan-2012 11:01:32 -0600]: [C1A3] S: * LSUB () "/" INBOX.Trash
[31-Jan-2012 11:01:32 -0600]: [C1A3] S: * LSUB () "/" INBOX.Drafts
[31-Jan-2012 11:01:32 -0600]: [C1A3] S: A0002 OK LSUB completed
[31-Jan-2012 11:01:32 -0600]: [C1A3] C: A0003 LOGOUT
[31-Jan-2012 11:01:32 -0600]: [C1A3] S: * BYE directadmin.domain.com IMAP4rev1 server terminating connection
[31-Jan-2012 11:01:32 -0600]: [C1A3] S: A0003 OK LOGOUT completed
Curious: What version of PHP are you running on that machine?
 

Wooderson

Verified User
Joined
Apr 13, 2006
Messages
14
I updated PHP to 5.2.17 and it is still behaving the same.

I went into phpMyAdmin and backed up the da_roundcube database, then I dropped it. I removed the roundcube folder and symlink from /var/www/html.
Then I ran custombuild to install roundcube 0.7.1 as a "new" installation. It still did not work. I noticed when installing it tries to run some scripts in the roundcube/scripts folder, but it appears that it requires PHP-CLI to run them and I'm running PHP in GGI mode. I'm not sure that's really a problem. The database appears to have been created fine each time anyway.

So I dropped the database and removed roundcube again and worked backwards towards earlier versions. 0.6 didn't work either. Then I moved back to 0.4 and low and behold it is working again!

So it's not up to date, but it is working for the moment.

Tomorrow I'll look through the changelogs in roundcube to see if anything sticks out at me.
 
Top