<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="https://www.stress-free.co.nz"  xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>stressfree - scalix</title>
 <link>https://www.stress-free.co.nz/tech/scalix</link>
 <description></description>
 <language>en</language>
<item>
 <title>Quickly restarting the Scalix IMAP server process</title>
 <link>https://www.stress-free.co.nz/quickly_restarting_the_scalix_imap_server_process</link>
 <description>
  &lt;div class=&quot;field-body&quot;&gt;
    &lt;p&gt;Note to self, to quickly restart the Scalix IMAP server process use the following command at the shell:&lt;/p&gt;&lt;p class=&quot;codesnippet&quot;&gt;omoff -d 0 -a IMAP &amp;amp; omon IMAP&lt;/p&gt;&lt;p&gt; &lt;/p&gt;  &lt;/div&gt;

&lt;ul class=&quot;field-taxonomy-vocabulary-1&quot;&gt;

      &lt;li&gt;
      &lt;a href=&quot;/tech/scalix&quot;&gt;scalix&lt;/a&gt;    &lt;/li&gt;
  
&lt;/ul&gt;
</description>
 <pubDate>Thu, 23 Nov 2006 08:06:41 +0000</pubDate>
 <dc:creator>David</dc:creator>
 <guid isPermaLink="false">352 at https://www.stress-free.co.nz</guid>
</item>
<item>
 <title>Changing the LDAP port Scalix uses</title>
 <link>https://www.stress-free.co.nz/changing_the_ldap_port_scalix_uses</link>
 <description>
  &lt;div class=&quot;field-body&quot;&gt;
    &lt;p&gt;Scalix runs its own instance of OpenLDAP for authentication purposes and by default this operates on port 389 which is the standard port for LDAP. The only problem with this is that you cannot run a &#039;proper&#039; LDAP service (OpenLDAP, FedoraDS, eDirectory) on the standard LDAP ports without there being a conflict with the Scalix service. Fortunately there is a simple workaround that lets you run the Scalix service on a non-standard port.&lt;/p&gt;&lt;p&gt;Edit the &lt;strong&gt;/var/opt/scalix/sys/slapd.conf&lt;/strong&gt; file and change the setting portNum to a non-standard (preferably high-level) port. In this example I will use port 6389 but it can be any port that is not currently being used by another service.&lt;/p&gt;&lt;p class=&quot;codesnippet&quot;&gt;portNum 6389 &lt;/p&gt;&lt;p&gt;Now edit the &lt;strong&gt;/etc/opt/scalix/caa/scalix.res/config/ubermanager.properties&lt;/strong&gt; file and set the ubermanager.query.server.port to the same value:&lt;/p&gt;&lt;p class=&quot;codesnippet&quot;&gt;ubermanager.query.server.port=6389&lt;/p&gt;&lt;p&gt;Save the changes and restart Scalix for the new LDAP port settings to take effect.&lt;!--break--&gt; &lt;/p&gt;&lt;p&gt; &lt;/p&gt;  &lt;/div&gt;

&lt;ul class=&quot;field-taxonomy-vocabulary-1&quot;&gt;

      &lt;li&gt;
      &lt;a href=&quot;/tech/linux&quot;&gt;linux&lt;/a&gt;    &lt;/li&gt;
      &lt;li&gt;
      &lt;a href=&quot;/tech/email&quot;&gt;email&lt;/a&gt;    &lt;/li&gt;
      &lt;li&gt;
      &lt;a href=&quot;/tech/scalix&quot;&gt;scalix&lt;/a&gt;    &lt;/li&gt;
  
&lt;/ul&gt;
</description>
 <pubDate>Tue, 17 Oct 2006 09:27:16 +0000</pubDate>
 <dc:creator>David</dc:creator>
 <guid isPermaLink="false">337 at https://www.stress-free.co.nz</guid>
</item>
<item>
 <title>Scalix and Apple Mail</title>
 <link>https://www.stress-free.co.nz/scalix_and_apple_mail</link>
 <description>
  &lt;div class=&quot;field-body&quot;&gt;
    &lt;p&gt;&lt;a href=&quot;http://www.apple.com/macosx/features/mail/&quot;&gt;OSX Mail&lt;/a&gt; is a typical Apple product, it has some great features that make it fantastic but it is let down by the tiny details. For example I&#039;ve been battling with it&#039;s &#039;Synchronize IMAP Account&#039; feature and its ability to almost crash my &lt;a href=&quot;http://www.scalix.com&quot;&gt;Scalix&lt;/a&gt; mail server. The feature is useful because it creates a local copy of an on-line IMAP account for SpotLight searching and general offline use. Unfortunately if this process is run after a long period of time offline it can cause the Scalix IMAP server to trip up and not allow further IMAP connections.&lt;/p&gt;&lt;p&gt;I&#039;ve been on the &lt;a href=&quot;http://www.scalix.com/community/viewtopic.php?p=18966#18966&quot;&gt;Scalix forums&lt;/a&gt; trying to resolve this issue and it seems like the root cause is a hard-coded limit of 17 simultaneous IMAP connections within Scalix. Unfortunately OSX Mail creates multiple simultaneous connections when performing the synchronization process and just to make matters worse it takes its own sweet time in closing them. Consequently it does not take long for the 16 process limit to be reached, the Scalix IMAP server to trip over and the Mail client to be left out in the cold. &lt;/p&gt;&lt;p&gt;The most annoying thing about the problem is that unlike &lt;a href=&quot;http://www.mozilla.com/thunderbird/&quot;&gt;Thunderbird&lt;/a&gt;, OSX Mail offers no way to limit the number of simultaneous connections, thus getting around the issue. Fortunately it sounds like the server team will resolve this hard coded &lt;a href=&quot;http://bugzilla.scalix.com/show_bug.cgi?id=12059&quot;&gt;process limit bug&lt;/a&gt;, perhaps in time for Scalix 11, so the annoying issue maybe resolved once and for all.&lt;/p&gt;&lt;p&gt;&lt;!--break--&gt; &lt;br /&gt;&lt;/p&gt;  &lt;/div&gt;

