Folder Support

Bug #863386 reported by Achim Christ
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Unity Mail
Fix Released
Wishlist
Dmitry Shachnev

Bug Description

Need support to notify of messages in sub-folders of an IMAP account. Currently, only messages in the top-level folder will trigger a notification / be visible in messaging menu.

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

Thank you for the report! I will look at it.

Changed in unity-mail:
importance: Undecided → Wishlist
status: New → Triaged
Changed in unity-mail:
status: Triaged → In Progress
assignee: nobody → Dmitry Shachnev (mitya57)
milestone: none → 0.9
Revision history for this message
Dmitry Shachnev (mitya57) wrote :

Fix committed!
Now you can extra folders using 'ExtraFolders' option of the configuration file (~/.config/unity-mail.conf).

Add a line like this:
ExtraFolders = user@domain:folder1, user@domain:folder2 ...etc

For GMail "All Mail" folder: "<email address hidden>:[Gmail]/All Mail" will include it.

Changed in unity-mail:
status: In Progress → Fix Committed
Revision history for this message
Dmitry Shachnev (mitya57) wrote :

PPA upload of unity-mail 0.9.1.2 closes this bug.

Changed in unity-mail:
status: Fix Committed → Fix Released
Revision history for this message
Achim Christ (achim-christ) wrote :

Doesn't seem to work for me (I don't use Gmail but by own IMAP server) - I assume the syntax is:
ExtraFolders = login:folder

Is there any way to debug this? Any log file?

Revision history for this message
Dmitry Shachnev (mitya57) wrote : Re: [Bug 863386] Re: Folder Support

@Achim: not login:folder, but login@host:folder, where host is your
imap server hostname with or without the "imap." prefix.

Revision history for this message
benny (blietzau) wrote :

I get an Exception:

Traceback (most recent call last):
  File "/usr/bin/unity-mail", line 721, in <module>
    UnityMail()
  File "/usr/bin/unity-mail", line 352, in __init__
    self.init_config()
  File "/usr/bin/unity-mail", line 415, in init_config
    config = ConfigFile(config_dir+'/unity-mail.conf')
  File "/usr/bin/unity-mail", line 300, in __init__
    self.read(filename)
  File "/usr/lib/python3.2/configparser.py", line 689, in read
    self._read(fp, filename)
  File "/usr/lib/python3.2/configparser.py", line 1051, in _read
    raise MissingSectionHeaderError(fpname, lineno, line)
configparser.MissingSectionHeaderError: File contains no section headers.
file: /home/benjamin/.config/unity-mail.conf, line: 1
'ExtraFolders = <email address hidden>:Unbekannt\n'

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

You should add "[General]" line (without quotes) at the top of the file.

Revision history for this message
benny (blietzau) wrote :

Thanks. It works.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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