ALLInterview.com :: Home Page            
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Google
   
 
Categories >> Software >> Operating Systems >> Linux >> Linux System Calls
 
 


 

 
 Linux Commands interview questions  Linux Commands Interview Questions (197)
 Linux Threads interview questions  Linux Threads Interview Questions (12)
 Linux IPC interview questions  Linux IPC Interview Questions (14)
 Linux Socket Programming interview questions  Linux Socket Programming Interview Questions (5)
 Linux System Calls interview questions  Linux System Calls Interview Questions (43)
 Linux General interview questions  Linux General Interview Questions (74)
 Linux AllOther interview questions  Linux AllOther Interview Questions (106)
Question
how to configure sendmail server on red hat linux version 4
and what and all we Require?
 Question Submitted By :: Linux-System-Calls
I also faced this Question!!     Answer Posted By  
 
Answer
# 1
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
Amsin21
 
Answer
# 2
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
Balvinder Singh Rawat
 
 
 
Answer
# 3
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
Manoj
 

 
 
 
Other Linux System Calls Interview Questions
 
  Question Asked @ Answers
 
What will happen when we invoke a system call and say with an example of invoking a system call ?read? for a device? NetApp 3
what is the diff b/w MUTEX and semaphore? Sony 12
what kind of information the linux driver modules (.ko ) files has ? NetApp 2
what happens when we do insmod & rmmod in Linux Device Drivers ?   2
What do fork() internally call?   3
what are the different ways the Linux can swich from User Space to Kernel Space & vice-versa ? NetApp 2
What is atomic function / atomic variable ? Broadcom 1
what is mean by raid and what are all raids available even in software and hardware? Satyam 5
why the kernel panic error was appering? Allianz 13
what is the difference between user APIs and kernel system calls ? NetApp 1
What is the use of proc structure? NetApp 2
what is segmentation fault? NetApp 11
 
For more Linux System Calls Interview Questions Click Here 
 
 
 
 
 


   
Copyright Policy  |  Terms of Service  |  Articles  |  Site Map  |  RSS Site Map  |  Contact Us
   
Copyright 2013  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  KalAajKal.com