how to configure sendmail server on red hat linux version 4
and what and all we Require?

Answers were Sorted based on User's Feedback



how to configure sendmail server on red hat linux version 4 and what and all we Require?..

Answer / amsin21

Sendmail should be installed by default when you install Red
Hat Linux. If it is not then you need to install the
Sendmail RPM's with the Red Hat distribution.

Configuring Sendmail
--------------------

1) Edit file "/etc/mail/sendmail.mc" - Look for the line:

DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')

Change this line to:

dnl DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')

Save the file.

2)Make the sendmail configuration file:

# m4 /etc/mail/sendmail.mc > /etc/sendmail.cf

3)Restart Sendmail:

# /etc/rc.d/init.d/sendmail restart

Is This Answer Correct ?    28 Yes 4 No

how to configure sendmail server on red hat linux version 4 and what and all we Require?..

Answer / balvinder singh rawat

to add to the above answer

install sendmail-cf rpm

after installing it

just run service sendmail restart after any changes to
sendmail.mc

Is This Answer Correct ?    9 Yes 10 No

how to configure sendmail server on red hat linux version 4 and what and all we Require?..

Answer / manoj

above answer is true but one last step is missing
#sendmail -d0 < /dev/null
#service sendmail restart
#chkconfig sendmail on

Is This Answer Correct ?    2 Yes 5 No

Post New Answer

More Linux System Calls Interview Questions

what are different ways the context switch happens from user to kernel space or vice-versa ?

0 Answers   Alcatel,


if root user forget the password how to change it?

4 Answers   Wipro,


what kind of information the linux driver modules (.ko ) files has ?

2 Answers   NetApp,


how to create a ftp user on redhat linux 4.0?

6 Answers   Accenture,


what is nis server

13 Answers  






how to create samba server in fedora linux 9 ?

2 Answers   Accenture,


what is stored at /lib/modules ?

2 Answers   NetApp,


What do fork() internally call?

3 Answers  


what is the diff b/w MUTEX and semaphore?

12 Answers   Sony, TCS,


what is segmentation fault?

11 Answers   AdTel, NetApp,


what is the difference between user APIs and kernel system calls ?

1 Answers   NetApp,


what are Softirq's and how many major numbers be allocated in the linux kernel(2.4) ?

1 Answers  


Categories