LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   setup email server - Red Hat Enterprise Linux AS release 4 (Nahant Update 8) (http://www.linuxquestions.org/questions/linux-newbie-8/setup-email-server-red-hat-enterprise-linux-as-release-4-nahant-update-8-a-834668/)

yentha.valla 09-27-2010 12:29 AM

setup email server - Red Hat Enterprise Linux AS release 4 (Nahant Update 8)
 
HI All,

Am very new to Linux.


Am on
cat /etc/redhat-release
Red Hat Enterprise Linux AS release 4 (Nahant Update 8)

I need to setup email server ...

1. cd /etc/mail


total 412
0 -rw-r--r-- 1 root root 0 Apr 15 2008 virtusertable
4 -rw-r--r-- 1 root root 127 Apr 15 2008 trusted-users
4 -rw-r--r-- 1 root root 952 Apr 15 2008 submit.mc
44 -r--r--r-- 1 root root 41434 Apr 15 2008 submit.cf
64 -rw-r--r-- 1 root root 58165 Apr 15 2008 sendmail.cf.rpmnew
4 -rw-r--r-- 1 root root 64 Apr 15 2008 local-host-names
8 -rw-r--r-- 1 root root 5588 Apr 15 2008 helpfile
4 -rw-r--r-- 1 root root 1035 Apr 15 2008 Makefile
0 -rw-r--r-- 1 root root 0 Apr 15 2008 mailertable
0 -rw-r--r-- 1 root root 0 Apr 15 2008 domaintable
4 -rw-r--r-- 1 root root 331 Apr 15 2008 access
44 -r--r--r-- 1 root root 41434 Jun 25 2009 submit2.cf
44 -rw-r--r-- 1 root root 41434 Jun 25 2009 submit1.cf
64 -rw-r--r-- 1 root root 58124 Jun 26 2009 sendmail.cf.bak
8 -rw-r--r-- 1 root root 6796 Jun 27 2009 sendmail.mc
64 -rw-r--r-- 1 root root 58124 Aug 26 2009 sendmail.cf
12 -rw-r----- 1 root root 12288 Aug 26 2009 virtusertable.db
12 -rw-r----- 1 root root 12288 Aug 26 2009 mailertable.db
12 -rw-r----- 1 root root 12288 Aug 26 2009 domaintable.db
16 -rw-r----- 1 root root 12288 Aug 26 2009 access.db


2. Varifying IP

more /etc/sysconfig/network-scripts/ifcfg-eth0

BOOTPROTO=none
BROADCAST=172.16.10.255
HWADDR=00:23:7D:F3:C5:2A
IPADDR=172.16.10.6
NETMASK=255.255.255.0
NETWORK=172.16.10.0
ONBOOT=yes
TYPE=Ethernet
USERCTL=no
IPV6INIT=no
PEERDNS=yes
GATEWAY=172.16.10.253


3. DNS was installed successfully

more /etc/rc.d/init.d/named


4. Configuring DNS / BIND


vi /etc/named.conf

// Default named.conf generated by install of bind-9.2.4-16.EL4
options {
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
};
include "/etc/rndc.key";


So plz help me to setup mail server.

Thanks

Valla

prayag_pjs 09-27-2010 12:38 AM

Hey

This link will get you setup mail server

follow it,let us know when done and mark it solved if you got the solution.
http://www.linuxmail.info/mail-server-setup-centos-5/

http://www.linuxmail.info/install-se...vecot-centos-5


All times are GMT -5. The time now is 07:21 AM.