How To Configure Mail Server In Redhat Linux Rhel-4&5

In This Tutorial We Are Going To Learn How To Configure Mail Server In Linux But Before Configuring Mail server You Must Have configured Yum Server In Linux

 

Now How To Configure Mail Server

 

Here Is The Coding Of Configuring Mail Server

#yum install http* -y {For Installing http Package}
#yum install httpd* -y
#yum install sendmail* procmail* mutt* m4* make* -y {For Installing Sendmail Procmail Mutt m4 And Make Package}
#vim /etc//mail {To Go Inside The Mail Folder}
#vim sendmail.mc {After Running This Command Then go To The Line No.116 And The Starting The line Type dnl #}
#m4 sendmail.mc > sendmail.cf
#service sendmail restart {For Restarting The service Of sendmail Server}
#yum install dovecot* -y
#vim/etc/dovecot.conf {After Running This Command Then go To The Line No.20 And Erase Imaps And Pop3s}
#service dovecot restart {For Restarting The service Of Dovecot Server}
#service httpd restart {For Restarting The service Of httpd Server}
#yum install squrrerilmail* -y {For Installing Squrrerilmail Package}
#service sendmail restart {For Restarting The service Of sendmail Server}
#service dovecot restart {For Restarting The service Of Dovecot Server}
#service httpd restart {For Restarting The service Of http Server}
#iptables -F {To Turn Off The Firewall Of Linux}
#setenforce 0

Now We Have To Create User

Now How To Create User

#useradd linux
#passwd linux
{Now Create Password}

#Useradd ccna
#passwd ccna
{Now Create Password}

Now Go To The Chrome Browser And Then In search Engyne Insert The Ip Address Of The Linux The Type \webmail

192.168.56.101\webmail

Now Login with Any One User And Then Mail To Another User

This Is All How We Configured Mail Server In Linux

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s