Author Topic: roundcube does not pick up emails  (Read 18637 times)

Offline associates

  • Jr. Member
  • **
  • Posts: 15
roundcube does not pick up emails
« on: July 05, 2012, 01:03:24 AM »
Hi,

I have something really strange here. I can log into roundcube mail and can send emails out to my Yahoo email account. However, I can't see any incoming emails in my INBOX from roundcube mail. I then checked to see if there are any emails in my /home/vmail/domain/myuser/new and to my surprise, there are emails there that I've been waiting for to show up in my roundcube inbox. I suspect I'd probably have misconfigured my roundcube that it fails to pick up the mails.

The log files shows warning as follows
[05-Jul-2012 03:13:04 UTC] PHP Warning:  Creating default object from empty value in /usr/local/apache2/htdocs/roundcubemail/program/steps/mail/compose.inc on line 239

BTW, I have postfix, dovecot, MySQL and roundcube mail installed on my Ubuntu Server 12.04.

I was wondering if anyone might be able to help me here. Any help would be greatly appreciated.

Thank you

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,876
    • SKaero - Custom Roundcube development
Re: roundcube does not pick up emails
« Reply #1 on: July 05, 2012, 01:07:26 AM »
What version of RoundCube are you running? Can you enable imap_debug and post the log.

Offline associates

  • Jr. Member
  • **
  • Posts: 15
Re: roundcube does not pick up emails
« Reply #2 on: July 05, 2012, 01:44:48 AM »
Thank you SKaero for your reply.

