Changes

From SME Server
Jump to navigationJump to search
2,575 bytes added ,  18:03, 19 November 2019
m
Line 21: Line 21:  
=== For SME 8 ===
 
=== For SME 8 ===
 
{{Note box| due to the version of dovecot, I cannot maintain sogo for sme8, please upgrade to sme9}}
 
{{Note box| due to the version of dovecot, I cannot maintain sogo for sme8, please upgrade to sme9}}
You need to activate '''[[Stephdl]]''',  [[epel]] and [[Sogo-repo|sogo repository]]
+
You need to activate '''[[Stephdl]]''',  '''[[epel]]''' and '''[[Sogo-repo|sogo repository]]'''
 
   
   
 
   
 
{{Warning box|due to the limitation of dovecot 1.0 in SME server 8.0, you cannot use sogo (superior of 2.0 version) without bugs. If it is absolutely needed (eg : you should use SME9) you can install smeserver-dovecot from firewall-services : https://wikit.firewall-services.com/doku.php/smedev/dovecot}}
 
{{Warning box|due to the limitation of dovecot 1.0 in SME server 8.0, you cannot use sogo (superior of 2.0 version) without bugs. If it is absolutely needed (eg : you should use SME9) you can install smeserver-dovecot from firewall-services : https://wikit.firewall-services.com/doku.php/smedev/dovecot}}
    
This contrib is currently held in several repositories, so the following commands will install it on your smeserver.
 
This contrib is currently held in several repositories, so the following commands will install it on your smeserver.
For SME 8 , You need to activate '''[[Stephdl]]''',  [[epel]] and [[Sogo-repo|sogo repository]]
+
For SME 8 , You need to activate '''[[Stephdl]]''',  [[epel]] and '''[[Sogo-repo|sogo repository]]'''
 
  yum --enablerepo=stephdl,epel,sogo install smeserver-sogo
 
  yum --enablerepo=stephdl,epel,sogo install smeserver-sogo
   Line 43: Line 42:     
This contrib is currently held in several repositories, so the following commands will install it on your smeserver.
 
This contrib is currently held in several repositories, so the following commands will install it on your smeserver.
For SME 9 , You need to activate '''[[Stephdl]]''', '''[[epel]]''', '''[[fws]]''' and '''[[Sogo-repo|sogo repository]]'''
+
For SME 9 , You need to activate '''[[Stephdl]]''', '''[[epel]]'''and '''[[Sogo-repo|sogo repository]]'''
    
  yum --enablerepo=stephdl,epel,sogo,fws install smeserver-sogo
 
  yum --enablerepo=stephdl,epel,sogo,fws install smeserver-sogo
Line 54: Line 53:  
  signal-event sogo-modify; config set UnsavedChanges no
 
  signal-event sogo-modify; config set UnsavedChanges no
   −
<headertabs/>
+
<headertabs />
    
== Install SOGO 3 (ONLY SME9)==
 
== Install SOGO 3 (ONLY SME9)==
{{Note box| Sogo 3 is really new, some features are missing or with bugs}}
      
=== First installation===
 
=== First installation===
    
This contrib is currently held in several repositories, so the following commands will install it on your smeserver.
 
This contrib is currently held in several repositories, so the following commands will install it on your smeserver.
For SME 9 , You need to activate '''[[Stephdl]]''', '''[[epel]]''', '''[[fws]]''' and '''[[Sogo-repo|sogo repository]]
+
For SME 9 , You need to activate '''[[Stephdl]]''', '''[[epel]]''' and '''[[Sogo-repo|sogo repository]]'''
'''
+
 
 
  yum --enablerepo=stephdl,epel,sogo3,fws install smeserver-sogo
 
  yum --enablerepo=stephdl,epel,sogo3,fws install smeserver-sogo
   Line 74: Line 72:     
===Upgrade from sogo2===
 
===Upgrade from sogo2===
For SME 9 , You need to activate '''[[Stephdl]]''', '''[[epel]]''', '''[[fws]]''' and [[Sogo-repo|sogo repository]]
+
For SME 9 , You need to activate '''[[Stephdl]]''', '''[[epel]]''', '''[[fws]]''' and '''[[Sogo-repo|sogo repository]]'''
 
   
 
   
 
  signal-event yum-modify
 
  signal-event yum-modify
Line 92: Line 90:     
If you disable webmail access from within SmeServer email panel, opening http://yourdomain.net/webmail you'll be redirected to SOGo.
 
If you disable webmail access from within SmeServer email panel, opening http://yourdomain.net/webmail you'll be redirected to SOGo.
 +
 +
 +
==DB==
 +
On SME9
 +
 +
sogod=service
 +
    ACLsSendEMailNotifications=NO
 +
    ActiveSync=disabled
 +
    AdminUsers=admin
 +
    DbPassword=NjPvjv3SPxb+s37.AKPGGGjFIeQJykYoPnL9oI.48d8qhsW3luZhQnMqrGurcBGU3Q23w77gp1+o
 +
    DraftsFolder=Drafts
 +
    SpamFolder=Junk
 +
    EnableEMailAlarms=NO
 +
    LdapTCPPort=389
 +
    MailAuxiliaryUserAccountsEnabled=YES
 +
    PublicAccess=NO
 +
    SOGoInternalSyncInterval=60
 +
    SOGoMaximumPingInterval=3540
 +
    SOGoMaximumSyncInterval=3540
 +
    SOGoMaximumSyncResponseSize=2048
 +
    SOGoMaximumSyncWindowSize=100
 +
    SentFolder=Sent
 +
    SessionDuration=1440
 +
    TCPPort=20000
 +
    TrashFolder=Trash
 +
    WOWatchDogRequestTimeout=3600
 +
    WOWorkersCount=10
 +
    status=enabled
 +
 +
After a modification
 +
signal-event sogo-modify
    
== Sieve integration (SME 9) ==
 
== Sieve integration (SME 9) ==
Line 107: Line 136:  
Now when you want to add a specific option, 'SOGoMailComposeMessageType html' per example
 
Now when you want to add a specific option, 'SOGoMailComposeMessageType html' per example
   −
  vim /etc/e-smith/templates/etc/sogo/sogo.conf/20MYOPTIONS
+
  vim /etc/e-smith/templates/etc/sogo/sogo.conf/80MYOPTIONS
    
Add you modifications (contrary is 'text')
 
Add you modifications (contrary is 'text')
Line 114: Line 143:  
  signal-event sogo-modify
 
  signal-event sogo-modify
 
If you want to go back, then  
 
If you want to go back, then  
  rm -f /etc/e-smith/templates/etc/sogo/sogo.conf/20MYOPTIONS
+
  rm -f /etc/e-smith/templates/etc/sogo/sogo.conf/80MYOPTIONS
 
  signal-event sogo-modify
 
  signal-event sogo-modify
   Line 128: Line 157:       −
You can fine tune thunderbird to be a pure "heavy" client for SOGo. [http://www.sogo.nu/files/docs/SOGo%20Mozilla%20Thunderbird%20Configuration.pdf See the Documentation]
+
You can fine tune thunderbird to be a pure "heavy" client for SOGo. [http://www.sogo.nu/files/docs/SOGoMozillaThunderbirdConfigurationGuide.pdf See the Documentation]
 +
 
 +
==Fine tune SOGo==
 +
Sogo must be [https://sogo.nu/files/docs/SOGoInstallationGuide.html#_microsoft_enterprise_activesync_tuning tuned] following the number of users, some settings can be tested.
 +
 
 +
Keep in mind to set one worker per user for the activesync connection.
 +
 
 +
* 100 users, 10 EAS devices
 +
 
 +
config setprop sogod WOWorkersCount 15
 +
config setprop sogod SOGoMaximumPingInterval 3540
 +
config setprop sogod SOGoMaximumSyncInterval 3540
 +
config setprop sogod SOGoInternalSyncInterval 30
 +
 
 +
signal-event sogo-modify
 +
 
 +
* 100 users, 20 EAS devices
 +
 
 +
config setprop sogod WOWorkersCount 25
 +
config setprop sogod SOGoMaximumPingInterval 3540
 +
config setprop sogod SOGoMaximumSyncInterval 3540
 +
config setprop sogod SOGoInternalSyncInterval 40
 +
 
 +
signal-event sogo-modify
 +
 
 +
* 1000 users, 100 EAS devices
 +
 
 +
config setprop sogod WOWorkersCount 120
 +
config setprop sogod SOGoMaximumPingInterval 3540
 +
config setprop sogod SOGoMaximumSyncInterval 3540
 +
config setprop sogod SOGoInternalSyncInterval 60
 +
 
 +
signal-event sogo-modify
 +
 
 +
===ImapMaxLineLength===
 +
 
 +
Maximum IMAP command line length in kilo bytes. Some clients generate very long command lines with huge mailboxes, so you may need to raise this if you get "Too long argument" or "IMAP command line too large" errors often.
 +
 
 +
set by default to 2048KB
 +
 
 +
config setprop dovecot ImapMaxLineLenght 2048
 +
signal-event sogo-modify
    
== Thunderbird Configuration ==
 
== Thunderbird Configuration ==
Line 146: Line 216:     
         <nowiki><Seq about="http://inverse.ca/sogo-integrator/extensions"
 
         <nowiki><Seq about="http://inverse.ca/sogo-integrator/extensions"
          isi:updateURL="http://sogo-demo.inverse.ca/plugins/updates.php?plugin=%ITEM_ID%&amp;version=%ITEM_VERSION%&amp;platform=%PLATFORM%">
+
          isi:updateURL="http://sogo-demo.inverse.ca/plugins/updates.php?plugin=%ITEM_ID%&amp;version=%ITEM_VERSION%&amp;platform=%PLATFORM%">
          <li>
+
          <li>
            <Description
+
            <Description
              em:id="sogo-integrator@inverse.ca"
+
              em:id="sogo-integrator@inverse.ca"
              em:name="SOGo Integrator"/>
+
              em:name="SOGo Integrator"/>
          </li>
+
          </li>
          <li>
+
          <li>
            <Description
+
            <Description
              em:id="sogo-connector@inverse.ca"
+
              em:id="sogo-connector@inverse.ca"
              em:name="SOGo Connector"/>
+
              em:name="SOGo Connector"/>
          </li>
+
          </li>
        </Seq></nowiki>
+
        </Seq></nowiki>
    
To read: (change the server address to your server and add the Lightning plugin to the extensions list): (Then save the "extensions.rdf" back to the same place in the "sogo-integrator-<version>-sogo.xpi" file and then save the .xpi file back on the server in the "\\<SME server name>\Primary\hmtl\SOGo-plugins\WINNT_x86-msvc" folder.)
 
To read: (change the server address to your server and add the Lightning plugin to the extensions list): (Then save the "extensions.rdf" back to the same place in the "sogo-integrator-<version>-sogo.xpi" file and then save the .xpi file back on the server in the "\\<SME server name>\Primary\hmtl\SOGo-plugins\WINNT_x86-msvc" folder.)
    
         <nowiki><Seq about="http://inverse.ca/sogo-integrator/extensions"
 
         <nowiki><Seq about="http://inverse.ca/sogo-integrator/extensions"
          isi:updateURL="https://<sme server name.domain>/SOGo-plugins/updates.php?plugin=%ITEM_ID%&amp;version=%ITEM_VERSION%&amp;platform=%PLATFORM%">
+
          isi:updateURL="https://<sme server name.domain>/SOGo-plugins/updates.php?plugin=%ITEM_ID%&amp;version=%ITEM_VERSION%&amp;platform=%PLATFORM%">
          <li>
+
          <li>
            <Description
+
            <Description
              em:id="sogo-integrator@inverse.ca"
+
              em:id="sogo-integrator@inverse.ca"
              em:name="SOGo Integrator"/>
+
              em:name="SOGo Integrator"/>
          </li>
+
          </li>
          <li>
+
          <li>
            <Description
+
            <Description
              em:id="sogo-connector@inverse.ca"
+
              em:id="sogo-connector@inverse.ca"
              em:name="SOGo Connector"/>
+
              em:name="SOGo Connector"/>
          </li>
+
          </li>
          <li>
+
          <li>
      <Description
+
      <Description
em:id="{e2fda1a4-762b-4020-b5ad-a41df1933103}"
+
em:id="{e2fda1a4-762b-4020-b5ad-a41df1933103}"
em:name="Lightning"/>
+
em:name="Lightning"/>
          </li>
+
          </li>
        </Seq></nowiki>
+
        </Seq></nowiki>
    
5.) Create the file "updates.php" in the "SOGo-plugins" folder
 
5.) Create the file "updates.php" in the "SOGo-plugins" folder
Line 185: Line 255:     
     <nowiki><?php
 
     <nowiki><?php
    /* updates.php - this file is part of SOGo
+
      /* updates.php - this file is part of SOGo
      *
+
      *
      *  Copyright (C) 2006-2009 Inverse inc.
+
      *  Copyright (C) 2006-2009 Inverse inc.
      *
+
      *
      * Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
+
      * Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
      *
+
      *
      * This file is free software; you can redistribute it and/or modify
+
      * This file is free software; you can redistribute it and/or modify
      * it under the terms of the GNU General Public License as published by
+
      * it under the terms of the GNU General Public License as published by
      * the Free Software Foundation; either version 2, or (at your option)
+
      * the Free Software Foundation; either version 2, or (at your option)
      * any later version.
+
      * any later version.
      *
+
      *
      * This file is distributed in the hope that it will be useful,
+
      * This file is distributed in the hope that it will be useful,
      * but WITHOUT ANY WARRANTY; without even the implied warranty of
+
      * but WITHOUT ANY WARRANTY; without even the implied warranty of
      * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+
      * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
      * GNU General Public License for more details.
+
      * GNU General Public License for more details.
      *
+
      *
      * You should have received a copy of the GNU General Public License
+
      * You should have received a copy of the GNU General Public License
      * along with this program; see the file COPYING.  If not, write to
+
      * along with this program; see the file COPYING.  If not, write to
      * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+
      * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
      * Boston, MA 02111-1307, USA.
+
      * Boston, MA 02111-1307, USA.
      */
+
      */
   
+
     
    /* This script handles the automatic propagation of extensions pertaining to a
+
      /* This script handles the automatic propagation of extensions pertaining to a
        SOGo site. It requires PHP 4.1.0 or later. */
+
        SOGo site. It requires PHP 4.1.0 or later. */
    $plugins
+
      $plugins
    = array( "sogo-connector@inverse.ca"
+
      = array( "sogo-connector@inverse.ca"
              => array( "application" => "thunderbird",
+
              => array( "application" => "thunderbird",
                        "version" => "0.99",
+
                        "version" => "0.99",
                        "filename" => "sogo-connector-0.99.xpi" ),
+
                        "filename" => "sogo-connector-0.99.xpi" ),
              "sogo-integrator@inverse.ca"
+
              "sogo-integrator@inverse.ca"
              => array( "application" => "thunderbird",
+
              => array( "application" => "thunderbird",
                        "version" => "0.99",
+
                        "version" => "0.99",
                        "filename" => "sogo-integrator-0.99-sogo.xpi" ),
+
                        "filename" => "sogo-integrator-0.99-sogo.xpi" ),
              "{e2fda1a4-762b-4020-b5ad-a41df1933103}"
+
              "{e2fda1a4-762b-4020-b5ad-a41df1933103}"
              => array( "application" => "thunderbird",
+
              => array( "application" => "thunderbird",
                        "version" => "0.9.9",
+
                        "version" => "0.9.9",
                        "filename" => "lightning-0.9.9-inverse.win32.xpi" ));
+
                        "filename" => "lightning-0.9.9-inverse.win32.xpi" ));
   
+
     
    $applications
+
      $applications
    = array( "thunderbird" => "<em:id>{3550f703-e582-4d05-9a08-453d09bdfdc6}</em:id>
+
      = array( "thunderbird" => "<em:id>{3550f703-e582-4d05-9a08-453d09bdfdc6}</em:id>
                    <em:minVersion>1.5</em:minVersion>
+
                      <em:minVersion>1.5</em:minVersion>
                    <em:maxVersion>2.0.*</em:maxVersion>",
+
                      <em:maxVersion>2.0.*</em:maxVersion>",
              "firefox" => "<em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
+
              "firefox" => "<em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
                        <em:minVersion>1.5</em:minVersion>
+
                        <em:minVersion>1.5</em:minVersion>
                        <em:maxVersion>2.0.*</em:maxVersion>" );
+
                        <em:maxVersion>2.0.*</em:maxVersion>" );
   
+
     
    $pluginname = $_GET["plugin"];
+
      $pluginname = $_GET["plugin"];
    $plugin =& $plugins[$pluginname];
+
      $plugin =& $plugins[$pluginname];
    $application =& $applications[$plugin["application"]];
+
      $application =& $applications[$plugin["application"]];
   
+
     
    if ( $plugin ) {
+
      if ( $plugin ) {
      $platform = $_GET["platform"];
+
        $platform = $_GET["platform"];
      if ( $platform
+
        if ( $platform
            && file_exists( $platform . "/" . $plugin["filename"] ) ) {
+
            && file_exists( $platform . "/" . $plugin["filename"] ) ) {
        $plugin["filename"] = $platform . "/" . $plugin["filename"];
+
          $plugin["filename"] = $platform . "/" . $plugin["filename"];
      }
+
        }
      elseif ( !file_exists( $plugin["filename"] ) ) {
+
        elseif ( !file_exists( $plugin["filename"] ) ) {
        $plugin = false;
+
          $plugin = false;
      }
+
        }
    }
+
      }
    if ( $plugin ) {
+
      if ( $plugin ) {
      header("Content-type: text/xml; charset=utf-8");
+
        header("Content-type: text/xml; charset=utf-8");
      echo ('<?xml version="1.0"?>' . "\n");
+
        echo ('<?xml version="1.0"?>' . "\n");
    ?>
+
      ?>
    <!DOCTYPE RDF>
+
      <!DOCTYPE RDF>
    <RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+
      <RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
      xmlns:em="http://www.mozilla.org/2004/em-rdf#">
+
        xmlns:em="http://www.mozilla.org/2004/em-rdf#">
      <Description about="urn:mozilla:extension:<?php echo $pluginname ?>">
+
        <Description about="urn:mozilla:extension:<?php echo $pluginname ?>">
        <em:updates>
+
          <em:updates>
          <Seq>
+
            <Seq>
            <li>
+
              <li>
              <Description>
+
                <Description>
                <em:version><?php echo $plugin["version"] ?></em:version>
+
                  <em:version><?php echo $plugin["version"] ?></em:version>
                <em:targetApplication>
+
                  <em:targetApplication>
                  <Description><?php echo $applications[$plugin["application"]] ?>
+
                    <Description><?php echo $applications[$plugin["application"]] ?>
                    <em:updateLink>https://<sme server name.domain>/SOGo-plugins/<?php echo $plugin["filename"] ?></em:updateLink>
+
                      <em:updateLink>https://<sme server name.domain>/SOGo-plugins/<?php echo $plugin["filename"] ?></em:updateLink>
                  </Description>
+
                    </Description>
                </em:targetApplication>
+
                  </em:targetApplication>
              </Description>
+
                </Description>
            </li>
+
              </li>
          </Seq>
+
            </Seq>
        </em:updates>
+
          </em:updates>
      </Description>
+
        </Description>
    </RDF>
+
      </RDF>
    <?php
+
      <?php
    } else {
+
      } else {
      header("Content-type: text/plain; charset=utf-8", true, 404);
+
        header("Content-type: text/plain; charset=utf-8", true, 404);
      echo( 'Plugin not found' );
+
        echo( 'Plugin not found' );
    }
+
      }
    ?></nowiki>
+
      ?></nowiki>
    
(You will have to update this file everytime you update the plugins.)
 
(You will have to update this file everytime you update the plugins.)
Line 313: Line 383:  
== Reference ==
 
== Reference ==
   −
http://smeserver.nethesis.it/sogo/
+
https://wiki.nethserver.org/doku.php?id=sogo&s
    
http://www.sogo.nu/english/support/documentation.html
 
http://www.sogo.nu/english/support/documentation.html
Line 327: Line 397:  
  memcached python-memcached sogo* dovecot-pigeonhole smeserver-dovecot-extras libobjc libmemcached
 
  memcached python-memcached sogo* dovecot-pigeonhole smeserver-dovecot-extras libobjc libmemcached
    +
==Bugzilla==
 +
===Open===
 +
{{#bugzilla:columns=id,status,component,version,summary
 +
|component=smeserver-sogo
 +
|sort=id
 +
|order=desc
 +
|disablecache=1
 +
|noresultsmessage="Well done guys, no more open bugs!"}}
 +
 +
===Closed===
 +
{{#bugzilla:columns=id,status,component,version,summary
 +
|component=smeserver-sogo
 +
|status=CLOSED
 +
|version=!8.0
 +
|sort=id
 +
|order=desc
 +
|disablecache=1
 +
|noresultsmessage="Well done guys, no more open bugs!"}}
   −
<noinclude>[[Category:Contrib]]
+
<noinclude>
[[Category:Groupware]]</noinclude>
+
[[Category:Contrib]]
 +
[[Category:Groupware]]
 +
</noinclude>
3,054

edits

Navigation menu