Installing Zimbra on VServer: Difference between revisions
(→Amavis) |
|||
Line 38: | Line 38: | ||
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: | 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: | ||
<pre> | |||
@inet_acl = qw( 127.0.0.1 123.123.123.123 [::1] ); # allow SMTP access only from localhost | @inet_acl = qw( 127.0.0.1 123.123.123.123 [::1] ); # allow SMTP access only from localhost | ||
</pre> | |||
Postfix should then be able to talk to Amavis... | Postfix should then be able to talk to Amavis... |
Revision as of 03:47, 3 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
/etc/hosts
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
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...