Difference between revisions of "Installing Zimbra on VServer"

(Security)
(Security limits)
Line 47: Line 47:
 
=== Postfix ===
 
=== Postfix ===
  
=== Security limits ===
+
=== Security limits (SuSE OSS 10.0 vserver) ===
  
Edit /etc/security/limits.conf and remove the lines for zimbra user (last two lines) - otherwise the su command won't work (at least under SuSE OSS 10.0 vserver)
+
Edit /etc/security/limits.conf and comment the last two lines - otherwise the su command won't work and the installation will fail.
 +
 
 +
<pre>
 +
# End of file
 +
#zimbra soft nofile 10000
 +
#zimbra hard nofile 10000
 +
</pre>
 +
 
 +
Rerun /opt/zimbra/libexec/zmsetup.pl to complete the setup.
  
 
=== Amavis ===
 
=== Amavis ===

Revision as of 20:28, 20 April 2006

Installation on VServer

These instructions are specifically for Debian VServers, but should be able to be applied to just about any system

Debian and VServers

Gotchas

Unix file(1) utility

A base Debian vserver doesn't have a "file" utility installed by default. This is needed by amavis. Install it by typing:

apt-get install file

/etc/hosts

Make sure you have a localhost entry and also an entry with your primary IP. For example:

127.0.0.1       localhost
123.123.123.123 mail.somehost.zimbra

localhost

The Zimbra logger process doesn't seem to startup. "zmcontrol status" on my system shows:

vserver:~# /opt/zimbra/bin/zmcontrol status
Host vserver.somedomain
        antispam                Stopped
        antivirus               Stopped
        ldap                    Running
        logger                  Stopped
        mailbox                 Stopped
        mta                     Stopped
        snmp                    Stopped
        spell                   Running
vserver:~#


The logger uses MySQL. I'm guessing there is some problem with privileges and/or connecting to localhost in the "mysql" database. Just a hunch though.

Postfix

Security limits (SuSE OSS 10.0 vserver)

Edit /etc/security/limits.conf and comment the last two lines - otherwise the su command won't work and the installation will fail.

# End of file
#zimbra soft nofile 10000
#zimbra hard nofile 10000

Rerun /opt/zimbra/libexec/zmsetup.pl to complete the setup.

Amavis

Edit /opt/zimbra/amavisd/sbin/amavisd (main Perl script) and explicitly add the IP address of the Zimbra VServer to the "inet_acl" line. I.e:

@inet_acl   = qw( 127.0.0.1 123.123.123.123 [::1] );  # allow SMTP access only from localhost

Postfix should then be able to talk to Amavis...

Jump to: navigation, search