Google Answers Logo
View Question
 
Q: Sendmail on Linux ( No Answer,   1 Comment )
Question  
Subject: Sendmail on Linux
Category: Computers > Operating Systems
Asked by: johngl-ga
List Price: $5.00
Posted: 16 Oct 2004 18:17 PDT
Expires: 15 Nov 2004 17:17 PST
Question ID: 415888
I have a Linux box running sendmail.  Is there a way to disable the
SMTP (sending mail) service and only allow POP3 service?  Thank you
for your time.  Have a great one.

Request for Question Clarification by leapinglizard-ga on 16 Oct 2004 18:39 PDT
You only need to run sendmail if you want your machine to act as an
email server for remote users. Otherwise, feel free to shut it down.
The sendmail daemon is usually managed by chkconfig, so if you execute

  chkconfig --list sendmail

you'll see something like this.

  sendmail        0:off   1:off   2:on    3:on    4:on    5:on    6:off

You can then turn off sendmail altogether by executing the following as root.

  chkconfig sendmail off

You should still be able to retrieve your email from a remote server
using your usual pop3-enable email client.

Does that answer your question?

leapinglizard

Clarification of Question by johngl-ga on 16 Oct 2004 19:25 PDT
I use the box as our e-mail server.  Does one of these params shut of
the sending of e-mail?

sendmail        0:off   1:off   2:on    3:on    4:on    5:on    6:off

I want to be able to receive e-mail from the outside I just don't want
anyone to be able to send mail.  Thank you for your time.

Request for Question Clarification by leapinglizard-ga on 16 Oct 2004 19:50 PDT
No one will be able to use your Linux box as an email server if you
shut off sendmail. However, you will still be able to use your
personal email client to access a remote mailbox via pop3.

Perhaps you should conduct an experiment by executing

  chkconfig sendmail off

as root, then trying to use your email client as usual. If it still
works, then you have achieved the desired state of affairs.

Do let me know what happens if you carry out the experiment. Remember,
root mode is dangerous and you should only use it to execute harmless
commands such as the above. Exit root mode as soon as you're done
issuing the instruction.

leapinglizard
Answer  
There is no answer at this time.

Comments  
Subject: Re: Sendmail on Linux
From: glorioso_juanito-ga on 19 Oct 2004 16:33 PDT
 
No, you cant uninstall sendmail, you will be blocking the incoming
mail to your domain from the outide, if you dont want your
localclients to sendmail to other domains you can do one of the
following...

a) Remove your local ips from relay-domains file to deny relay from
your local clients..

or 

b) add a rule to block connections to your port 25 from your local networks

If you want more details lemme know... 

Hope it works... :)

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy