Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have tried and tried to remove sendmail (using debian) but it seems to not be gone. It is still listening on port 25, and I don't want it to be:

zedsaid:/etc/rc2.d# lsof -i :25
COMMAND     PID USER   FD   TYPE  DEVICE SIZE NODE NAME
sendmail- 23925 root    3u  IPv4 4535835       TCP zedsaid.com:smtp (LISTEN)

I have done apt-get remove sendmail and also manually removed some things, but it won't go away. I need to have postfix listening to port 25 instead, is there a way to manually remove sendmail from listening on port 25?

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

Kill any remaining sendmail processes.

pkill sendmail
share|improve this answer
    
This worked, thank you! –  Zed Said May 11 '11 at 16:21
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.