&lt;ul class=&quot;field-taxonomy-vocabulary-1&quot;&gt;

      &lt;li&gt;
      &lt;a href=&quot;/tech/osx&quot;&gt;osx&lt;/a&gt;    &lt;/li&gt;
      &lt;li&gt;
      &lt;a href=&quot;/tech/scalix&quot;&gt;scalix&lt;/a&gt;    &lt;/li&gt;
  
&lt;/ul&gt;
</description>
 <pubDate>Wed, 11 Oct 2006 06:36:01 +0000</pubDate>
 <dc:creator>David</dc:creator>
 <guid isPermaLink="false">328 at https://www.stress-free.co.nz</guid>
</item>
<item>
 <title>Ensuring mail can be sent via Scalix Webmail</title>
 <link>https://www.stress-free.co.nz/ensuring_mail_can_be_sent_via_scalix_webmail</link>
 <description>
  &lt;div class=&quot;field-body&quot;&gt;
    &lt;p&gt;The Scalix Webmail client requires an authenticated smtp connection in order to be able to successfully send messages. If the Scalix smtpd service is not configured to allow annoymous smtp connections from the Webmail host then the client will receive the following Javascript error:&lt;/p&gt;&lt;p class=&quot;codesnippet&quot;&gt;methodname = send&lt;/p&gt;&lt;p&gt;To correct this edit the Scalix smtpd configuration file at &lt;strong&gt;/var/opt/scalix/sys/smtpd.cfg&lt;/strong&gt; and ensure the Webmail server is added as a source that can send annoymous email. &lt;!--break--&gt;For example in my network the Webmail server (Tomcat) is at 10.1.1.40 so the configuration file looks like this:&lt;/p&gt;&lt;p class=&quot;codesnippet&quot;&gt;RELAY accept 127.0.0.1&lt;br /&gt;RELAY accept .stress-free.co.nz&lt;br /&gt;RELAY Log_Reject ALL&lt;br /&gt;&lt;br /&gt;ANONYMOUS accept 127.0.0.1&lt;br /&gt;ANONYMOUS accept 10.1.1.40&lt;br /&gt;ANONYMOUS Log_Reject ALL&lt;br /&gt;&lt;br /&gt;# extra rules added to prevent open relay usage&lt;br /&gt;RECIPIENT Log_Reject *@*@*&lt;br /&gt;RECIPIENT Log_Reject *%*&lt;br /&gt;RECIPIENT Log_Reject *!*&lt;br /&gt;RECIPIENT Log_Reject *#*@*&lt;br /&gt;&lt;br /&gt;AUTH_SUCCESS Header .pwd.stress-free.co.nz&lt;br /&gt;AUTH_SUCCESS Accept ALL&lt;/p&gt;&lt;p&gt;After editing this file restart Scalix smtpd for the changes to take effect:&lt;/p&gt;&lt;p class=&quot;codesnippet&quot;&gt;sudo omoff -d0 smtpd &amp;amp;&amp;amp; sudo omon smtpd&lt;/p&gt;&lt;p&gt; &lt;/p&gt;  &lt;/div&gt;

&lt;ul class=&quot;field-taxonomy-vocabulary-1&quot;&gt;

      &lt;li&gt;
      &lt;a href=&quot;/tech/email&quot;&gt;email&lt;/a&gt;    &lt;/li&gt;
      &lt;li&gt;
      &lt;a href=&quot;/tech/scalix&quot;&gt;scalix&lt;/a&gt;    &lt;/li&gt;
  
&lt;/ul&gt;
</description>
 <pubDate>Sat, 07 Oct 2006 04:07:24 +0000</pubDate>
 <dc:creator>David</dc:creator>
 <guid isPermaLink="false">326 at https://www.stress-free.co.nz</guid>
</item>
<item>
 <title>Enabling SMTP relay (smarthost) in Scalix</title>
 <link>https://www.stress-free.co.nz/enabling_smtp_relay_smarthost_in_scalix</link>
 <description>
  &lt;div class=&quot;field-body&quot;&gt;
    &lt;p&gt;By default Scalix configures itself to operate as a standalone mail server which is normally what client&#039;s want. Unfortunately the IP range my ISP owns is frequently flagged by anti-spam services  making mail delivery to certain recipients challenging. Fortunately my ISP provides an SMTP relay server for customers on the network which is not effected by the broad blocks applied to the IP range I am on.&lt;/p&gt;&lt;p&gt;To configure Scalix to use the SMTP relay for outgoing mail edit &lt;strong&gt;/etc/mail/sendmail.cf&lt;/strong&gt; and find the line that reads:&lt;/p&gt;&lt;p class=&quot;codesnippet&quot;&gt;DS&lt;/p&gt;&lt;p&gt;And change it to:&lt;/p&gt;&lt;p class=&quot;codesnippet&quot;&gt;DSrelay.smtpserver.com&lt;/p&gt;&lt;p&gt;Restart sendmail and you will find all your external mail sent via Scalix is relayed via the ISP&#039;s SMTP server. To check it is all working send an email and then view the /var/logs/mail file, the last entry should show a log of the outgoing mail with the relay recorded next to it.&lt;!--break--&gt; &lt;/p&gt;&lt;p&gt; If you make this change just make sure your domain SPF record is modified to ensure it defines the ISP&#039;s SMTP server as a source that is allowed to send mail on behalf of your name. The best SPF wizard I have found is hosted by &lt;a href=&quot;http://www.openspf.org/&quot;&gt;OpenSPF&lt;/a&gt; and makes creating this potentially complicated DNS entry straightforward. &lt;/p&gt;&lt;p&gt; &lt;/p&gt;  &lt;/div&gt;

