Posts

How to create auto Bcc for Recipient mails for Zimbra 8.6

Image
Introduction Managing email systems efficiently is crucial for organizations of all sizes. Zimbra , a popular email platform, provides robust features to streamline communication and enhance productivity. Among its functionalities, setting up an automatic blind carbon copy (auto Bcc) for recipient mails is a valuable tool for administrators. This feature ensures better email oversight, compliance with company policies, and seamless record-keeping. In this guide, we delve into how to create auto Bcc for recipient mails for Zimbra, exploring step-by-step instructions, practical examples, and best practices. Why Use Auto Bcc in Zimbra? Auto Bcc functionality allows email administrators to: Enhance Oversight : Automatically archive all email correspondence for transparency. Ensure Compliance : Adhere to regulatory requirements by keeping records of sent and received emails. Improve Monitoring : Monitor employee communication for quality assurance. Simplify Record-Keeping : Maintain a backu...

How to add spam filters on zimbra 8.6

Image
Introduction Spam emails are a constant nuisance, cluttering inboxes and posing security risks. Zimbra 8.6 provides robust tools to combat spam effectively. In this guide, we'll walk you through the process of adding spam filters to Zimbra 8.6, covering everything from basic setup to advanced configurations. Links to below you maybe likes: zimbra custom spamassassin rules How to create auto Bcc for Recipient mails for Zimbra 8.6 How to add spam filters on zimbra 8.6 How to create auto Bcc for sender mails for Zimbra 8.6 list accounts that has not logged in for the last x days in zimbra Setting Up Basic Spam Filters Checking Current Settings Before adding new spam filters, it’s essential to check the current spam filter settings. You can do this by logging in as the Zimbra user and running the following command: su - zimbra zmprov gacf | grep zimbraMtaRestriction Adding Spam Filters To add spam filters in Zimbra 8.6, use the zmprov command to update the zimbraMtaRestriction ...

How to create auto Bcc for sender mails for Zimbra 8.6

Image
How to auto copy of all email from bcc_huupv@mail.huuphan.local to huupv@mail.huuphan.local. Every email send from bcc_huupv@mail.huuphan.local to email another, then automation bcc to huupv@mail.huuphan.local. How to create auto Bcc for Recipient mails for Zimbra 8.6 To check "Sender BCC Maps" sender_bcc_maps on your zimbra 8.6 $ postconf | egrep "sender_bcc_maps" The output as below sender_bcc_maps = To configure sender bbc maps on zimbra 8.6 # su - zimbra $ cd /opt/zimbra/postfix/conf/ To create sender_bcc $ vim sender_bcc Input the content as below bcc_huupv@mail.huuphan.local huupv@mail.huuphan.local To add sender_bcc_maps in main.cf file $ vim /opt/zimbra/postfix/conf/main.cf To add the following line in below sender_bcc_maps = lmdb:/opt/zimbra/postfix/conf/sender_bcc To apply configure sender_bcc_maps $ postmap /opt/zimbra/postfix/conf/sender_bcc To restart the zimbra postfix $ postfix reload To check "Sender BCC Maps" sender_bc...

zimbra duplicate emails issue Resolving

Introduction Duplicate emails in Zimbra can be a frustrating problem for both administrators and users. When emails with the same Message-ID are not properly handled, they can appear multiple times in the inbox, causing confusion and unnecessary clutter. This guide will walk you through the steps to identify and resolve this issue by enabling and configuring the zimbraMessageIdDedupeCacheSize attribute in your Zimbra server. Understanding Duplicate Email Issues in Zimbra What Causes Duplicate Emails in Zimbra? Zimbra, by default, does not enable the zimbraMessageIdDedupeCacheSize attribute. This attribute is designed to help the server eliminate duplicate emails based on their Message-ID. Without this feature enabled, Zimbra will not check for duplicate Message-IDs, leading to multiple copies of the same email landing in the inbox. This can significantly affect user experience, particularly in environments where email volume is high. How Does the zimbraMessageIdDedupeCacheSize Attri...

zimbra DKIM (DomainKeys identified Mail)

Image
zimbra DKIM (Domainkeys identified Mail) include: Private-key insert header of email sending mail server. Public-key updated into DNS public. Links to below you maybe likes: zimbra custom spamassassin rules How to create auto Bcc for Recipient mails for Zimbra 8.6 How to add spam filters on zimbra 8.6 How to create auto Bcc for sender mails for Zimbra 8.6 list accounts that has not logged in for the last x days in zimbra Step 1: To configure zimbra DKIM To add DKIM data into domain not existing DKIM /opt/zimbra/libexec/zmdkimkeyutil -a -d huuphan.com The output as bellow DKIM Data added to LDAP for domain huuphan.com with selector 0E9F133A-9577-11E1-AD0E-2A2FBBAC6BCB  Public key to enter into DNS:  0E9F133A-9577-11E1-AD0E-2A2FBBAC6BCB._domainkey IN TXT "v=DKIM1;=rsa;  p=MIGfMA0GCXXXSSFWwfdfdfEEAA4GNADCBiQKBgQDY5CBg15nZ2vYnRmrNub6Jn6ghQ2DXQbQgOJ/E5IGziUYEuE2OnxkBm1h3jived21uHjpNy0naOZjLj0xLyyjclVy1chrhSbsGAhe8HLXUsdXyfRvNTq8NWLsUnMEsoomtJCJ  /4...

