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 “” {
type master;How to config DNS mail server configuration in Linux
file “”;
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/
$TTL 86400
@ IN SOA (
1;serial no
10M;slave refresh
10M;slave retry interval
1W;expire interval
1D);Minimum ttl
@ IN MX 10
@ IN A
system IN A
sys4 IN A
sys44 IN A
Step 4:
add dns server entry in /etc/resolv.conf
Step 5:
start the named service and load records
#chkconfig named on
#service named start
#rndc reload
Step 6:
check the dns resolvation
#host t
Mail server Dns configuration in red hat

No comments:
Write comments