&lt;ul class=&quot;field-taxonomy-vocabulary-1&quot;&gt;

      &lt;li&gt;
      &lt;a href=&quot;/tech/email&quot;&gt;email&lt;/a&gt;    &lt;/li&gt;
      &lt;li&gt;
      &lt;a href=&quot;/tech/scalix&quot;&gt;scalix&lt;/a&gt;    &lt;/li&gt;
  
&lt;/ul&gt;
</description>
 <pubDate>Thu, 05 Oct 2006 19:01:29 +0000</pubDate>
 <dc:creator>David</dc:creator>
 <guid isPermaLink="false">325 at https://www.stress-free.co.nz</guid>
</item>
<item>
 <title>Two Scalix tips: Apache vhosts and keeping deleted mail</title>
 <link>https://www.stress-free.co.nz/two_scalix_tips_apache_virtual_hosts_and_keeping_deleted_mail</link>
 <description>
  &lt;div class=&quot;field-body&quot;&gt;
    &lt;p&gt;&lt;a href=&quot;http://www.scalix.com/&quot;&gt;Scalix&lt;/a&gt; is a powerful, stable and soon to be almost completely open sourced email server. Unfortunately like many commercial products it is still a little rough round the edges when it comes to doing things outside of the supported method. Here is a couple of tips that may help you out when wanting to take Scalix &quot;off-road&quot; so to speak...&lt;!--break--&gt; &lt;/p&gt;&lt;h2&gt;Keeping deleted mail indefinitely&lt;/h2&gt;&lt;p&gt;I like to keep deleted mail mainly because I have a habit of deleting most non-business things soon after reading them. What normally happens is that a month later I remember something about an email I&#039;ve read but deleted so I want to go back to it. Unfortunately by default Scalix wants to delete mail deleted mail after twenty four hours. Its not a bad default policy but changing it is not simple (though hopefully will get easier in later versions). &lt;/p&gt;&lt;p&gt;To change this policy open the general.cfg file in /var/opt/scalix/sys/ and add the following line to the buttom:&lt;/p&gt;&lt;p class=&quot;codesnippet&quot;&gt;UAL_NO_WB_EMPTY=TRUE&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Restart Scalix and it should no longer clear out deleted mail. &lt;/p&gt;&lt;h2&gt;Integrating Scalix into an Apache Virtual Host &lt;/h2&gt;&lt;p&gt;Another problem area with Scalix occurs in its assumption that the server it is installed on will be dedicated to email and will not have to work around or integrate into other existing services. I combine my email and Web services onto one server and within Apache there are numerous virtual hosts. I only want Scalix Web services to be exposed on a single domain (webmail.stress-free.co.nz) but by default it wants to create the Tomcat connector and CGI aliases across every single domain.&lt;/p&gt;&lt;p&gt;To fix this first disable the Scalix Apache include files. There are several installed in /etc/apache2/conf.d and another reference in /etc/sysconfig/apache2 that looks like this:&lt;/p&gt;&lt;p class=&quot;codesnippet&quot;&gt;APACHE_CONF_INCLUDE_DIRS=/opt/scalix/global/httpd/scalix-web-client.conf&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Now edit your virtual host that you want to serve email. Below is an example of my /etc/apache2/vhosts.d/webmail.stress-free.co.nz.conf illustrating the numerous Scalix specific entries required for the different services (this is used on Suse 10):&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;codesnippet&quot;&gt;&amp;lt;VirtualHost 10.1.1.10:80&amp;gt;&lt;br /&gt;    ServerAdmin admin@stress-free.co.nz&lt;br /&gt;    ServerName webmail.stress-free.co.nz&lt;br /&gt;    # This is the fqdn for the Scalix server and is needed for SAC to work&lt;br /&gt;    ServerAlias scalix.stress-free.co.nz&lt;br /&gt;    DocumentRoot /srv/www/vhosts/webmail.stress-free.co.nz&lt;br /&gt;&lt;br /&gt;    ErrorLog /var/log/apache2/webmail.stress-free.co.nz-error_log&lt;br /&gt;    CustomLog /var/log/apache2/webmail.stress-free.co.nz-access_log combined&lt;br /&gt;    CustomLog /var/log/apache2/webmail.stress-free.co.nz-ssl_request_log   ssl_combined&lt;br /&gt;&lt;br /&gt;    HostnameLookups Off&lt;br /&gt;    UseCanonicalName Off&lt;br /&gt;    ServerSignature On&lt;br /&gt;&lt;br /&gt;    &amp;lt;IfModule mod_jk.c&amp;gt;&lt;br /&gt;        # Send Scalix specific urls to a mod_jk worker named scalix (ajp13)&lt;br /&gt;        JkMount /webmail/* scalix&lt;br /&gt;        JkMount /sac/* scalix&lt;br /&gt;        JkMount /caa/* scalix&lt;br /&gt;        JkMount /webcal/* scalix&lt;br /&gt;        JkMount /res/* scalix&lt;br /&gt;    &amp;lt;/IfModule&amp;gt;&lt;br /&gt;&lt;br /&gt;    &amp;lt;Directory &quot;/srv/www/vhosts/webmail.stress-free.co.nz&quot;&amp;gt;&lt;br /&gt;        Options Indexes FollowSymLinks&lt;br /&gt;        AllowOverride None&lt;br /&gt;        Order allow,deny&lt;br /&gt;        Allow from all&lt;br /&gt;    &amp;lt;/Directory&amp;gt;&lt;br /&gt;&amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;IfDefine SSL&amp;gt;&lt;br /&gt;&amp;lt;IfDefine !NOSSL&amp;gt;&lt;br /&gt;&amp;lt;VirtualHost 10.1.1.10:443&amp;gt;&lt;br /&gt;    ServerAdmin admin@stress-free.co.nz&lt;br /&gt;    ServerName webmail.stress-free.co.nz&lt;br /&gt;    # This is the fqdn for the Scalix server and is needed for SAC to work&lt;br /&gt;    ServerAlias scalix.stress-free.co.nz&lt;br /&gt;    DocumentRoot /srv/www/vhosts/webmail.stress-free.co.nz&lt;br /&gt;    ErrorLog /var/log/apache2/webmail.stress-free.co.nz-error_log&lt;br /&gt;    CustomLog /var/log/apache2/webmail.stress-free.co.nz-access_log combined&lt;br /&gt;    CustomLog /var/log/apache2/webmail.stress-free.co.nz-ssl_request_log   ssl_combined&lt;br /&gt;&lt;br /&gt;    HostnameLookups Off&lt;br /&gt;    UseCanonicalName Off&lt;br /&gt;    ServerSignature On&lt;br /&gt;&lt;br /&gt;    # This by default redirects visitors to the login screen&lt;br /&gt;    Redirect /index.html https://webmail.stress-free.co.nz/webmail/&lt;br /&gt;&lt;br /&gt;    &amp;lt;Directory &quot;/srv/www/vhosts/webmail.stress-free.co.nz&quot;&amp;gt;&lt;br /&gt;        Options Indexes FollowSymLinks&lt;br /&gt;        AllowOverride None&lt;br /&gt;        Order allow,deny&lt;br /&gt;        Allow from all&lt;br /&gt;    &amp;lt;/Directory&amp;gt;&lt;br /&gt;&lt;br /&gt;    # This sets up mod_jk for Scalix Tomcat -&amp;gt; Apache interaction &lt;br /&gt;    &amp;lt;IfModule mod_jk.c&amp;gt;&lt;br /&gt;        # Send everything for context /examples to worker named scalix (ajp13)&lt;br /&gt;        JkMount /webmail/* scalix&lt;br /&gt;        JkMount /sac/* scalix&lt;br /&gt;        JkMount /caa/* scalix&lt;br /&gt;        JkMount /webcal/* scalix&lt;br /&gt;        JkMount /res/* scalix&lt;br /&gt;    &amp;lt;/IfModule&amp;gt;&lt;br /&gt;&lt;br /&gt;    # Scalix cgi-bin aliases&lt;br /&gt;    Alias       /omhtml/           /var/opt/scalix/omhtml/&lt;br /&gt;    AliasMatch ^/omhtml\.([^/]*)/  /var/opt/om.$1/omhtml/&lt;br /&gt;&lt;br /&gt;    ScriptAlias /Scalix/rw /opt/scalix/bin/ice.cgi/prof=RW-C&lt;br /&gt;    ScriptAliasMatch ^/Scalix/rw-(.*) /opt/scalix/bin/ice.cgi/prof=RW-$1&lt;br /&gt;&lt;br /&gt;    # Add legacy PAW profile also ...&lt;br /&gt;    ScriptAlias /Scalix/paw /opt/scalix/bin/ice.cgi/prof=PAW-C&lt;br /&gt;    ScriptAliasMatch ^/Scalix/paw-(.*) /opt/scalix/bin/ice.cgi/prof=PAW-$1&lt;br /&gt;&lt;br /&gt;    ScriptAlias /Scalix/wap /opt/scalix/bin/ice.cgi/prof=WAP-C&lt;br /&gt;    ScriptAliasMatch ^/Scalix/wap-(.*) /opt/scalix/bin/ice.cgi/prof=WAP-$1&lt;br /&gt;&lt;br /&gt;    &amp;lt;Directory &quot;/opt/scalix/bin&quot;&amp;gt;&lt;br /&gt;        AllowOverride None&lt;br /&gt;        Options +ExecCGI -Includes&lt;br /&gt;        Order allow,deny&lt;br /&gt;        Allow from all&lt;br /&gt;        AddDefaultCharset off&lt;br /&gt;    &amp;lt;/Directory&amp;gt;&lt;br /&gt;    &amp;lt;Directory &quot;/var/opt/scalix/omhtml&quot;&amp;gt;&lt;br /&gt;        AllowOverride None&lt;br /&gt;        Order allow,deny&lt;br /&gt;        Allow from all&lt;br /&gt;        AddDefaultCharset off&lt;br /&gt;    &amp;lt;/Directory&amp;gt;&lt;br /&gt;&lt;br /&gt;    SSLEngine on&lt;br /&gt;    SSLCipherSuite HIGH:MEDIUM&lt;br /&gt;    SSLCertificateFile /etc/apache2/ssl.crt/www.stress-free.co.nz.crt&lt;br /&gt;    SSLCertificateKeyFile /etc/apache2/ssl.key/www.stress-free.co.nz.key&lt;br /&gt;    SSLProtocol all -SSLv2&lt;br /&gt;    SetEnvIf User-Agent &quot;.*MSIE.*&quot; \&lt;br /&gt;           nokeepalive ssl-unclean-shutdown \&lt;br /&gt;           downgrade-1.0 force-response-1.0 &lt;br /&gt;&lt;br /&gt;&amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;&amp;lt;/IfDefine&amp;gt;&lt;br /&gt;&amp;lt;/IfDefine&amp;gt;&lt;/p&gt;&lt;p&gt;I am using the Suse mod_jk library not the Scalix supplied version. This is configured in /etc/apache2/conf.d/mod_jk.conf and for my system looks like this:&lt;/p&gt;&lt;p class=&quot;codesnippet&quot;&gt;&amp;lt;IfModule mod_jk.c&amp;gt;&lt;br /&gt;JkWorkersFile /etc/apache2/workers.properties&lt;br /&gt;JkLogFile /var/log/apache2/mod_jk.log&lt;br /&gt;JkLogLevel info&lt;br /&gt;JkLogStampFormat &quot;[%a %b %d %H:%M:%S %Y] &quot;&lt;br /&gt;JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories&lt;br /&gt;JkRequestLogFormat &quot;%w %V %T&quot;&lt;br /&gt;&amp;lt;/IfModule&amp;gt; &lt;/p&gt;&lt;p&gt;This configures mod_jk and references the /etc/apache2/workers.properties file which looks like this for my server:&lt;/p&gt;&lt;p class=&quot;codesnippet&quot;&gt;worker.list=scalix&lt;br /&gt;&lt;br /&gt;worker.scalix.type=lb&lt;br /&gt;worker.scalix.balanced_workers=scalix1&lt;br /&gt;&lt;br /&gt;# Set properties for worker1 (ajp13)&lt;br /&gt;worker.scalix1.type=ajp13&lt;br /&gt;worker.scalix1.host=127.0.0.1&lt;br /&gt;worker.scalix1.port=8009&lt;br /&gt;worker.scalix1.lbfactor=50&lt;br /&gt;worker.scalix1.cachesize=10&lt;br /&gt;worker.scalix1.cache_timeout=600&lt;br /&gt;worker.scalix1.socket_keepalive=1&lt;br /&gt;worker.scalix1.reclycle_timeout=300&lt;/p&gt;&lt;p&gt;Restart Apache and hopefully you should find Scalix works for your virtual host (and only your virtual host). If you have experience with configuring Apache2 and Tomcat you should find this relatively straightforward but if you don&#039;t it will be quite intimidating sorry.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;  &lt;/div&gt;

