1

Topic: Can't accept event in SOGo

==== Required information ====
- iRedMail version (check /etc/iredmail-release):
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- Related log if you're reporting an issue:
======== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.5 (updated from 0.8.7)
- Linux/BSD distribution name and version: Centos 6
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx):Apache
- Manage mail accounts with iRedAdmin-Pro? no
- Related log if you're reporting an issue:
====

Hello,

I again have issue with SOGo. Problem: When i receive event I push accept or other button, but have error in right corner: ! Not found.

P.S.
I compare config files with fresh install of iredmail and my and found difference in sogo.conf
New:
SOGoUserSources = (
        {
            type = sql;
            id = users;


Old:
   SOGoUserSources = (
        {
            type = sql;
            id = vmail_mailbox;


Your manual http://www.iredmail.org/docs/sogo-centos-6-mysql.html
    SOGoUserSources = (
        {
            type = sql;
            id = vmail_mailbox;

# cat /etc/sogo/sogo.conf
{


    // Daemon address and port
    WOPort = 127.0.0.1:20000;

    // Enable verbose logging. Reference:
    // http://www.sogo.nu/nc/support/faq/article/how-to-enable-more-verbose-logging-in-sogo.html
    SOGoDebugRequests = YES;


    WOWorkersCount = 10;


    SOGoInternalSyncInterval = 30;

 
    WOWatchDogRequestTimeout = 60;

    SOGoProfileURL = "mysql://XXXXXXXXXXXXX@127.0.0.1:3306/sogo/sogo_user_profile";
    OCSFolderInfoURL = "mysql://XXXXXXXXXXXXX@127.0.0.1:3306/sogo/sogo_folder_info";
    OCSSessionsFolderURL = "mysql://XXXXXXXXXXXXX@127.0.0.1:3306/sogo/sogo_sessions_folder";
    OCSEMailAlarmsFolderURL = "mysql://XXXXXXXXXXXXX@127.0.0.1:3306/sogo/sogo_alarms_folder";

    // Default language in the web interface
    SOGoLanguage = English;

    // Specify which module to show after login: Calendar, Mail, Contacts.
    SOGoLoginModule = Mail;

    // Must login with full email address
    SOGoForceExternalLoginWithEmail = YES;

    // Allow user to change full name and email address.
    SOGoMailCustomFromEnabled = YES;

    // Enable email-based alarms on events and tasks.
    SOGoEnableEMailAlarms = YES;

    // IMAP server
    //SOGoIMAPServer = "imaps://PH_IMAP_SERVER:143/?tls=YES";
    // Local connection is considered as secure by Dovecot.
    SOGoIMAPServer = "imap://127.0.0.1:143/";

    // Allow user to add other IMAP accounts that will be visible from the SOGo
    // Webmail interface.
    // Default is NO.
    //SOGoMailAuxiliaryUserAccountsEnabled = YES;

    // SMTP server
    SOGoSMTPServer = 127.0.0.1;
    SOGoMailingMechanism = smtp;
    //SOGoSMTPAuthenticationType = PLAIN;


    SOGoSieveFolderEncoding = UTF-8;

    // Memcached
    SOGoMemcachedHost = 127.0.0.1;



    SOGoTimeZone = "America/New_York";

    SOGoFirstDayOfWeek = 1;

    SOGoRefreshViewCheck = every_5_minutes;
    SOGoMailReplyPlacement = below;

    SOGoAppointmentSendEMailNotifications = YES;
    SOGoFoldersSendEMailNotifications = YES;
    SOGoACLsSendEMailNotifications = YES;

    // NOTE: PostgreSQL cannot update view in iRedMail
    SOGoPasswordChangeEnabled = YES;

    // Authentication using SQL
    SOGoUserSources = (
        {
            type = sql;
            id = vmail_mailbox;
            viewURL = "mysql://XXXXXXXXXXXXX@127.0.0.1:3306/sogo/users";
            canAuthenticate = YES;

            // The algorithm used for password encryption when changing
            // passwords without Password Policies enabled.
            // Possible values are: plain, crypt, md5-crypt, ssha, ssha512.
            userPasswordAlgorithm = XXXXX;
            prependPasswordScheme = YES;

            // Use `vmail.mailbox` as per-domain address book.
            isAddressBook = YES;
            displayName = "Domain Address Book";
            SOGoEnableDomainBasedUID = YES;
            DomainFieldName = "domain";
        },

    );
}

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Can't accept event in SOGo

good4xp wrote:

I again have issue with SOGo. Problem: When i receive event I push accept or other button, but have error in right corner: ! Not found.

*) Please check Apache log file, did SOGo try to access a http url or a https one?
*) Which SOGo release are you running?

3 (edited by good4xp 2016-05-31 14:41:48)

Re: Can't accept event in SOGo

Huge remark:
This problem I get only when receive event from gmail. I try with the same domain account - everything ok.

That case in the log:
YYYYYYYYYYY - - [30/May/2016:23:37:52 -0700] "POST /SOGo/so/XXXXXXXXXXXXXXX/Mail/0/folderINBOX/32/2/Untitled-2.ics/accept HTTP/1.1" 204 -


ZhangHuangbin wrote:

*) Please check Apache log file, did SOGo try to access a http url or a https one?

In no_ssl log don't see anything. Only ssl log.

When I pushed on accept button and see "!Not Found" message.
ssl_access_log:
YYYYYYYY - - [30/May/2016:23:17:36 -0700] "POST /SOGo/so/XXXXXXXX/Mail/0/folderINBOX/28/3/Untitled-3.ics/accept HTTP/1.1" 404 211

Whith another event same result, in the log:
YYYYYYYY - - [30/May/2016:23:21:20 -0700] "POST /SOGo/so/XXXXXXXXX/Mail/0/folderINBOX/31/3/Untitled-3.ics/accept HTTP/1.1" 404 211

ssl_request.log
[30/May/2016:23:25:24 -0700] YYYYYYYY TLSv1.2 DHE-RSA-AES128-SHA "POST /SOGo/so/XXXXXXXXX/Mail/0/folderINBOX/31/3/Untitled-3.ics/accept HTTP/1.1" 211

ZhangHuangbin wrote:

*) Which SOGo release are you running?

sogo-3.0.2-1.centos6.x86_64 on both servers.

4

Re: Can't accept event in SOGo

Seems SOGo cannot handle invitation sent from another server. It might be a bug of SOGo, i suggest asking for support in SOGo mailing list instead:
http://sogo.nu/support/index.html#/community

5

Re: Can't accept event in SOGo

Thanks for reply.

What about sogo.conf difference?

Regards,

6

Re: Can't accept event in SOGo

Stupid error.

Event show with two field in the right part. I pushed accept in the top part, but should in the bottom.

Post's attachments

Sogo.PNG 49.55 kb, file has never been downloaded. 

You don't have the permssions to download the attachments of this post.

7

Re: Can't accept event in SOGo

Is the issue solved?

8

Re: Can't accept event in SOGo

ZhangHuangbin wrote:

Is the issue solved?

I think yes.