Find the answer to your Linux question:
Results 1 to 4 of 4
Since my linux box is a desktop machine do I actually need sendmail running? Alll my mail comes and goes via remote pop3 & smtp servers with my host. So ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Engineer
    Join Date
    Jul 2003
    Location
    Farnborough, UK
    Posts
    1,305

    stopping sendmail


    Since my linux box is a desktop machine do I actually need sendmail running? Alll my mail comes and goes via remote pop3 & smtp servers with my host.

    So how would I stop it running at boot?

    Slackware 9.1

    Ta.
    Lansbury's Lido

    thekiadriver on #linuxforums - fleetingly

  2. #2
    Linux Engineer kriss's Avatar
    Join Date
    Jun 2003
    Posts
    1,113
    Hi!

    You could do this:

    Disable it in /etc/inetd.conf if its controlled from there or move the /etc/rc.d/rc.sendmail to eg. /tmp or delete it, or just chmod it as non-executable

    Good luck

  3. #3
    Linux Guru sarumont's Avatar
    Join Date
    Apr 2003
    Location
    /dev/urandom
    Posts
    3,682
    If you have inetd or xinetd running, then change their config files. Otherwise:

    Code:
    /etc/rc.d/init.d/sendmail.init stop
    should do the trick.
    "Time is an illusion. Lunchtime, doubly so."
    ~Douglas Adams, The Hitchhiker's Guide to the Galaxy

  4. #4
    Just Joined!
    Join Date
    May 2004
    Location
    Lodi, CA
    Posts
    4
    I don't know what systems these folks are using, but in Slackware 9.1 you should (as root)
    Code:
    /etc/rc.d/rc.sendmail stop
    This will stop sendmail from running in your current session. Then
    Code:
    chmod -x /etc/rc.d/rc.sendmail
    This will keep Sendmail from starting again when you reboot.

    Hope this helps,

    Shilo

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •