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
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 |
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 |
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 |
What is atomic function / atomic variable ?
what are different ways the context switch happens from user to kernel space or vice-versa ?
What is the Diffrent between Redhat linux And suse linux
1.Diff between Active and passive FTP? 2.What is anacron? 3.Diff between yum update and yum install while doing for kernel? 4.root_squash and no_root_squash does what? 5.What are the commands will you execute to find a new hardware? 6.How will you find out a lun allocated from SAN? 7.What is the main diff in CaT5 and CAT6 cable, except the 1/100 and 1/1000? 8.What is stale NFS and How will you fix it? 9.What is kernel panic error? 10.How will you recover password and shadow file, in case both got deleted. Explain the steps? 11.Explain boot process 12.What is network bonding. Explain the steps? 13.What are the exit codes returned by FSCK? 14.What is LDOM? 15.Diff between block and character device?
What are system calls used for process management in linux?
1. Where the History file can be located? 2. How will you harden the server? 3. Diff between Raid 1 and Raid 5? 4. What is the largest disk size can be used in LVM? 5. How will you remove a PV from lvm without any data loss? 6. What is the diff between ext3 and ext2 File system? 7. How we can use resize2fs, what is the purpose? 8. What is the purpose of LVM? Why it is used? 9. If the FS is in read-only mode, so we cannot create any file. How will you fix it? 10. How to create swap partition after OS installation? 11. What is the diff between ssh and telnet? 12. How to find out the dependency required for a package?
what is segmentation fault?
what is bus trap.
How to give the root permision to users?
what is mean by raid and what are all raids available even in software and hardware?
what is stored at /lib/modules ?
How to get microseconds of system time from Redhat Linux 4.0