Author Topic: Login/SMTP sending problem  (Read 6095 times)

Offline rsmith

  • Newbie
  • *
  • Posts: 6
Login/SMTP sending problem
« on: July 18, 2007, 03:42:27 AM »
Hey,

I am running Version 0.1-beta2 on Ubuntu 7.04 i386 server, along with the latest respective apache/php/mysql/courier-imap etc, all installed via apt-get. My previous install of roundcube function flawlessly, but i am having a couple of issues with the latest reinstall. The first issue i have attached a screenshot of, basically when i first login it does not show my emails in the right hand pane until i manually click on Inbox again (Inbox is already selected by default). Once i click Inbox, i can view my emails ok.

The second issue is when i am sending any mail the roundcube progrress bar thingy would eventually go away and say message sent successfully, now it just disappears when i try and send email (the email gets sent ok) and when i try and go back to my Inbox roundcube acts as it it hasnt been sent at all, any ideas?

EDIT: I get the following in logs/errors when trying to send mail:

[17-Jul-2007 13:59:34] PHP Fatal error: Maximum execution time of 120 seconds exceeded in /usr/share/roundcube-webmail/program/lib/imap.inc on line 130
[17-Jul-2007 17:35:26] PHP Fatal error: Maximum execution time of 120 seconds exceeded in /usr/share/roundcube-webmail/program/lib/imap.inc on line 132
[18-Jul-2007 15:25:16] PHP Fatal error: Maximum execution time of 120 seconds exceeded in /usr/share/roundcube-webmail/program/lib/imap.inc on line 130
[18-Jul-2007 15:26:43] PHP Fatal error: Maximum execution time of 120 seconds exceeded in /usr/share/roundcube-webmail/program/lib/imap.inc on line 131

Offline Kika

  • Newbie
  • *
  • Posts: 4
Re: Login/SMTP sending problem
« Reply #1 on: November 21, 2007, 02:26:03 AM »
I have the same problem on ubuntu 7.04 when i would like to login to roundcube. The imap authentication is working, but when try to get my mails something wrong. I download the newest roundcube today...

I don't understand the second error because i see new rows in my database (auto create user) and my mysql server is working fine.


Code: [Select]
Fatal error: Maximum execution time of 120 seconds exceeded in /usr/share/roundcube-webmail/program/lib/imap.inc on line 129
DB Error in /usr/share/roundcube-webmail/program/include/rcube_db.inc (505): DB Error: no database selected Query: SELECT 1 FROM session WHERE
sess_id='c4d824b3a568500279f52065bf76aaa5' [nativecode=2006 ** MySQL server has gone away]

Fatal error: Call to a member function numRows() on a non-object in /usr/share/roundcube-webmail/program/include/rcube_db.inc on line 258

or

Code: [Select]
Fatal error: Maximum execution time of 120 seconds exceeded in /usr/share/roundcube-webmail/program/lib/imap.inc on line 1937
DB Error in /usr/share/roundcube-webmail/program/include/rcube_db.inc (505): DB Error: no database selected Query: SELECT 1 FROM session WHERE
sess_id='c4d824b3a568500279f52065bf76aaa5' [nativecode=2006 ** MySQL server has gone away]

Fatal error: Call to a member function numRows() on a non-object in /usr/share/roundcube-webmail/program/include/rcube_db.inc on line 258
...

Offline rsmith

  • Newbie
  • *
  • Posts: 6
Re: Login/SMTP sending problem
« Reply #2 on: November 21, 2007, 02:33:09 AM »
i fixed it by chown'ing all files and subdirs of the /home/user/Maildir so they were re-readable by the user. fixed it for me

Offline Kika

  • Newbie
  • *
  • Posts: 4
Re: Login/SMTP sending problem
« Reply #3 on: November 21, 2007, 02:41:01 AM »
i tried to chmod 777 on my maildir, but this is not working wor me :(

Offline rsmith

  • Newbie
  • *
  • Posts: 6
Re: Login/SMTP sending problem
« Reply #4 on: November 21, 2007, 02:43:54 AM »
yeh there is some hidden dirs in there, i had to enter the dir, do ls -la and then do them manually as chmod -r doesnt pick those up

Offline Kika

  • Newbie
  • *
  • Posts: 4
Re: Login/SMTP sending problem
« Reply #5 on: November 21, 2007, 02:53:58 AM »

drwxrwxrwx hkalman hkalman _ALL_DIRS_

Offline rsmith

  • Newbie
  • *
  • Posts: 6
Re: Login/SMTP sending problem
« Reply #6 on: November 21, 2007, 03:18:00 AM »
rowan@us:~/Maildir$ ls
courierimapkeywords courierimapsubscribed courierimapuiddb cur new tmp

rowan@us:~/Maildir$ ls -la
total 96
drwxr-xr-x 11 rowan rowan 4096 2007-09-13 19:00 .
drwxr-xr-x 4 rowan rowan 4096 2007-11-16 21:07 ..
drwx------ 6 rowan rowan 4096 2007-09-13 19:00 .Archive
drwxr-xr-x 2 rowan rowan 24576 2007-11-19 11:44 courierimapkeywords
-rw-r--r-- 1 rowan rowan  67 2007-09-13 19:00 courierimapsubscribed
-rw-r--r-- 1 rowan rowan 3801 2007-11-17 07:47 courierimapuiddb
drwx------ 2 rowan rowan 28672 2007-11-19 11:44 cur
drwxr-xr-x 6 rowan rowan 4096 2007-07-15 22:15 .Drafts
drwxr-xr-x 6 rowan rowan 4096 2007-07-15 22:15 .Junk
drwx------ 2 rowan rowan 4096 2007-11-17 07:47 new
drwxr-xr-x 6 rowan rowan 4096 2007-07-15 22:16 .Sent
drwx------ 2 rowan rowan 4096 2007-11-19 11:44 tmp
drwxr-xr-x 6 rowan rowan 4096 2007-07-15 22:16 .Trash

the dirs that are in the second ls results, and not in the first, are what caused the problem for me.

Offline Kika

  • Newbie
  • *
  • Posts: 4
Re: Login/SMTP sending problem
« Reply #7 on: November 21, 2007, 04:38:18 AM »
i have only the .Trash directory in the Maildir, i have a ~/mail with mailboxfiles

Offline rsmith

  • Newbie
  • *
  • Posts: 6
Re: Login/SMTP sending problem
« Reply #8 on: November 21, 2007, 05:52:44 AM »
well my solution obviously doesnt fit your problem :D