&lt;ul class=&quot;field-taxonomy-vocabulary-1&quot;&gt;

      &lt;li&gt;
      &lt;a href=&quot;/tech/linux&quot;&gt;linux&lt;/a&gt;    &lt;/li&gt;
      &lt;li&gt;
      &lt;a href=&quot;/tech/scalix&quot;&gt;scalix&lt;/a&gt;    &lt;/li&gt;
  
&lt;/ul&gt;
</description>
 <pubDate>Thu, 28 Sep 2006 05:01:16 +0000</pubDate>
 <dc:creator>David</dc:creator>
 <guid isPermaLink="false">319 at https://www.stress-free.co.nz</guid>
</item>
<item>
 <title>Sorting out Scalix tantrums</title>
 <link>https://www.stress-free.co.nz/sorting_out_scalix_tantrums</link>
 <description>
  &lt;div class=&quot;field-body&quot;&gt;
    &lt;p&gt;This morning after making some file changes and performing a server restart I found the &lt;a href=&quot;http://www.scalix.com/&quot;&gt;Scalix 10 email server&lt;/a&gt; would not load. As I have never had to resolve major problems with Scalix determining the cause and solution to this error turned out to be a worthwhile experience.&lt;/p&gt;&lt;h2&gt;Manually starting and stopping Scalix&lt;/h2&gt;&lt;p&gt;According to the Scalix startup script (/etc/init.d/scalix) the service was successfully starting, but on closer inspection none of the actual processes were beginning. Unfortunately whilst the /etc/init.d/scalix script is a tidy way of controlling Scalix it does not provide any console logging to explain any issues that maybe encountered. For more useful output the two console commands that start/stop Scalix are:&lt;!--break--&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;strong&gt;omrc&lt;/strong&gt; - start Scalix&lt;/li&gt;&lt;li&gt;&lt;strong&gt;omshut&lt;/strong&gt; - stop Scalix &lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Thanks to omrc I was able to see that according to Scalix one of the core services, the Remote Client Interface (RCI), was in a &#039;shutdown process&#039; and could not be loaded. A look on the &lt;a href=&quot;http://www.scalix.com/community/&quot;&gt;Scalix Community Forums&lt;/a&gt; quickly came up with the answer here which was to run the command:&lt;/p&gt;&lt;p class=&quot;codesnippet&quot;&gt;omreset -o off rci&lt;/p&gt;&lt;p&gt;The omreset command manually sets the status of the various Scalix services and the above comand forces the RCI service to the off state. &lt;/p&gt;&lt;p&gt;With this problem fixed Scalix successfully started happily enough but I then found that whilst I could log into the Administration interface, POP and SMTP services I could not however use IMAP or Webmail as my username/password was rejected. Solving this problem was a little trickier than the first but fortunately a look in the SAC administration IMAP logs showed that there were some file permissions errors occurring as a consequence of the file changes I had undertaken before the server reboot.&lt;/p&gt;&lt;h2&gt;Checking file permissions &lt;/h2&gt;&lt;p&gt;Fortunately Scalix has a very useful tool for checking and correcting file ownership and privilege issues called omcheck. To correct file privilege issues run the following command:&lt;/p&gt;&lt;p class=&quot;codesnippet&quot;&gt;omcheck -s -d &amp;gt; /tmp/check_file ; sh /tmp/check_file&lt;/p&gt;&lt;p&gt;The above runs the omcheck command on the Scalix application and data files. Results are output to /tmp/check_file as a series of comments and chmod commands to correct any permission errors. Once omcheck has completed the output (tmp/check_file) is executed by the shell (sh), automatically correcting any issues found. I was relieved to see that after running this command IMAP and Webmail were once again working fine.&lt;/p&gt;&lt;p&gt;Overall solving these Scalix issues was a very good learning experience. It took quite a long time simply because of my limited experience of dealing with Scalix issues and the overly complex manner by which Scalix is configured and operates compared to other email servers. All of the answers were found on the Scalix Community Forums but finding them took a lot of searching, reading and experimenting. There is a lot of content on the forums mainly I think because Scalix is overly complex and can easily lead to problems. Hopefully with Scalix 11 and future versions these configuration and maintenance tasks become simpler, more concise and a lot more intuitive.  &lt;/p&gt;&lt;p&gt; &lt;/p&gt;  &lt;/div&gt;

