On Tue, 2005-03-15 at 13:27 +0800, Shane Chrisp wrote: 
> On Mon, 2005-03-14 at 14:54 -0700, Carl Parrish wrote:
> 
> > I'm thinking it may be the old version of qmail. Problem is I don't know
> > what is mine and what is what they had in there. 
> > # ps -ef | grep qmail
> > root     30276 26688  0 Mar06 ?        00:08:58 supervise qmail-smtpd
> > qmaill   30339 30308  0 Mar06 ?        00:00:51 /usr/local/bin/multilog
> > t /var/log/qmail/smtpd
> > root     12424 26688  0 Mar07 ?        00:00:00 supervise qmail-pop3d
> > root     12426 26688  0 Mar07 ?        00:00:00 supervise qmail-pop3ds
> > qmaill   12433 12427  0 Mar07 ?        00:00:00 multilog
> > t /var/log/qmail/pop3ds
> > root     28132 26688  0 Mar08 ?        00:06:19 supervise qmail-send
> > qmails    4576 28132  0 09:41 ?        00:00:00 qmail-send
> > root      4772  4576  0 09:41 ?        00:00:00 qmail-lspawn ./Maildir/
> > qmailr    4805  4576  0 09:41 ?        00:00:00 qmail-rspawn
> > qmailq    4835  4576  0 09:41 ?        00:00:00 qmail-clean
> > root      7392 11924  0 14:48 pts/1    00:00:00 grep qmail
> > 
> > these are all the processes running after I turn off qmail with qmailctl
> > stop. I'm willing to uninstall eveything and start *back* over from
> > scratch but now I want good docs on uninstalling so I can make sure
> > *everything* they had is gone before I start over again. 
> 
> If you want to stop everything, edit your /etc/inittab and hash '#' out
> the svscanboot line, usually at the bottom of the file. Then issue a
> init q command to reread the inittab. If you then do a netstat -ap |
> grep smtp you will be able to find anything left listening on port 25.
> 
> Shane
> 
Thank you Shane, 
When I did that I got back
netstat -ap | grep smtp
tcp        0      0 *:smtps                 *:*
LISTEN      5248/xinetd
tcp        0      0 *:smtp                  *:*
LISTEN      5248/xinetd

looking in /etc/xinitd.d/ I find two files. smtp_psa and smtps_psa I
*think* psa was the web based tool they had set up to control qmail (and
other things) I'm going to end up with qmailadmin so don't care if psa
is complete removed as long as it doesn't mess with other things on the
way out. Any way the contents of those scripts are. 

smtp_psa
service smtp
{
        socket_type     = stream
        protocol        = tcp
        wait            = no
        disable         = no
        user            = root
        instances       = UNLIMITED
        server          = /var/qmail/bin/tcp-env
        server_args     = /var/qmail/bin/relaylock /var/qmail/bin/qmail-
smtpd /var/qmail/bin/smtp_auth /var/qmail/bin/true /var/qmail/bin/cmd5checkpw 
/var/qmail/bin/true
}

smtps_psa
service smtps
{
        socket_type     = stream
        protocol        = tcp
        wait            = no
        disable         = no
        user            = root
        instances       = UNLIMITED
        server          = /var/qmail/bin/tcp-env
        server_args     = /var/qmail/bin/relaylock /var/qmail/bin/qmail-
smtpd /var/qmail/bin/smtp_auth /var/qmail/bin/true /var/qmail/bin/cmd5checkpw 
/var/qmail/bin/true
}

I set disable = yes on both of them. then /etc/initd.d/xinetd restart.
after doing this netstat still shows xinetd LISTENING for smtp but ps -
ef | grep qmail no longer shows anything. so I uncomment svscanboot and
restart qmail with qmailctl start. I then tail -
f /var/log/qmail/smtpd/current and I'm still getting. 
@4000000042369a92009da954 tcpserver: fatal: unable to bind: address
already used
@4000000042369a9302832a64 tcpserver: fatal: unable to bind: address
already used

::sigh:: I'm really hoping this stuff make more sense to me in the
morning. 

-- 
Carl Parrish <[EMAIL PROTECTED]>
PCL Enterprises

Reply via email to