if you are interested to contribute your LAB PROGRAM Please send mail to jkumaron@gmail.com

How to config mail server in Rhel5 | configuration Mail server

Server side Mail configuration
Step 1:
install and configure dns
#yum install bind bindchroot
Step 2: Red hat Linux configuration in rhel5
create dns configuration file in /var/named/chroot
#vim /var/named/chroot/etc/named.conf
options {
directory “/var/named”;
zone “rhel5.com” {
type master;How to config DNS mail server configuration in Linux
file “rhel5.com.db”;
Step 3:
create zone forward lookup zone file under /var/named/chroot and add
MX record in this zone
#vim /var/named/chroot/var/named/leena.com.db
$TTL 86400
@ IN SOA system.rhel5.com. root@system5.rhel5.com. (
1;serial no
10M;slave refresh
10M;slave retry interval
1W;expire interval
1D);Minimum ttl
@ IN NS system.rhel5.com.
@ IN MX 10 system.rhel5.com
@ IN A
system IN A
sys4 IN A
sys44 IN A
Step 4:
add dns server entry in /etc/resolv.conf
search rhel5.com
Step 5:
start the named service and load records
#chkconfig named on
#service named start
#rndc reload
Step 6:
check the dns resolvation
#nslookup rhel5.com
#host t
MX rhel5.com
Mail server Dns configuration in red hat

Related post