&lt;ul class=&quot;field-taxonomy-vocabulary-1&quot;&gt;

      &lt;li&gt;
      &lt;a href=&quot;/tech/linux&quot;&gt;linux&lt;/a&gt;    &lt;/li&gt;
      &lt;li&gt;
      &lt;a href=&quot;/tech/email&quot;&gt;email&lt;/a&gt;    &lt;/li&gt;
      &lt;li&gt;
      &lt;a href=&quot;/tech/scalix&quot;&gt;scalix&lt;/a&gt;    &lt;/li&gt;
  
&lt;/ul&gt;
</description>
 <pubDate>Sat, 23 Sep 2006 12:05:33 +0000</pubDate>
 <dc:creator>David</dc:creator>
 <guid isPermaLink="false">316 at https://www.stress-free.co.nz</guid>
</item>
<item>
 <title>Migrating to and using Scalix 10</title>
 <link>https://www.stress-free.co.nz/migrating_to_and_using_scalix_10</link>
 <description>
  &lt;div class=&quot;field-body&quot;&gt;
      &lt;p&gt;Last week &lt;a href=&quot;http://lists.naos.co.nz/pipermail/wellylug/2006-July/015704.html&quot;&gt;this post&lt;/a&gt; on my local Linux user group got me rethinking email servers. The last time I did this was about &lt;a href=&quot;/node/240/2/&quot;&gt;six months ago&lt;/a&gt; when I made the move away from &lt;a href=&quot;http://www.hula-project.org/Hula_Project&quot;&gt;Hula&lt;/a&gt; onto &lt;a href=&quot;http://www.zimbra.com&quot;&gt;Zimbra&lt;/a&gt;. At the time I looked at &lt;a href=&quot;http://www.scalix.com&quot;&gt;Scalix&lt;/a&gt; 9 but was deterred by its need for X-Windows during the install process and the overwhealming amount of installation documentation that came with the 100+mb download. I decided to go with Zimbra because it offered a text-based installer and some very nice looking UI features on the webmail client.&lt;/p&gt;  &lt;p&gt;Unfortunately over time I have become tired of Zimbra for a number of reasons:&lt;/p&gt;  &lt;ul&gt;&lt;li&gt;The installation essentially takes over the host operating environment and installs its own version of popular open source applications like MySQL and Apache. Consequently keeping up with security patches involves upgrading the entire mail system which is no straightforward task.&lt;/li&gt;    &lt;li&gt;Zimbra is very resource intensive and takes what seems like forever to initally load and shutdown. This seems to mainly revolve around their management tools which store all configuration information in an LDAP database and dynamically build the traditional configuration text files on loading.&lt;/li&gt;    &lt;li&gt;Because most configuration information is stored in the LDAP datasource making configuration tweaks by editing the traditional text cofiguration files is not possible. Instead you must read through the Zimbra administration documentation to identify LDAP attributes to tweak in order to achieve the intended output. This is frustrating and not very transparent when things go wrong.&lt;/li&gt;    &lt;li&gt;The webmail interface is slow to operate and load (especially for dial-up/slow DSL users). After about three months I disabled the webmail interface and began using Roundcube&#039;s php IMAP frontend. There was a loss of functionality but at least performance was smooth on any connection.&lt;/li&gt;    &lt;li&gt;Because of the way Zimbra sets up its own services it is hard to integrate it successfully into an existing environment. I only have one IP address and port 80/443 is forwarded through to my LAMP server. After a great deal of experimenting I could not get the LAMP server to natively host the Zimbra webmail client, instead I had to resort to using a nasty mod_proxy configuration (which probably attributed to the slowness for external users). &lt;/li&gt;    &lt;li&gt;Zimbra does not offer Outlook/iSync connectors for its open source users, in order to get access to these connectors you must pay many $$$ a year in licensing costs. In small installations this is just not cost-effective.&lt;/li&gt;  &lt;/ul&gt;&lt;p&gt; Scalix 10 on the other hand addresses many of the shortcomings I found in Scalix 9 and Zimbra.    &lt;br /&gt;&lt;/p&gt;  &lt;ul&gt;&lt;li&gt;It ships with a console based installer which is a welcome sight. Rather than providing its own stack it integrates into your operating systems existing applications (Sendmail, Apache, Cyrus-SASL and even Java if you want). This makes keeping your server up to date with the latest security patches a lot easier and upgrading to the latest and greatest Scalix release less of a concern.&lt;/li&gt;    &lt;li&gt;The webmail interface is based entirely in Java (running in Tomcat) and can be easily setup to be accessed from an external web-server (such as a dedicated LAMP box) using mod_jk.      &lt;br /&gt;Scalix even in the free Community Edition version offers 25 free Outlook Connector licenses which makes it practical for use within small businesses.&lt;/li&gt;    &lt;li&gt;Rather than storing all configuration data in an LDAP datasource most configuration occurs in the standard text files for the system with a little bit of tweaking taking place in the /var/opt/scalix/ directory. This makes tweaking a lot easier as information found on the Web can be directly applied to Scalix.&lt;/li&gt;    &lt;li&gt;There seems to be a great deal of support available for Scalix ranging from the comprehensive bundled documentation and &lt;a href=&quot;http://www.scalix.com/support/knowledgebase.html&quot;&gt;Knowledge Base&lt;/a&gt; through to the &lt;a href=&quot;http://www.scalix.com/support/communityforums.html&quot;&gt;Community Forums&lt;/a&gt; and &lt;a href=&quot;http://www.scalix.com/wiki/index.php?title=Scalix_Wiki&quot;&gt;Wiki&lt;/a&gt;. Between those four sources of information I haven&#039;t yet found a problem that has not been able to be resolve.      &lt;br /&gt;&lt;/li&gt;  &lt;/ul&gt;&lt;h2&gt;Installation&lt;/h2&gt;  &lt;p&gt;I installed Scalix on a virtual Xen instance which contained a minimum install of SUSE 10. After accepting the license agreement the installer ran through a system and dependency check. At this point it returned a nice list of changes I needed to make to the system before installation could occur. This mainly revolved around the installation of some packages and a tweak of the /etc/hosts file in order to reduce the risk of confusion later on. It also gave me a warning about memory which would be easily solved later on by giving the Xen instance access to more server memory. &lt;/p&gt;  &lt;div class=&quot;centeredimage&quot;&gt; &lt;a href=&quot;/sites/default/files/images/reviews/scalix/scalix-install_lg.jpg&quot;&gt; &lt;img src=&quot;/sites/default/files/images/reviews/scalix/scalix-install_sm.jpg&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;    &lt;br /&gt;Console installation (click to enlarge) &lt;/div&gt;  &lt;br /&gt;Once the dependencies were met Scalix happily installed. At the end of the process I was asked if I wished to install included versions of Java/Tomcat or use my own. I opted to use the bundled versions out of simplicity and on looking at the configuration files after the installation I can see it is a straightforward job if you wish to change your mind and use a different JVM or J2EE server once things have gone into production.  &lt;br /&gt;&lt;br /&gt;With Scalix, Java and Tomcat installed, the server reconfigured and the basic admin account setup all the services were started and the installer finished. It was the moment of truth so I fired up a web browser and made my way to the Scalix administration console.  &lt;div class=&quot;centeredimage&quot;&gt; &lt;a href=&quot;/sites/default/files/images/reviews/scalix/server_admin_lg.jpg&quot;&gt; &lt;img src=&quot;/sites/default/files/images/reviews/scalix/server_admin_sm.jpg&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;    &lt;br /&gt;Server administration via SAC (click to enlarge) &lt;/div&gt;  &lt;h2&gt;Disabling mod_deflate because of Firefox 1.5 on OSX&lt;/h2&gt;  &lt;p&gt;At this point I came across my first issue and it was not really with Scalix. For some reason Firefox 1.5 for OSX on my Mac cannot handle content compressed with mod_deflate very well. Consequently the Scalix administration interface took forever to load. Switching to a different browser fixed this problem but as Firefox was my default browser I decided to disable mod_deflate for the time being.    &lt;br /&gt;&lt;br /&gt;This involved tweaking Scalix&#039;s Apache configuration files. In doing so I was pleasantly surprised to find that the Scalix installer had been very neat and courteous when making its modifications. I have seen a number of applications make horrendous system configuration changes but Scalix was a good server citizen. It had added three extra .conf files into /etc/apache2/conf.d and each were well named and commented. The installer had also modified the /etc/sysconfig/apache2 file to add the jk and deflate modules to Apache and this change too had been performed in an appropriate manner. I disabled the configuration file in /etc/apache2/conf.d associated with mod_deflate, restarted Apache and everything worked as expected in Firefox.    &lt;br /&gt;&lt;/p&gt;  &lt;h2&gt;Adding user accounts and doing basic system maintenance &lt;/h2&gt;  &lt;p&gt;Using the web-based Scalix Administration Console (SAC) it is possible to perform all the basic mail administration tasks like adding/deleting users and monitoring mail queues. The console is designed to enable the management of multiple mail servers but the functionality available through it is not as extensive as other administration interfaces I have used. For example there are no options to edit what mail services (pop/imap/smtp/webmail) start on boot or modify details about a particular service (like port numbers, security settings, etc). Changes like this are possible but it requires console-based editing of configuration files. Personally I do not see this as a bad thing but if you are pro-GUI administrator making the switch from Exchange or Zimbra you will probably be disappointed. &lt;/p&gt;  &lt;div class=&quot;centeredimage&quot;&gt; &lt;a href=&quot;/sites/default/files/images/reviews/scalix/user_admin_lg.jpg&quot;&gt; &lt;img src=&quot;/sites/default/files/images/reviews/scalix/user_admin_sm.jpg&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;    &lt;br /&gt;User administration (click to enlarge) &lt;/div&gt;  &lt;p&gt;When creating user accounts you can select whether the account is Premium (Outlook, IMAP, POP3), Standard (IMAP/POP3) or Internet (Webmail only) which is a nice touch. The Community Edition of Scalix allows only 25 Premium accounts, any more than that and you must upgrade to a paid-for version. Upgrading to a different version of Scalix is as simple as purchasing a license and entering its details into the SAC. This means a Scalix Community Edition server can be installed, tested and demoed at zero-cost and then painlessly upgraded if and when the server goes into full-scale production.&lt;/p&gt;  &lt;div class=&quot;centeredimage&quot;&gt; &lt;a href=&quot;/sites/default/files/images/reviews/scalix/server_stats_lg.jpg&quot;&gt; &lt;img src=&quot;/sites/default/files/images/reviews/scalix/server_stats_sm.jpg&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;    &lt;br /&gt;Scalix server statistics (click to enlarge) &lt;/div&gt;  &lt;h2&gt;Migrating existing mail&lt;/h2&gt;  &lt;p&gt;Scalix provide a suite of tools for seamlessly migrating users from Exchange which is their core target audience. Unfortunately as I was not running Exchange I could not test these out. It seems like the standard way of migrating non-Exchange mail onto Scalix was through the manual creation of user accounts and then transfer of mail using the Perl-based &lt;a href=&quot;http://freshmeat.net/projects/imapsync/&quot;&gt;imapsync&lt;/a&gt; tool. There maybe a smarter way of doing this but the Scalix documentation I found did not provide any hints.    &lt;br /&gt;&lt;br /&gt;Imapsync is a very functional piece of software but it is a little troublesome to setup if you are not used to Perl. It requires a number of libraries that by default are not installed with Perl but fortunately are all available in CPAN. Once the tool is running migration was straight-forward but it is important to set the --setinternaldates flag so that migrated mail retains the original arrival time (otherwise everything will get listed as turning up on the same day). The process does take a while and is fairly resource intensive, running the imapsync process from a third computer during a time when mail activity is low is recommended.    &lt;br /&gt;&lt;/p&gt;  &lt;h2&gt;Using Scalix&lt;/h2&gt;  &lt;p&gt;With the user accounts and mail transferred it was now a case of using it. The Webmail interface works very well and is a lot snappier than Zimbra&#039;s. It is also relatively straightforward to configure Webmail to be routed through an intermediate server providing other Web services. Doing so requires some understanding of &lt;a href=&quot;http://tomcat.apache.org/connectors-doc/&quot;&gt;mod_jk&lt;/a&gt; which is a bit of a dark art though not as bad as regular expressions or &lt;a href=&quot;http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html&quot;&gt;mod_rewrite&lt;/a&gt;. Fortunately the installed Scalix configuration files are well commented and provide even mod_jk novices with enough insight that setting configurations like this up should not be too much of a problem. &lt;/p&gt;  &lt;div class=&quot;centeredimage&quot;&gt; &lt;a href=&quot;/sites/default/files/images/reviews/scalix/scalix_webmail_lg.jpg&quot;&gt; &lt;img src=&quot;/sites/default/files/images/reviews/scalix/scalix_webmail_sm.jpg&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;    &lt;br /&gt;Webmail interface (click to enlarge) &lt;/div&gt;  &lt;p&gt;There was a weird bug with Scalix and &lt;a href=&quot;http://www.apple.com/macosx/features/mail/&quot;&gt;OSX Mail&#039;s&lt;/a&gt; Kerberos implementation. On setting up an IMAP account in Mail the application automatically sets itself to exchange passwords using Kerberos but this does not work (my guess is an incompatibility between the two implementations). This issue can be solved by changing the authentication encryption to MD5 in Mail. The weird thing is when setting up Scalix as an SMTP service Mail automatically sets encryption to MD5 and works quite happily without further user input. &lt;/p&gt;  &lt;h2&gt;Scalix with Outlook&lt;/h2&gt;  &lt;p&gt;I do not use &lt;a href=&quot;http://www.microsoft.com/outlook/&quot;&gt;Outlook&lt;/a&gt; but I was interested in trying out the &lt;a href=&quot;http://www.scalix.com/products/scalixconnect_outlook.html&quot;&gt;Scalix Connector for Outlook&lt;/a&gt;. Setting up the connector was more than a simple case of pointing Outlook to Scalix and telling it that it was actually Exchange. The process required the installation of a Scalix Connector package on the Windows client and then migration of the standard Outlook account to a special Scalix-enabled version. Fortunately all of these tasks can be automated to enable network roll-out but I found the documentation just a little bit too light in places to feel really comfortable about what I was doing. Once setup the results were pretty impressive, 99% of all the Exchange functionality is available using the connector and it appeared to be very fast and stable. &lt;/p&gt;  &lt;div class=&quot;centeredimage&quot;&gt; &lt;a href=&quot;/sites/default/files/images/reviews/scalix/outlook_lg.jpg&quot;&gt; &lt;img src=&quot;/sites/default/files/images/reviews/scalix/outlook_sm.jpg&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;    &lt;br /&gt;The Outlook connector and webmail (click to enlarge) &lt;/div&gt;  &lt;h2&gt;Shortcomings for the non-technical administrator&lt;/h2&gt;  &lt;p&gt;By default Scalix does not ship with any anti-virus or anti-spam software. There are numerous pieces of documentation on how to &lt;a href=&quot;http://www.scalix.com/wiki/index.php?title=Scalix/Sendmail_%26_Amavisd-New_HOWTO&quot;&gt;set these things up&lt;/a&gt; but it revolves around making configuration file changes using the console. Here again Exchange administrators will not feel too comfortable and would probably prefer the Web-based check box functionality of Zimbra when it comes to setting up anti-spam and virus services. But if you are prepared to get your hands a little dirty the end-results will be a lot better, more flexible and most importantly when things go awry you will have a better understanding of what exactly is going on. &lt;/p&gt;  &lt;h2&gt;Conclusion&lt;/h2&gt;  &lt;p&gt;For those administrators out there that do not want to mess with complex console work Scalix is not for them. Installing and configuring Scalix will take more time than Exchange which will offset some of the licensing savings. However once it is up and running it is very stable and flexible system with all the power of Exchange without the licensing, security and reliability concerns that come with Microsoft software.&lt;/p&gt;  &lt;p&gt; &lt;/p&gt;   &lt;/div&gt;

&lt;ul class=&quot;field-taxonomy-vocabulary-1&quot;&gt;

      &lt;li&gt;
      &lt;a href=&quot;/tech/linux&quot;&gt;linux&lt;/a&gt;    &lt;/li&gt;
      &lt;li&gt;
      &lt;a href=&quot;/tech/server&quot;&gt;server&lt;/a&gt;    &lt;/li&gt;
      &lt;li&gt;
      &lt;a href=&quot;/tech/email&quot;&gt;email&lt;/a&gt;    &lt;/li&gt;
      &lt;li&gt;
      &lt;a href=&quot;/tech/scalix&quot;&gt;scalix&lt;/a&gt;    &lt;/li&gt;
  
&lt;/ul&gt;
</description>
 <pubDate>Mon, 31 Jul 2006 00:15:29 +0000</pubDate>
 <dc:creator>David</dc:creator>
 <guid isPermaLink="false">289 at https://www.stress-free.co.nz</guid>
</item>
</channel>
</rss>