Here is the imap log file
[05-Jul-2012 15:42:04 +1000]: [48EE] S: * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE AUTH=PLAIN AUTH=LOGIN] Dovecot IMAP4 Server ready.
[05-Jul-2012 15:42:04 +1000]: [48EE] C: A0001 ID ("name" "Roundcube Webmail" "version" "0.7.2" "php" "5.4.3" "os" "Linux" "command" "/roundcubemail/")
[05-Jul-2012 15:42:04 +1000]: [48EE] S: * ID NIL
[05-Jul-2012 15:42:04 +1000]: [48EE] S: A0001 OK ID completed.
[05-Jul-2012 15:42:04 +1000]: [48EE] C: A0002 AUTHENTICATE PLAIN ZHVrZS5tZXllcgBkdWtlLm1leWVyAGRtZXllcnBjMDE=
[05-Jul-2012 15:42:04 +1000]: [48EE] S: A0002 OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS MULTIAPPEND UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS SPECIAL-USE SEARCH=FUZZY] Logged in
[05-Jul-2012 15:42:04 +1000]: [48EE] C: A0003 NAMESPACE
[05-Jul-2012 15:42:04 +1000]: [48EE] S: * NAMESPACE (("" "/")) NIL NIL
[05-Jul-2012 15:42:04 +1000]: [48EE] S: A0003 OK Namespace completed.
[05-Jul-2012 15:42:04 +1000]: [48EE] C: A0004 LOGOUT
[05-Jul-2012 15:42:04 +1000]: [48EE] S: * BYE Logging out
[05-Jul-2012 15:42:04 +1000]: [48EE] S: A0004 OK Logout completed.
[05-Jul-2012 15:42:05 +1000]: [697A] S: * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE AUTH=PLAIN AUTH=LOGIN] Dovecot IMAP4 Server ready.
[05-Jul-2012 15:42:05 +1000]: [697A] C: A0001 ID ("name" "Roundcube Webmail" "version" "0.7.2" "php" "5.4.3" "os" "Linux" "command" "/roundcubemail/?_task=mail")
[05-Jul-2012 15:42:05 +1000]: [697A] S: * ID NIL
[05-Jul-2012 15:42:05 +1000]: [697A] S: A0001 OK ID completed.
[05-Jul-2012 15:42:05 +1000]: [697A] C: A0002 AUTHENTICATE PLAIN ZHVrZS5tZXllcgBkdWtlLm1leWVyAGRtZXllcnBjMDE=
[05-Jul-2012 15:42:05 +1000]: [697A] S: A0002 OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS MULTIAPPEND UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS SPECIAL-USE SEARCH=FUZZY] Logged in
[05-Jul-2012 15:42:05 +1000]: [697A] C: A0003 LIST (SUBSCRIBED) "" "*"
[05-Jul-2012 15:42:05 +1000]: [697A] S: * LIST (\Subscribed) "/" "Drafts"
[05-Jul-2012 15:42:05 +1000]: [697A] S: * LIST (\Subscribed) "/" "Sent"
[05-Jul-2012 15:42:05 +1000]: [697A] S: * LIST (\Subscribed) "/" "Trash"
[05-Jul-2012 15:42:05 +1000]: [697A] S: * LIST (\Subscribed) "/" "Archives"
[05-Jul-2012 15:42:05 +1000]: [697A] S: * LIST (\Subscribed) "/" "Spam"
[05-Jul-2012 15:42:05 +1000]: [697A] S: A0003 OK List completed.
[05-Jul-2012 15:42:05 +1000]: [697A] C: A0004 LOGOUT
[05-Jul-2012 15:42:05 +1000]: [697A] S: * BYE Logging out
[05-Jul-2012 15:42:05 +1000]: [697A] S: A0004 OK Logout completed.
[05-Jul-2012 15:42:05 +1000]: [BE7B] S: * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE AUTH=PLAIN AUTH=LOGIN] Dovecot IMAP4 Server ready.
[05-Jul-2012 15:42:05 +1000]: [BE7B] C: A0001 ID ("name" "Roundcube Webmail" "version" "0.7.2" "php" "5.4.3" "os" "Linux" "command" "/roundcubemail/?_task=mail&_action=list&_mbox=INBOX&_refresh=1&_remote=1&_unlock=loading1341466926237&_=1341466926243")
[05-Jul-2012 15:42:05 +1000]: [BE7B] S: * ID NIL
[05-Jul-2012 15:42:05 +1000]: [BE7B] S: A0001 OK ID completed.
[05-Jul-2012 15:42:05 +1000]: [BE7B] C: A0002 AUTHENTICATE PLAIN ZHVrZS5tZXllcgBkdWtlLm1leWVyAGRtZXllcnBjMDE=
[05-Jul-2012 15:42:05 +1000]: [C17F] S: * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE AUTH=PLAIN AUTH=LOGIN] Dovecot IMAP4 Server ready.
[05-Jul-2012 15:42:05 +1000]: [C17F] C: A0001 ID ("name" "Roundcube Webmail" "version" "0.7.2" "php" "5.4.3" "os" "Linux" "command" "/roundcubemail/?_task=mail&_action=getunread&&_remote=1&_unlock=0&_=1341466926248")
[05-Jul-2012 15:42:05 +1000]: [C17F] S: * ID NIL
[05-Jul-2012 15:42:05 +1000]: [C17F] S: A0001 OK ID completed.
[05-Jul-2012 15:42:05 +1000]: [C17F] C: A0002 AUTHENTICATE PLAIN ZHVrZS5tZXllcgBkdWtlLm1leWVyAGRtZXllcnBjMDE=
[05-Jul-2012 15:42:05 +1000]: [BE7B] S: A0002 OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS MULTIAPPEND UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS SPECIAL-USE SEARCH=FUZZY] Logged in
[05-Jul-2012 15:42:05 +1000]: [BE7B] C: A0003 STATUS INBOX (MESSAGES UNSEEN)
[05-Jul-2012 15:42:05 +1000]: [BE7B] S: * STATUS "INBOX" (MESSAGES 0 UNSEEN 0)
[05-Jul-2012 15:42:05 +1000]: [BE7B] S: A0003 OK Status completed.
[05-Jul-2012 15:42:05 +1000]: [BE7B] C: A0004 LOGOUT
[05-Jul-2012 15:42:05 +1000]: [BE7B] S: * BYE Logging out
[05-Jul-2012 15:42:05 +1000]: [BE7B] S: A0004 OK Logout completed.
[05-Jul-2012 15:42:05 +1000]: [C17F] S: A0002 OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS MULTIAPPEND UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS SPECIAL-USE SEARCH=FUZZY] Logged in
[05-Jul-2012 15:42:05 +1000]: [C17F] C: A0003 LIST (SUBSCRIBED) "" "*"
[05-Jul-2012 15:42:05 +1000]: [C17F] S: * LIST (\Subscribed) "/" "Drafts"
[05-Jul-2012 15:42:05 +1000]: [C17F] S: * LIST (\Subscribed) "/" "Sent"
[05-Jul-2012 15:42:05 +1000]: [C17F] S: * LIST (\Subscribed) "/" "Trash"
[05-Jul-2012 15:42:05 +1000]: [C17F] S: * LIST (\Subscribed) "/" "Archives"
[05-Jul-2012 15:42:05 +1000]: [C17F] S: * LIST (\Subscribed) "/" "Spam"
[05-Jul-2012 15:42:05 +1000]: [C17F] S: A0003 OK List completed.
[05-Jul-2012 15:42:05 +1000]: [C17F] C: A0004 STATUS INBOX (MESSAGES UNSEEN)
[05-Jul-2012 15:42:05 +1000]: [C17F] S: * STATUS "INBOX" (MESSAGES 0 UNSEEN 0)
[05-Jul-2012 15:42:05 +1000]: [C17F] S: A0004 OK Status completed.
[05-Jul-2012 15:42:05 +1000]: [C17F] C: A0005 STATUS Drafts (MESSAGES UNSEEN)
[05-Jul-2012 15:42:05 +1000]: [C17F] S: * STATUS "Drafts" (MESSAGES 0 UNSEEN 0)
[05-Jul-2012 15:42:05 +1000]: [C17F] S: A0005 OK Status completed.
[05-Jul-2012 15:42:05 +1000]: [C17F] C: A0006 STATUS Sent (MESSAGES UNSEEN)
[05-Jul-2012 15:42:05 +1000]: [C17F] S: * STATUS "Sent" (MESSAGES 9 UNSEEN 0)
[05-Jul-2012 15:42:05 +1000]: [C17F] S: A0006 OK Status completed.
[05-Jul-2012 15:42:05 +1000]: [C17F] C: A0007 STATUS Trash (MESSAGES UNSEEN)
[05-Jul-2012 15:42:05 +1000]: [C17F] S: * STATUS "Trash" (MESSAGES 0 UNSEEN 0)
[05-Jul-2012 15:42:05 +1000]: [C17F] S: A0007 OK Status completed.
[05-Jul-2012 15:42:05 +1000]: [C17F] C: A0008 STATUS Archives (MESSAGES UNSEEN)
[05-Jul-2012 15:42:05 +1000]: [C17F] S: * STATUS "Archives" (MESSAGES 0 UNSEEN 0)
[05-Jul-2012 15:42:05 +1000]: [C17F] S: A0008 OK Status completed.
[05-Jul-2012 15:42:05 +1000]: [C17F] C: A0009 STATUS Spam (MESSAGES UNSEEN)
[05-Jul-2012 15:42:05 +1000]: [C17F] S: * STATUS "Spam" (MESSAGES 0 UNSEEN 0)
[05-Jul-2012 15:42:05 +1000]: [C17F] S: A0009 OK Status completed.
[05-Jul-2012 15:42:05 +1000]: [C17F] C: A0010 LOGOUT
[05-Jul-2012 15:42:05 +1000]: [C17F] S: * BYE Logging out
[05-Jul-2012 15:42:05 +1000]: [C17F] S: A0010 OK Logout completed.

