Configure send mail server

How to configure send mail server on red hat Linux version 4 and what and all we need?

E

Expert

Verified

Sendmail must be installed by default when you install Red Hat Linux. If it is not then you required to install the Sendmail RPM's along 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')

Alter this line to:

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

Save the file.

2) Create the sendmail configuration file:

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

3) Restart Sendmail:

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

   Related Questions in Science

©TutorsGlobe All rights reserved 2022-2023.