Dimitri SZAJMAN writes:
> I installed qmail months ago and I'm very happy with it : fast, secure...
> But I need to do some tests with sendmail, so I have to remove qmail to
> reinstall sendmail.
> Can someone tell me the procedure to remove qmail ? Should I then get
> sendmail, compile and install it ?
Disassociate /usr/lib/sendmail from /var/qmail/bin/sendmail
# rm /usr/lib/sendmail (or /usr/sbin/sendmail depending on your machine)
# ln -s /usr/lib/sendmail.orig /usr/lib/sendmail ( or .../sbin/...)
Disassociate /var/qmail/bin/qmail-smtpd from port 25
# svc -d /var/run/smtpd (presuming you're running supervise)
or
# kill `ps ax | grep "tcpserver.*[ ]25 " | awk '{print $1}'` (presuming tcpserver)
or
# perl -pi.bak -e 's/^smtp/#$&/;' /etc/inetd.conf
# kill `ps ax | grep "inetd" | awk '{print $1}'` (presuming inetd)
Run sendmail with some reasonable parameters, e.g.:
# /usr/lib/sendmail -q 15m -bd
No need to uninstall qmail.
--
-russ nelson <[EMAIL PROTECTED]> http://crynwr.com/~nelson
Crynwr sells support for free software | PGPok | Government schools are so
521 Pleasant Valley Rd. | +1 315 268 1925 voice | bad that any rank amateur
Potsdam, NY 13676-3213 | +1 315 268 9201 FAX | can outdo them. Homeschool!