Mastering Zimbra: How to Use zmprov command create account attributes in zimbra

Image
Introduction Learn how to use the zmprov command in Zimbra to create new email accounts efficiently. This guide simplifies the process for administrators, ensuring smooth and effective email management for your business. In today's corporate environment, managing an email system effectively is crucial for smooth and efficient communication. Zimbra, one of the popular email and collaboration platforms, offers a variety of powerful tools for managing and maintaining an email system. This article focuses on the zmprov command in Zimbra, particularly how to use this command to create new email accounts. By mastering these commands, administrators can optimize the management process and improve the performance of the company's email system. How to zmprov command create account attributes in zimbra. zmprov command creating accounts, aliases, domain, cos, distribute lists and calendar resources. Links to below you maybe likes: zimbra custom spamassassin rules How to create auto Bcc...

Creating Menu Lists using Bash script while loop case statement example

Image
Introduction Creating interactive menus in Bash scripts can be a fun and useful way to automate tasks and provide a user-friendly interface. In this guide, we will create a simple menu using a while loop and case statement. The menu will allow users to perform various actions such as displaying a blog URL, entering a name, age, and hobbies, or quitting the script. We'll also use color to enhance the menu display. Prerequisites To run the Bash script, ensure you have a Unix-like system with Bash installed. You can run the script from the terminal. Bash Script with While Loop and Case Statement The display color for echo command Red color RED='\033[0;31m'   Blue color BLUE='\033[0;34m' No color NC='\033[0m' Read from standard input and write to standard output and files tee -a /tmp/log__$DATE  To run bash script [huupv@huupv ~]$ ./menu_list  The display as below:  Menu Lists  1) My blog  2) Your name  3) How old are you? ...

zimbra ldap reset last login time

Image
How to change last login time for all accounts in zimbra ldap. I'm running scripts on zimbra ldap with zimbra account. To use zimbra  8.6 The explain scripts zimbra ldap reset last login time File /tmp/email the contain accounts email, you want change last login time. cat /tmp/email The output as bellow huupv01@mail.huuphan.com huupv02@mail.huuphan.com when you running script, then zimbraLastLogonTimestamp change the last login the current date DATE=$(date +%Y%m%d) The output as bellow 20170726 For example huupv01@mail.huuphan.com with zimbraLastLogonTimestamp : 20170511135742.260Z to changed zimbraLastLogonTimestamp : 20170726000000.000Z My scripts zimbra ldap reset last login time #!/bin/bash #HuuPV rm -f /tmp/account_DN DATE=$(date +%Y%m%d) LDAP_HOST=$(/opt/zimbra/bin/zmlocalconfig ldap_host | cut -d\ '' -f3) LDAP_PASSWORD=$(/opt/zimbra/bin/zmlocalconfig -s zimbra_ldap_password | cut -d\ '' -f3) LDAP_USERDN=$(/opt/zimbra/bin/zmlocalcon...

CentOS/RHEL Use yum Command To Downgrade Upgrade or Rollback Updates

Use yum Command To Downgrade Upgrade or Rollback Update. How to downgrade the package? How to upgrade the package? How to rollback update the package?. I'm running commands with root account. You may reading link below : How to reset root password on centos 7 Generate and Verify Files with MD5 Checksum in Linux use inotify-tools on centos awk useful commands examples How to  Downgrade Upgrade package use yum command The basic syntax Downgrade package yum downgrade package1 yum downgrade package1 package2 showing multiple versions of a package yum --showduplicates list package For example How to Downgrade php-fpm 7.0.21 roll-back php-fpm 5.3.3 yum downgrade php-fpm The output as bellow Resolving Dependencies --> Running transaction check ---> Package php-fpm.x86_64 0:7.0.20-1.el6.remi will be a downgrade --> Processing Dependency: php-common(x86-64) = 7.0.20-1.el6.remi for package: php-fpm-7.0.20-1.el6.remi.x86_64 ---> Package php-fpm.x86_64 0:7.0...

How To Install Wordpress with nginx on CentOS 6

Image
How To Install Wordpress with nginx on CentOS 6. In this posts, the tutorial to install and configure mysql, wordpress and nginx on centos 6 step by step. I'm running account huupv as "root" privilege . Links to below you maybe likes: How to install php7 on centos 6 How to install and configure redmine on centos 6 How to owncloud 9 install ssl certificate centos 7 How To Install the BIND DNS Server on CentOS 6 KeepAlived IP Failover on CentOS & Red Hat To release version on your server cat /etc/redhat-release The output as bellow CentOS release 6.9 (Final) To update server sudo yum update To install epel-release sudo yum install epel-release To install nginx sudo yum install nginx sudo /etc/init.d/nginx start sudo yum install php-fpm php-mysql php-gd To install and configure mysql sudo yum install mysql-server sudo /etc/init.d/mysqld restart sudo /usr/bin/mysql_secure_installation To add user and database for WP_HuuPV on Mysql mysql -u root -p...