Posts

Showing posts from August, 2019

How to install zimbra collaboration suite 8.8.11 on CentOS 7

Check system requirements  https://wiki.zimbra.com/wiki/Zimbra_Releases/8.7.0/Single_Server_Installation#System_Requirements prerequisites Before we get started, here are a few things that are required before we proceed with the installation. A clean installation of Centos 7 A Fully Qualified Domain (FQDN) for your server(Example mail.geekybum.com) An external DNS server with both A and MX records for your server to point to your Zimbra mail server IP Address A static IP Address assigned to network interface. Step 1: Root login to server through SSH Step 2: Install required packages for zimbra coloboration suite installation yum -y install unzip net-tools sysstat openssh-clients perl-core libaio nmap-ncat libstdc++.so Initial server setup To get started we need to configure a hostname for our server and a static IP address. vi /etc/hosts 135.125.30.56 mail.geekybum.com mail Replace the system hostname and FQDN values accordingly in order to match your own do

Migration of two different zimbra collaboration suite servers

Zimbra does not support migration of two different versions of Zimbra collaboration suite easily or support tool so we need to manually take everything as a backup in the old server and then transfer to new server. Requirements : old server:  SSH login with root user Admin log in as a Zimbra user Enough Hard disk space to store all backups New server  : Install the Zimbra suite you want make sure to set your new servers hostname same as the old one. Need ssh login as a root user Zimbra admin logins Enough HDD space to store backups from old Zimbra server Do this in both old and new server cd / mkdir backups cd backups mkdir zmigrate cd .. cd .. chown zimbra:zimbra -R backups cd /backups/zmigrate su – zimbra Perform all operation as a zimbra user else you will encounter error. Now taking backup of all data from old server 1. Find all domains cd /backups/zmigrate zmprov gad > domains.txt cat domains.txt mail.serverhelper.ml geekybu

A network service error has occurred

I was changing some settings to acheive the mail rules. So we need to flush the settings using this command.. postconf -e smtpd_restriction_classes=’ ‘ zmmtactl reload

Message not sent; one or more addresses were not accepted

Open file  /opt/zimbra/conf/zmconfigd/smtpd_sender_restrictions.cf  and remove this line from the top %%contains VAR:zimbraMtaSmtpdSenderRestrictions check_sender_access lmdb:/opt/zimbra/postfix/conf/restricted_senders%%

mta stopped postfix is not running

check zimbra logs if you found port conflict error log or check 25 port by  # netstat -tulpn if other program using 25 port then note PID of that program and kill  # kill -9 1285 after killing PID 1285 run  # zmcontrol start

Zimbra SMTP Relay Through SendGrid for google cloud

vi  /opt/zimbra/conf/relay_password [smtp.sendgrid.net]:2525 username:password Next, run the following commands in order to configure Zimbra’s MTA to use your above SMTP credentials to relay all outgoing email. postmap /opt/zimbra/conf/relay_password postmap -q [smtp.sendgrid.net]:2525 /opt/zimbra/conf/relay_password zmprov ms `zmhostname` zimbraMtaSmtpSaslPasswordMaps lmdb:/opt/zimbra/conf/relay_password With the  smtp_sasl_password_maps  parameter, we configure the Postfix SMTP client to send username and password information to the mail gateway server. zmprov ms `zmhostname` zimbraMtaSmtpSaslAuthEnable yes The  smtp_sasl_auth_enable  setting enables client-side authentication. We will configure the client’s username and password information in the second part of the example. zmprov ms `zmhostname` zimbraMtaSmtpCnameOverridesServername no zmprov ms `zmhostname` zimbraMtaSmtpTlsSecurityLevel may zmprov ms `zmhostname` zimbraMtaSmtpSaslSecurityOptions noanonymou