Hi,
I've successfully set up a Zimbra 7 (first 7.0, now 7.1) environment based on the Open Source Edition, and it works great. However, I also would like a backup MX, and instead of going for a full Zimbra install, I would like to handle this with a more simple postfix install. I am writing here to get a feedback from other, more experienced Zimbra administrators that my thoughts are somewhat in the right direction before I venture off on this task.
It is important that the backup MX does not become a spam trap because its spam guard is lower than the primary, Zimbra-based, MX. Thus I want the backup MX to be installed with postfix, spamassassin and the whole 9 yards. The install is OK, but the question is what data to transfer.
In order for this to be secure, I have identified only two areas that need to be transferred from Zimbra to the backup MX on an hourly or daily basis:
1. User accounts so that email to non-existent users are bounced immediately on the backup as well. This is planned with this script on the zimbra-side run once an hour (from the forums):
Code:
/opt/zimbra/openldap/bin/ldapsearch -LLL -x -D"`/opt/zimbra/bin/zmlocalconfig -s zimbra_ldap_userdn | \
awk '{print $3}'`" -w"`/opt/zimbra/bin/zmlocalconfig -s zimbra_ldap_password | \
awk '{print $3}'`" -H `/opt/zimbra/bin/zmlocalconfig ldap_url | \
awk '{print $3}'` $* | \
grep ^mail | \
awk '{print $2}' | \
sort > zimbra_recipients.list and;
2. Backup of SpamAssassin bayes data on a daily basis:
Code:
/opt/zimbra/libexec/sa-learn -p /opt/zimbra/conf/salocal.cf.in --dbpath /opt/zimbra/data/amavisd/.spamassassin/ --siteconfigpath /opt/zimbra/conf/spamassassin --backup > /tmp/zimbra_q.backup
Is this sufficient to be reasonably safe from a spam, virus and security point of view, or are there also other aspects that should be transferred from Zimbra to the backup MX?
Are there any special postfix configurations in Zimbra I should be aware of to replicate on the backup MX, or can I use the paranoia-settings from my own manual install I used before migrating to Zimbra?
Thanks in advance for any insight - rather long post for a first post in this forum...
-y1