Configure SMTP service in linux 5.2

Hi All,

How to configure SMTP service in linux 5.2?

Please provide me the steps.

Thanks
Jack

what is linux 5.2? have you googled for informations?

I believe he/she erroneously thinks that "Linux" is Red Hat Enterprise Linux or RHEL. A lot of people think Red Hat owns Linux, for some reason.

Hi All,

Its RHEL 5.2 version.I want to configure SMTP service.Please help me.

Thanks
Jack

Do you just want this server to send mail out? If so:

in /etc/mail/sendmail.mc:

find this line:

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

put a dnl in front of it and restart sendmail

to test run this echo "this is a test" |mail -s "test" <emailaddress>

Or do you want it to serve as a SMTP server for multiple systems?

Hi,

Thanks alot for the reply.

SMTP service has been configured to send mails.Tested and working fine .I am able to send mails as root user.Do I need to give any previlage to another user other than root like called applmgr to send test mails.
applmgr user is not able to send test mails through SMTP.

Thanks
Jack