Unity Mail doesn't send notifications nor does it appear in the messaging menu.

Bug #1309566 reported by maverick
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Unity Mail
Expired
Undecided
Unassigned

Bug Description

I'm using Ubuntu 14.04. The app does not send notifications nor does it give any indication of new mail. It also does not appear in the messaging menu.

Revision history for this message
Stefan (gonzales00) wrote :

I also do not get any notifications or indications about new mail, but in my case it appears in the messaging menu. I'm using Ubuntu 14.04 as well.

Started on the terminal it shows the following output repeatedly:

Unity-Mail: INFO: Connection #0 established
Unity-Mail: ERROR: Error in connection #0: exception occured: command: SEARCH => got more than 10000 bytes

Revision history for this message
maverick (rkarulkar94) wrote :

Now strangely, it shows up in my messaging menu. I ran it from the terminal and it gave me an invalid credential error. When I changed my credentials, it would run successfully through the terminal, but it won't run on boot up or from the dash.

Revision history for this message
Dmitry Shachnev (mitya57) wrote :

@Stefan:
> Unity-Mail: ERROR: Error in connection #0: exception occured: command: SEARCH => got more than 10000 bytes

Can you please try the attached patch and see if it fixes the issue?

Apply it using "sudo patch /usr/share/unity-mail/UnityMail/application.py < patch.diff".

Revision history for this message
Dmitry Shachnev (mitya57) wrote :

@maverick:
> When I changed my credentials, it would run successfully through the terminal, but it won't run on boot up or from the dash.

Can you please run "gnome-session-properties" and see if Unity Mail appears/is checked there?

Changed in unity-mail:
status: New → Incomplete
Revision history for this message
Stefan (gonzales00) wrote :

@Dmitry: I'm sorry, the patch just changes the error message.

Unity-Mail: INFO: Connection #0 established
Unity-Mail: ERROR: Error in connection #0: exception occured: command: SEARCH => unexpected response: 'b'763 2764 [...shortened...] 7580''

Revision history for this message
Stefan (gonzales00) wrote :

I think the reason why the patch is not working for me is that Gmail does not support the \Recent flag:
<https://support.google.com/mail/answer/78761?hl=en>

Revision history for this message
Dmitry Shachnev (mitya57) wrote :

@Stefan: Can you please try changing _MAXLINE value in imaplib.py (i.e. /usr/lib/python3.4/imaplib.py) and see what value is enough for you?

Revision history for this message
Stefan (gonzales00) wrote :

I slightly modified the script, and therefore I can tell you the response size: 12176 bytes (2578 unread messages). Hard-coded limits suck. :-(

Revision history for this message
maverick (rkarulkar94) wrote :

@Dmitry
>Can you please run "gnome-session-properties" and see if Unity Mail appears/is checked there?
Yes. It shows up and is checked.

Revision history for this message
Dmitry Shachnev (mitya57) wrote :

@Stefan: I made the current Bzr snapshot override _MAXLINE with 160000. Hope that helps.

Revision history for this message
Dmitry Shachnev (mitya57) wrote :

@maverick: Can you please attach your ~/.xsession-errors and ~/.config/autostart/unity-mail-autostart.desktop? Does running "unity-mail" in terminal print any warnings? Do you use Unity 7?

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Unity Mail because there has been no activity for 60 days.]

Changed in unity-mail:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.