View Issue Details

IDProjectCategoryView StatusLast Update
0001633SOGoWeb Mailpublic2012-02-24 11:14
ReporterAltibox Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionopen 
Product Version1.3.11 
Summary0001633: duplicate trash, sent, drafts in view
Description

The trash, sent and drafts folders are duplicated in the webmail view. Once inside the INBOX and once outside the INBOX where they have localized names, different icons and also somewhat different behavior. This is causing quite some confusion for our users, and they get into strange situations when they try to delete the "trash" folder from the INBOX..

Manually selecting "Use this folder for trash/drafts/sent" on the INBOX-versions fixes the problem, but we would very much like to see this happen automatically. Is it a configuration issue on our side, or do we need custom development to solve this?

TagsNo tags attached.

Activities

Christian Mack

Christian Mack

2012-02-16 15:46

developer   ~0003451

Obviously you have a non standard folder layout in your IMAP server.
System folders (Drafts, Trash, Sent) are normally beside the Inbox folder, not within it.

Perhaps you could change this behaviour by configuring your IMAP server differently?

Altibox

Altibox

2012-02-19 20:27

reporter   ~0003461

We've at one point migrated from courier-imap to dovecot, and kept the single "INBOX." namespace we used with courier. I see now that the dovecot wiki suggest making the INBOX. namespace a compatibility name, and have a blank namespace in addition. Ref: http://wiki2.dovecot.org/Namespaces

But.. our GNUstepdefaults has:

    <key>SOGoSentFolderName</key>
    <string>INBOX.Sent</string>
    <key>SOGoTrashFolderName</key>
    <string>INBOX.Trash</string>
    <key>SOGoDraftsFolderName</key>
    <string>INBOX.Drafts</string>

so shouldn't sogo be using the folders within the INBOX ?

Not sure how hard it will be for us to switch to the blank + compatibility namespaces...

Altibox

Altibox

2012-02-19 20:30

reporter   ~0003462

Actually SOGo seems to be understanding these GNUstepdefaults settings when it creates the Sent/Drafts/Trash folders (since it's creating them as INBOX.Sent/Trash/Drafts), but it's the webui that doesn't understand that these are what they are before we manually tell it.

jraby

jraby

2012-02-21 02:58

viewer   ~0003468

Are you using a '.' as the imap hierarchy separator?

If that's the case NGImap4ConnectionStringSeparator should be set to "."
Otherwise strange situations like this can happen.

Altibox

Altibox

2012-02-23 09:47

reporter   ~0003474

Yes, "." is the imap hierarchy separator, both on the dovecot side and specified in NGImap4ConnectionStringSeparator.

<key>NGImap4ConnectionStringSeparator</key>
<string>.</string>

Dovecot:

namespace {
inbox = yes
location =
prefix = INBOX.
type = private
separator = .
}

jraby

jraby

2012-02-23 14:50

viewer   ~0003475

This is a bit counter-intuitive, but even if the IMAP server uses a '.' as a hierarchy separator, you have to use a '/' in the SOGo*FolderName settings.

I documented this in the last release docs since it is a bit awkward:

SOGoSentFolderName:

Parameter used to set the IMAP folder name used to store sent messages.
Defaults to “Sent” when unset.
Use a “/” as a hierarchy separator if referring to an IMAP subfolder.
For example : INBOX/Sent

Altibox

Altibox

2012-02-23 14:59

reporter   ~0003476

Great, thank you! Now it looks much better :-)

Issue History

Date Modified Username Field Change
2012-02-15 09:51 Altibox New Issue
2012-02-16 15:46 Christian Mack Note Added: 0003451
2012-02-19 20:27 Altibox Note Added: 0003461
2012-02-19 20:30 Altibox Note Added: 0003462
2012-02-21 02:58 jraby Note Added: 0003468
2012-02-23 09:47 Altibox Note Added: 0003474
2012-02-23 14:50 jraby Note Added: 0003475
2012-02-23 14:59 Altibox Note Added: 0003476
2012-02-24 11:13 Christian Mack Status new => closed