Posts

Showing posts from May, 2017

How to setting password policies in Zimbra

Introduction Setting strong password policies in Zimbra is essential for enhancing the security of your email system. By enforcing robust password requirements, you can protect user accounts from unauthorized access and potential security breaches. In this article, we will guide you through the process of configuring password policies in Zimbra, helping you to implement best practices for password security and safeguard your organization's email communications. How to setting password policies in zimbra? To help your system increase security, password strongest. Setting password policies in Zimbra To get all COS use zmprov command su - zimbra zmprov gac -v | grep Password | sort | uniq To display all attributes as below zimbraFeatureChangePasswordEnabled: TRUE zimbraMobilePolicyAllowSimpleDevicePassword: FALSE zimbraMobilePolicyAlphanumericDevicePasswordRequired: FALSE zimbraMobilePolicyDevicePasswordEnabled: TRUE zimbraMobilePolicyDevicePasswordExpiration: 0 zimbraMobile...

How to backup and restore for zimbra mailbox

Introduction Backing up and restoring your Zimbra email system is essential for ensuring data security and continuity. Regular backups protect your organization from data loss due to hardware failures, software issues, or other unforeseen events. In this article, we will guide you through the process of backing up and restoring Zimbra, providing you with the necessary steps to safeguard your email data and ensure seamless recovery when needed. In this tutorial, How to " Backup and restore for zimbra mailbox ". How to backup mailbox for accounts? How to restore mailbox for accounts? Backup and restore for zimbra mailbox The format list_account file as below: huupv1@huuphan.com huupv2@huuphan.com The script backup mailbox for all accounts #!/bin/bash FILE= /tmp/list_account DATE=$(date +"%a") ZMBOX=/opt/zimbra/bin/zmmailbox while read account do      echo "---Generating files from backup $account ---"      $ZMBOX -z -m $account -t...

A Comprehensive Guide to use inotify-tools on centos

inotifywait - wait for changes to files using inotify. When it comes to real-time monitoring of file system events, inotify-tools is an indispensable tool. Especially for CentOS users, mastering inotify-tools can significantly enhance the efficiency of system administration tasks. This guide will walk you through everything you need to know about using inotify-tools on CentOS, from installation to advanced configurations, ensuring that you can leverage its full potential. Introduction to inotify-tools Inotify-tools is a command-line utility that leverages the inotify (inode notify) feature of the Linux kernel, allowing you to monitor file system events. This is incredibly useful for tasks that require real-time responses to file changes, such as automatic backups, log monitoring, and dynamic content updates. Why Use inotify-tools on CentOS? CentOS is widely used in enterprise environments due to its stability and robust performance. By integrating inotify-tools, you can automate and...

How to enable swap-drive on linux: A Step-by-Step Guide

Image
Introduction Learn how to enable swap drive on Linux with this comprehensive guide. We cover everything from checking swap status to making it permanent in your system. Follow these simple steps to fix common issues like "Swap Not Working" on CentOS and Fedora. In Linux, swap space is an essential component that helps your system manage memory more efficiently. When your system runs out of physical RAM, it uses swap space as virtual memory. This is especially crucial when dealing with memory-intensive applications or when your system is running low on RAM. However, issues like "Swap Not Working" can occur, particularly on distributions such as CentOS and Fedora 25. In this guide, we'll walk you through the process of enabling and managing swap space on your Linux system, ensuring that it's set up correctly and permanently. What is Swap Space in Linux? Swap space in Linux is a designated area on your hard drive that the operating system uses as virtual memor...

zimbra 8.6 cbpolicyd : A Practical Example

Introduction The cbpolicyd service in Zimbra is a powerful policy daemon that helps administrators control email traffic, implement rate limiting, and prevent spam. By setting up cbpolicyd with customized policies, you can enhance the security and efficiency of your email system. In this article, we will provide an example configuration for cbpolicyd in Zimbra 8.6, guiding you through the process to help you optimize your email server's performance and security. Links to below you maybe likes: How to zimbra enforce spf checking for incomming email zimbra 8.6 cbpolicyd How to use cbpolicyd to configure 120 message from sender in last 30s. in order configure in zimbra cbpolicyd policies -->policy_members -->quotas -->quotas_limits To create zimbra-example.sql file BEGIN TRANSACTION; INSERT INTO "policies" (ID,Name,Priority,Description) VALUES(6,'Example CBPolicyd Policies', 0, 'Example CBPolicyd Policies'); INSERT INTO "policy_me...