Posts

Zimbra 8.6 restrict to user sending mail to certain domain

Image
How to restrict to user sending mail to certain domain. To configure on zimbra mta. Step 1: To add lines in file /opt/zimbra/conf/zmconfigd/smtpd_sender_restrictions.cf as bellow: #vi /opt/zimbra/conf/zmconfigd/smtpd_sender_restrictions.cf Adding lines the top as following: check_sender_access lmdb:/opt/zimbra/postfix/conf/restricted_senders Step 2: To add lines in file /opt/zimbra/conf/zmconfigd.cf vim /opt/zimbra/conf/zmconfigd.cf Adding the lines following before RESTART mta. POSTCONF smtpd_restriction_classes local_only     POSTCONF local_only FILE postfix_check_recipient_access.cf     RESTART mta Step 3: To create file "/opt/zimbra/conf/postfix_check_recipient_access.cf" vi /opt/zimbra/conf/postfix_check_recipient_access.cf Adding the lines following: check_recipient_access lmdb:/opt/zimbra/postfix/conf/local_domains, reject Step 4: To create file "/opt/zimbra/postfix/conf/restricted_senders" and list all user whom you restrict. vi

How To Install the BIND DNS Server on CentOS 6

Image
In my post, I demonstrate how to install and configure the BIND DNS server. I execute the following commands as the root account. Links to articles you may like: 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 prepare package for BIND DNS server. yum update -y yum install bind bind-utils -y yum -y install perl perl-core wget openssh-clients openssh-server unzip nmap sysstat rsync telnet ntp ntpdate asia.pool.ntp.org service ntpd start chkconfig ntpd on To configure the static IP address: # vim /etc/sysconfig/network-scripts/ifcfg-eth1 The content is as follows: DEVICE=eth1 TYPE=Ethernet ONBOOT=yes NM_CONTROLLED=no BOOTPROTO=static IPADDR=192.168.131.10 NETMASK=255.255.255.0 GATEWAY=192.168.131.2 DNS=192.168.131.10 DNS1=8.8.8.8 DNS2=8.8.4.4 USERCTL=no PEERDNS=no To configure hosts file. vi

iptables examples

How to allow or denied on iptables firewall on centos. To configure iptables static file on centos.  You may reading link as below: Iptables how to How to reset password on centos 7 Bash script example *filter :INPUT ACCEPT [0:0] :FORWARD ACCEPT [0:0] :OUTPUT ACCEPT [0:0] -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT -A INPUT -p icmp -j ACCEPT -A INPUT -i lo -j ACCEPT -A INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT #### Mail port ### -A INPUT -m state --state NEW -m tcp -p tcp --dport 25 -j ACCEPT -A INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT -A INPUT -m state --state NEW -m tcp -p tcp --dport 110 -j ACCEPT -A INPUT -m state --state NEW -m tcp -p tcp --dport 143 -j ACCEPT -A INPUT -m state --state NEW -m tcp -p tcp --dport 389 -j ACCEPT -s 10.10.9.0/24 -A INPUT -m state --state NEW -m tcp -p tcp --dport 443 -j ACCEPT -A INPUT -m state --state NEW -m tcp -p tcp --dport 465 -j ACCEPT -A INPUT -m state --state NEW -

How to install and configure zimbra multi server

Image
In small system, to install zimbra All-in-one in single server mail .In medium and large system zimbra mail server, to install and configure multi server (the more ldap, mta , mailbox install in server separate). in this my post, the tutorial install and configure zimbra multi server and   use demo zimbra 8.6  Let's go! My Lab: Zimbra ldap Hostname: ldap.huuphan.local ip address: 192.168.131.11 Zimbra MTA Hostname: mta.huuphan.local ip address: 192.168.131.12 Zimbra Mailbox Hostname: mailbox.huuphan.local ip address: 192.168.131.13 Zimbra Proxy Hostname: proxy.huuphan.local ip address: 192.168.131.14 The requirement zimbra mail server *The DNS  mx records point to zimbra mail server to recive mail from internet. A records to resolve hostnames. *Firewall allow to ports of zimbra or disable firewall the example use to iptable. *Note: In this my post, using dns bind the external server for zimbra mail server.  How To Install the BIND DNS Ser

zimbra some services are not running [Solve problem]

Image
How to solved zimbra some services are not running. That after, to installed zimbra mail server. The display a some admin console status red in environment multiple server ( zimbra ldap, zimbra mailbox, zimbra mta etc.). Link to below you maybe likes: How to install and configure zimbra multi server.   How to restrict to user sending mail on zimbra 8.6. How to Restrict Sending to Distribution list in zimbra mail. How to change last login time for all accounts in zimbra ldap. How to zimbra reject authenticated sender login mismatch. Error zimbra some services are not running as bellow Step by step guide the solve problem zimbra some services are not running the following: To restart and enable cron service the permanently. service crond restart chkconfig crond on Opening rsyslog.conf file and uncomment the following. vim /etc/rsyslog.conf Uncomment these two lines $modload imupd $UDPServerRun514   To restart and enable rsyslog service the permanently. servic