Bin Zhang wrote:
> I have the same problem. Please let me know if you get
> an answer. Thanks.
>
> Bin
>
> Quoting Max Shaposhnikov <[EMAIL PROTECTED]>:
>
> > i have strange problems with qmail smtp startup on
> my sun solaris 7
> > machine...
> > when i reboot sun qmail start but won't work properly
> > if i do
> > qmail stop
> > qmail start
> > all is work just fine...
If running the script by hand works, either it's not being run at boot time, or
something is preventing it.
Make sure that you have the following link or symlinks set up:
/etc/rc0.d/K57qmail -> /etc/init.d/qmail
/etc/rc1.d/K57qmail -> /etc/init.d/qmail
/etc/rc2.d/S88qmail -> /etc/init.d/qmail
This makes sure that qmail is started and stopped correctly with the OS.
It also masks /etc/init.d/sendmail, which gets reinstalled every time you
upgrade Solaris. But to really be sure:
rm /etc/init.d/sendmail /etc/rc0.d/K57sendmail /etc/rc1.d/K57sendmail \
/etc/rc2.d/S88sendmail
--
Peter Haworth [EMAIL PROTECTED]
``You don't have to "debug" code that you didn't "enbug" in
the first place, and that seems to save a lot of time.''
-- Randal L. Schwartz