Thank  you

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,876
    • SKaero - Custom Roundcube development
Re: roundcube does not pick up emails
« Reply #3 on: July 05, 2012, 01:51:36 AM »
It looks to be a problem with Dovecot when RoundCube asks for messages it say 'STATUS "INBOX" (MESSAGES 0 UNSEEN 0)' so its not finding any messages.

Offline associates

  • Jr. Member
  • **
  • Posts: 15
Re: roundcube does not pick up emails
« Reply #4 on: July 05, 2012, 02:32:03 AM »
It works now, SKaero. Yes, indeed it's to do with my dovecot configuration. It's now fixed.

Thank you once again for your help.

Offline associates

  • Jr. Member
  • **
  • Posts: 15
Re: roundcube does not pick up emails
« Reply #5 on: July 05, 2012, 09:13:33 PM »
Hi SKaero,

I was wondering if you could help me here.

Very occasionally, during composing an email, I got a message saying "Server error (Forbidden)" popping up on the top middle of the page. A few seconds later, it just went disappear. I do get this every now and then though. Is there anything wrong?

I also went to take a look into log file and found lots of php warning as follows
The log files shows warning as follows
PHP Warning:  Creating default object from empty value in /usr/local/apache2/htdocs/roundcubemail/program/steps/mail/compose.inc on line 239

Any help would be greatly appreciated.

Thank you

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,876
    • SKaero - Custom Roundcube development
Re: roundcube does not pick up emails
« Reply #6 on: July 05, 2012, 10:05:30 PM »
I believe the warning is a problem with PHP 5.4.x its been fixed in the SVN http://trac.roundcube.net/ticket/1488404 I don't think that would cause the forbidden error.

Offline associates

  • Jr. Member
  • **
  • Posts: 15
Re: roundcube does not pick up emails
« Reply #7 on: July 05, 2012, 10:51:12 PM »
Yes, very strange. So far I don't see any major problem associated with this forbidden error message just yet. So I'd probably ignore it for now.

As for the php warning, I can turn it off from php.ini file.

Thank you for getting back to me. really appreciated it

Offline Shadow aok

  • Jr. Member
  • **
  • Posts: 12
Re: roundcube does not pick up emails
« Reply #8 on: February 06, 2013, 05:54:47 PM »
It works now, SKaero. Yes, indeed it's to do with my dovecot configuration. It's now fixed.

Thank you once again for your help.

Sorry to bump an old post but i'm sometimes facing the same issue (not all the time) and since I also use dovecot, i'd like to know what to update.

Offline bryang

  • Newbie
  • *
  • Posts: 2
Re: roundcube does not pick up emails
« Reply #9 on: August 02, 2015, 12:40:41 PM »
Skaero, i am having a similar issue and i need your help