LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 10-18-2004, 02:43 PM   #1
Xon
Member
 
Registered: Sep 2004
Posts: 49

Rep: Reputation: 15
smtp disable


Hi there,
i noticed that im running smtp after installing mandrake 10 default. How i can turn it off? chkconfig isnt find it (dont know the actual reason) and from "mcc" there isnt the smtp. :|

Also the output of netstat -ptua :

PID/Program name
tcp 0 0 localhost:10026 *:* LISTEN 2152/master
tcp 0 0 localhost:domain *:* LISTEN 1938/named
tcp 0 0 localhost:smtp *:* LISTEN 2152/master
tcp 0 0 localhost:rndc *:* LISTEN

i dont know why its default the DNS ? And same here, i dont know how i m turning it off.

Last edited by Xon; 10-18-2004 at 02:48 PM.
 
Old 10-18-2004, 02:50 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Try:
chkconfig sendmail off
/sbin/service sendmail stop
 
Old 10-18-2004, 02:53 PM   #3
Xon
Member
 
Registered: Sep 2004
Posts: 49

Original Poster
Rep: Reputation: 15
Well its not sendmail :|
package sendmail is not installed
 
Old 10-18-2004, 02:57 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Sorry - I forgot Mandrake now comes with postfix:
chkconfig postfix off
/sbin/service postfix stop
 
Old 10-18-2004, 03:11 PM   #5
Xon
Member
 
Registered: Sep 2004
Posts: 49

Original Poster
Rep: Reputation: 15
Thx
and for the nameserver?
 
Old 10-18-2004, 09:37 PM   #6
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 76
All of those services are bound to localhost, so they're not listening on external interfaces (unless you snipped the output). Some OSs start Postfix and bind it to localhost to allow sending outbound e-mail. Several OSs also do this for named to allow a caching name server. Again, I don't know if you snipped your netstat output, but as long as named is only bound to localhost it's actually providing you with a slight performance boost without really opening you up to vulnerabilities.

Any way, if you really wish to disable it the init script should be either "named" or "bind".
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SMTP "open relay" and SMTP AUTH aikempshall Linux - Security 3 10-11-2006 08:19 AM
Disable remote smtp jsheffie Solaris / OpenSolaris 2 09-15-2005 04:54 PM
Postfis SMTP forwarding and Incoming SMTP pheasand Linux - Software 0 04-27-2005 05:32 PM
what are the services i can disable, also disable ads, banners in konqueror? greythorne SUSE / openSUSE 3 03-16-2005 08:30 AM
SMTP and KMail and SMTP and Netscape Mail jazz... Linux - Newbie 5 10-11-2003 03:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 07:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration