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
     
fadyzAsked:
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.

ppfoongCommented:

Sendmail configuration:

http://www.sendmail.org/m4/readme.html

0

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
paullamhkgCommented:
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
0
kiitiiCommented:
Continue from paullamhkg's comment....

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

You will notice
0.0.0.0:25 ............. sendmail
Good!
Next,

# vi /etc/mail/local-host-names
myexample.com
smtp.myexample.com

# vi /etc/mail/access
192.168.0.0    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)

Next,
# chkconfig  imap  on
# chkconfig  pop3  on

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

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


0
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.

kiitiiCommented:
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
0
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..

0
kiitiiCommented:
Mind post the error message?
0
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.