![Zimbra webmail not working on port 80/443](https://serverok.in/wp-content/themes/understrap-child/images/default.webp)
Zimbra webmail not working on port 80/443
On Zimbra mail server, webmail stopped working on Port 80/443. Admin interface worked properly on url https://hostname:7071/. There is no
![Zimbra Mail Server CentOS firewall settings](https://serverok.in/wp-content/themes/understrap-child/images/default.webp)
Zimbra Mail Server CentOS firewall settings
On CentOS 7 server with firewalld running, used following command to open ports used by Zimbra Mail Server. firewall-cmd –zone=public
![Zimbra redirect webmail http to https](https://serverok.in/wp-content/themes/understrap-child/images/default.webp)
Zimbra redirect webmail http to https
After Zimbra mail server installed, webmail work on url https://SERVER-HOSTNAME-HERE/ If you access webmail with out HTTPS, it won’t work.
![Zimbra SSL install](https://serverok.in/wp-content/uploads/2019/08/zimbra-ssl-install-280x180.png)
Install SSL Certificate on Zimbra mail server
To install SSL certificate for Zimbra Mail Server, login to server, switch to user zimbra su – zimbra Now create
![Email Marketing](https://serverok.in/wp-content/themes/understrap-child/images/default.webp)
Email Marketing
https://sendpulse.com – Free upto 500 subscribers. https://convertkit.com – Free upto 1000 subscribers. https://mailchimp.com – Free upto 2000 subscribers. https://www.gmass.co –
![DMARC](https://serverok.in/wp-content/themes/understrap-child/images/default.webp)
DMARC
DMARC is used to protect your email from email spoofing. DMARC use SPF and DKIM record to validate your email.
![Postfix disable IPv6](https://serverok.in/wp-content/themes/understrap-child/images/default.webp)
Postfix disable IPv6
To disable IPv6 on the postfix mail server, edit vi /etc/postfix/main.cf Find inet_protocols = all Replace with inet_protocols = ipv4
![Configure postfix to relay mails using Gmail](https://serverok.in/wp-content/themes/understrap-child/images/default.webp)
Configure postfix to relay mails using Gmail
Install postfix apt update apt install postfix libsasl2-modules Create file touch /etc/postfix/sasl_passwd chmod 600 /etc/postfix/sasl_passwd vi /etc/postfix/sasl_passwd Add [smtp.gmail.com]:587 [email protected]:password
![zimbra](https://serverok.in/wp-content/uploads/2019/03/zimbra-ssl-install.png)
Zimbra Unable to validate certificate chain
On installing SSL on the Zimbra mail server, i get the following error This was due to SSL cert chain.
![Postfix Delete Mails from a user](https://serverok.in/wp-content/themes/understrap-child/images/default.webp)
Postfix Delete Mails from a user
To delete emails from a particular user from postfix mail queue, run postqueue -p | grep USER_HERE | cut -d’
![imap](https://serverok.in/wp-content/themes/understrap-child/images/default.webp)
imap
Migrate IMAP emails using imapsync Migrate Emails using imapcopy PHP script to test IMAP
![Migrate Emails using imapcopy](https://serverok.in/wp-content/themes/understrap-child/images/default.webp)
Migrate Emails using imapcopy
imapcopy is a program to copy mails from one IMAP mailbox to another. I was using this for email migrations.