How to configure Sendmail in Redhat Enterprise 3

Dear all;

        I'm looking to configure sendmail on redhat enterprise 3, I hope you provide step by step configuration regards this, i knew the application is installed, i need explication regards all configuration files of sendmail which help us to understand it well and be able to manage it,

                   Thanks alot
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.


Sendmail configuration:


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Configuring Sendmail

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

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

Change this line to:

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

Save the file.

2). Make the sendmail configuration file:
$> m4 /etc/mail/ > /etc/

3).Restart Sendmail:
$> /etc/rc.d/init.d/sendmail restart
Continue from paullamhkg's comment....

You've just enable port 25 for universal access, to test:-
# netstat -ntlp

You will notice ............. sendmail

# vi /etc/mail/local-host-names

# vi /etc/mail/access    RELAY

First file "local-host-names" is to tell sendmail, which domain you are accepting.
2nd file "access" is to tell sendmail, which computers in your network are allowed to use this smtp server (sendmail box) to relay email for them (client need to change their outgoing smtp ip address to this sendmail box)

# service sendmail  restart

Once, you've done with SMTP, now IMAP and POP3.
# redhat-config-packages     <--- use GUI also can, to add/remove programs
(Mail Group)
(IMAP server)

# chkconfig  imap  on
# chkconfig  pop3  on

To test,
# telnet  localhost  110       <------this is for POP3
# telnet  localhost 143       <-----this is for IMAP4
0000 logout

Then try with your client's outlook, or outlook express

Cloud Class® Course: CompTIA Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

Of coz, don't forget to create some users for testing

# useradd  linuxrocks
# passwd  linuxrocks
****key in your password here, twice*****

Users by default will automatically have POP3 and IMAP access
fadyzAuthor Commented:
i worked till i got an error when i tried to telnet the POP3 , i got an error that the file not found..

Mind post the error message?
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Networking

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.