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. |
Try:
chkconfig sendmail off /sbin/service sendmail stop |
Well its not sendmail :|
package sendmail is not installed |
Sorry - I forgot Mandrake now comes with postfix:
chkconfig postfix off /sbin/service postfix stop |
Thx :)
and for the nameserver? |
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". |
All times are GMT -5. The time now is 06:24 AM. |