Pages

Monday, August 1, 2016

Zimbra Tips and Tricks

Zimbra has became a very popular email server solution now-a-days. It has some amazing features for which an administrator cannot avoid it.

When a mail server works in a production environment it needs some tuning to serve its clients in a flawless manner. Here are some of them. The below commands fully functional with Zimbra 8.6 Version.



To check mail queue:
Option 1:
Login to Web Administration >> Monitor >> Mail Queue

Option 2:
Login to Shell >> su zimbra >> mailq


Remove all mails from mail queue:
Login to Shell >> /opt/zimbra/postfix/sbin/postsuper -d ALL


Clear / Remove all mails from a user's mailbox:
Login to Shell >> su zimbra >> zmmailbox -z -m user@yourdomain.com emptyFolder /Inbox


Set external relay MTA(Entire emails):
Login to Shell >> su zimbra >>zmprov ms mail.yourdomain.com zimbraMtaRelayHost mail.external.com:25 >> zmcontrol restart


Remove external relay MTA:
Login to Shell >> su zimbra >> zmprov mcf zimbraMtaRelayHost "" >> >> zmcontrol restart





Tuesday, June 21, 2016

Zimbra Open Source Edition Logo Change

Zimbra is being very popular in these days. Usually we use Zimbra Open Source Edition for single server deployment. Most of the administrators want to set their company Logo in Webmail interface. Today I will show how to set Logo in Zimbra Webmail.

Basically Zimbra has various themes for Webmail. Here I will describe about default theme only. The Logo size is:

300x48 pixels
200x28 pixels


Step 1: Resize your Logo as above mentioned size and save them in PNG format.

Step 2: Upload your Logos at Zimbra Server using WINSCP / any other software.

Step 3: Rename the Logos as below.

LoginBanner_white.png
AppBanner_white.png

Step 4:
>> Go to /opt/zimbra/jetty-distribution-9.1.5.v20140505/webapps/zimbra/skins/_base/logos directory.
>> Copy existing Logos to a safer place or rename them for backup.
>> Copy your uploaded Logos in this directory.

Step 5: Change the ownership of those Logo images by below command.

#chown zimbra:zimbra LoginBanner_white.png
#chown zimbra:zimbra AppBanner_white.png

All done. Now refresh your webmail page and login with a user. You will see the difference.



Sunday, June 19, 2016

Zimbra Distribution-list Restriciton

Generally we need to use distribution lists for our regular email communication. Our management may circulate any message to all stuffs which we can fulfill by configuring a distribution list in a mail server. But the problem is when a user replies on a mail received via distribution list it has been delivered to all the members of that distribution list which is not expected.

To stop the users sending emails to a distribution list or restrict it to specific person we have to configure the restriction which is given below.

Step 1: Enable Milter Server from Zimbra Administration Console.
Path: Zimbra Admin Console >> Configure >> Global Settings >> MTA








Step 2: Set a owner of the distribution list you want to set the restriction.
Path: Zimbra Admin >> Manage >> Distribution List >> Select Distribution List >> Owner






Step 3: Login the web console of the owner and set the restriction as required.
Path: Owner web console >> Contacts >> Distribution List >> Right click the targeted list and Click Edit distribution list >> Distribution list Properties.






Set your required restriction and save it.