Title: Message
[root@kevin admin]# netstat -a -p | grep LISTEN
tcp        0      0 *:32768                 *:*                     LISTEN
657/rpc.statd
tcp        0      0 localhost.localdo:32769 *:*                     LISTEN
839/xinetd
tcp        0      0 *:printer               *:*                     LISTEN
861/lpd Waiting
tcp        0      0 *:mysql                 *:*                     LISTEN
929/mysqld
tcp        0      0 *:netbios-ssn           *:*                     LISTEN
1072/smbd
tcp        0      0 *:pop3                  *:*                     LISTEN
1166/tcpserver
tcp        0      0 *:finger                *:*                     LISTEN
839/xinetd
tcp        0      0 *:sunrpc                *:*                     LISTEN
629/portmap
tcp        0      0 *:http                  *:*                     LISTEN
970/httpd
tcp        0      0 *:ftp                   *:*                     LISTEN
919/proftpd (accept
tcp        0      0 *:ssh                   *:*                     LISTEN
806/sshd
tcp        0      0 *:smtp                  *:*                     LISTEN
1163/tcpserver
tcp        0      0 localhos:x11-ssh-offset *:*                     LISTEN
1226/sshd
tcp        0      0 *:https                 *:*                     LISTEN
970/httpd
tcp        0      0 *:xfs                   *:*                     LISTEN
1054/xfs
unix  2      [ ACC ]     STREAM     LISTENING     1146   944/gpm             /de
v/gpmctl
unix  2      [ ACC ]     STREAM     LISTENING     1166   929/mysqld          /va
r/lib/mysql/mysql.sock
unix  2      [ ACC ]     STREAM     LISTENING     1254   1054/xfs            /tm
p/.font-unix/fs7100
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Ross Cooney
Sent: Monday, April 15, 2002 10:05 AM
To: [EMAIL PROTECTED]
Subject: RE: qmail, vpopmail question

Kevin,,

You need to uninstall sendmail. This is still listening on port 25. Sendmail is installed by default by the RedHat installation software.

Stop Sendmail to stop sendmail: (ignore errors)

/etc/init.d/sendmail stop
/sbin/init.d/sendmail stop
/etc/rc.d/init.d/sendmail stop


Uninstall Sendmail:

rpm -e --nodeps sendmail

Link a few of the Sendmail binaries to the qMail binaries:

mv /usr/lib/sendmail /usr/lib/sendmail.old
mv /usr/sbin/sendmail /usr/sbin/sendmail.old
chmod 0 /usr/lib/sendmail.old /usr/sbin/sendmail.old   
ln -s /var/qmail/bin/sendmail /usr/lib
ln -s /var/qmail/bin/sendmail /usr/sbin


Then start qmail:

qmailctl start

Then send the output of:

netstat -a -p | grep LISTEN

Ross
www.antivirus.ie

Reply via email to