View Issue Details

IDProjectCategoryView StatusLast Update
0002833SOGoBackend Mailpublic2016-12-20 16:04
ReporterBenoit ECHELARD Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Platform[Server] LinuxOSDebianOS Version7 (Wheezy)
Product Version2.2.5 
Summary0002833: Problem with dovecot virtual folders via sogo web interface
Description

Hi,

when i use the sogo webmail client with dovecot virtual folders (i've got 6 virtual forlders one for each default labels (important, todo, wrok ...) and one for unseen mails.

  • When in the "INBOX" i select mail to label (for example "work") the mail take to color of the label (ok).
  • When i select the virtual folder that list all the mail with the "work" label, the mail appears (ok)
  • When i in the virtual folder i select the mail and choose "no label" for the mail" it doesn't disappear - i have to go to another folder (virtual or not) and come back the virtual folder to check that the mail do not appear anymore (not ok but acceptable)
  • When i go back the "INBOX" the mail is steel mark with the label i have chosen before. I've got to do "F5" to refresh the web page to update the label of the mail. It's the same behaviour with "unseen" or any label.

In the thunderbird client, all is ok. Update of label are in "real time" in both "INBOX" or virtual folders.

Do i miss something in the configuration of my server or is it a problem from the sogo interface ?

you can check my configuration files below :

/etc/sogo/sogo.conf :

{
/* ***** Main SOGo configuration file **

  • *
  • Since the content of this file is a dictionary in OpenStep plist format, *
  • the curly braces enclosing the body of the configuration are mandatory. *
  • See the Installation Guide for details on the format. *
  • *
  • C and C++ style comments are supported. *
  • *
  • This example configuration contains only a subset of all available *
  • configuration parameters. Please see the installation guide more details. *
  • *
  • ~sogo/GNUstep/Defaults/.GNUstepDefaults has precedence over this file, *
  • make sure to move it away to avoid unwanted parameter overrides. *
  • *
  • **/

    / Database configuration (mysql:// or postgresql://) /
    SOGoProfileURL = "mysql://sogo:sogo@localhost:3306/sogo/sogo_user_profile";
    OCSFolderInfoURL = "mysql://sogo:sogo@localhost:3306/sogo/sogo_folder_info";
    OCSSessionsFolderURL = "mysql://sogo:sogo@localhost:3306/sogo/sogo_sessions_folder";

    / Mail /
    //SOGoDraftsFolderName = Drafts;
    //SOGoSentFolderName = Sent;
    //SOGoTrashFolderName = Trash;
    //SOGoIMAPServer = localhost;
    SOGoSieveServer = sieve://127.0.0.1:4190;
    SOGoSMTPServer = 127.0.0.1;
    SOGoMailDomain = ch-ploermel.fr;
    SOGoMailingMechanism = smtp;
    //SOGoForceExternalLoginWithEmail = NO;
    //SOGoMailSpoolPath = /var/spool/sogo;
    //NGImap4ConnectionStringSeparator = "/";
    SOGoMailPollingIntervals = (10, 20, 30,60);
    SOGoMailMessageCheck = every_10_minutes;
    SOGoMailListViewColumnsOrder = (Attachment, From, Subject, Unread, Date, Flagged, Priority, Size);
    / Notifications /
    SOGoAppointmentSendEMailNotifications = YES;
    SOGoACLsSendEMailNotifications = YES;
    SOGoFoldersSendEMailNotifications = YES;
    SOGoMailCustomFromEnabled = NO;

    / Authentication /
    //SOGoPasswordChangeEnabled = YES;

    / LDAP AD/Samba4 example /
    SOGoUserSources = (
    {
    type = ldap;
    CNFieldName = cn;
    IDFieldName = cn;
    UIDFieldName = sAMAccountName;
    baseDN = "ou=CH-PLOERMEL,dc=ch-ploermel,dc=fr";
    bindDN = "Some DN";
    bindFields = (sAMAccountName);
    bindPassword = "Some password";
    canAuthenticate = YES;
    displayName = "Annuaire du Centre Hospitalier A. GUERIN";
    hostname = ldap://Some IP;
    // filter = "mail = ''";
    filter = "(mail = '
    ' AND userAccountControl:1.2.840.113556.1.4.803: <> '2')";
    id = directory;
    isAddressBook = YES;
    mapping = {
    street = ("physicalDeliveryOfficeName");
    ou = ("department");
    o = ("company");
    };

    }

    );

    / Calendar /
    SOGoCalendarDefaultRoles = (
    // PublicDAndTViewer,
    // ConfidentialDAndTViewer
    );
    SOGoFirstDayOfWeek = 1;
    SOGoCalendarCategories = ("Anniversaire", "Congés", "Jour férié", "Personnel", "Projets", "Réunion", "Suivis");

    / Web Interface /
    SOGoPageTitle = "Bienvenue sur le webmail du centre hospitalier A. GUERIN";

    SOGoVacationEnabled = YES;
    SOGoForwardEnabled = YES;
    SOGoSieveScriptsEnabled = YES;
    SOGoMailAuxiliaryUserAccountsEnabled = YES;
    //SOGoTrustProxyAuthentication = YES;
    SOGoSupportedLanguages = ("French", "English", "German");

    / General /
    SOGoLanguage = French;
    SOGoTimeZone = Europe/Paris;
    SOGoSuperUsernames = (Administrateur); // This is an array - keep the parens!
    //SxVMemLimit = 384;
    //WOPidFile = "/var/run/sogo/sogo.pid";
    //SOGoMemcachedHost = "/var/run/memcached.sock";

    / Debug /
    //SOGoDebugRequests = YES;
    //SoDebugBaseURL = YES;
    //ImapDebugEnabled = YES;
    //LDAPDebugEnabled = YES;
    //PGDebugEnabled = YES;
    //MySQL4DebugEnabled = YES;
    //SOGoUIxDebugEnabled = YES;
    //WODontZipResponse = YES;
    //WOLogFile = /var/log/sogo/sogo.log;
    }

/etc/dovecot/conf.d/10-mail.conf :

mail_location = maildir:/home/vmail/private/%n

mail_plugins = quota virtual

If you need to set multiple mailbox locations or want to change default

namespace settings, you can do it by defining namespace sections.

#

You can have private, shared and public namespaces. Private namespaces

are for user's personal mails. Shared namespaces are for accessing other

users' mailboxes that have been shared. Public namespaces are for shared

mailboxes that are managed by sysadmin. If you create any shared or public

namespaces you'll typically want to enable ACL plugin also, otherwise all

users can access all the shared mailboxes, assuming they have permissions

on filesystem level to do so.

namespace inbox {

type = private

separator = /

inbox = yes

subscriptions = yes

}

namespace virtual {

prefix = recherche/
separator = /
location = virtual:/home/vmail/recherche/%n:INDEX=MEMORY
list = yes
inbox = no
subscriptions = yes
hidden = no

}

/etc/dovecot/conf.d/15-mailboxes.conf :

namespace inbox {

These mailboxes are widely used and could perhaps be created automatically:

mailbox Drafts {
special_use = \Drafts
auto=subscribe
}

mailbox Trash {
special_use = \Trash
}

mailbox Sent {
special_use = \Sent
auto=subscribe
}

}

namespace virtual {

mailbox &quot;non-lus&quot; {
    auto=create
}

mailbox &quot;important&quot; {
    auto=create
}

mailbox &quot;travail&quot; {
    auto=create
}

mailbox &quot;personnel&quot; {
    auto=create
}

mailbox &quot;à faire&quot; {
    auto=create
}

}

TagsNo tags attached.

Activities

Christian Mack

Christian Mack

2014-07-03 06:19

developer   ~0007275

This has nothing to do with configuration.
That is a side effect of caching in the webinterface.

Benoit ECHELARD

Benoit ECHELARD

2014-07-03 10:07

reporter   ~0007277

Hi,

thank you for your fast reply.

I've got two questions :

  • Is this behaviour will be correct in next versions of sogo ?
  • Is it normal that when i click on "get mail" the message that was mark as "unseen", whereas is not, is still display in bold as an unseen mail. Note the the number of unseen mail change in the inbox.

Benoît ECHELARD.

Issue History

Date Modified Username Field Change
2014-07-02 13:36 Benoit ECHELARD New Issue
2014-07-03 06:19 Christian Mack Note Added: 0007275
2014-07-03 10:07 Benoit ECHELARD Note Added: 0007277
2016-12-20 16:04 ludovic Severity major => minor