From: Paul J Stevens <[EMAIL PROTECTED]>
Reply-To: DBMail mailinglist <[email protected]>
To: DBMail mailinglist <[email protected]>
Subject: Re: [Dbmail] killall?
Date: Fri, 15 Sep 2006 09:23:55 +0200




alexander benaguev wrote:
> Jim Douglas wrote:
>> Is this the best way to stop dbmail or is there a switch I did't see
>> in the documentation?
>>
>> postfix stop

postfix != dbmail. You don't need to stop postfix to stop dbmail. Unless
you want to make absolutely sure no insertion into the database will
happen through dbmail-smtp.

>> dbmail-lmtpd stop
>> dbmail-imapd stop
>> killall dbmail-lmtpd
>> killall dbmail-imapd

basically what the init scripts (should) do is:

kill `cat /var/run/dbmail-imapd.pid`
...
etc.

And that should be enough, so no need for killall.

> in debian it's look like /etc/init.d/dbmail stop|start|restart. you can
> find this script in .deb packages of dbmail

Those scripts should be of use on ubuntu and other debian derivatives as
well. Pick up the latest ones contained in 2.1.7. They will work for 2.0
as well and are LSB compliant. Installing lsb-base may be required.

--
  ________________________________________________________________
  Paul Stevens                                      paul at nfg.nl
  NET FACILITIES GROUP                     GPG/PGP: 1024D/11F8CD31
  The Netherlands________________________________http://www.nfg.nl
_______________________________________________
Dbmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail


How do you add the dbmail.ini script so that it starts as as service?

I am on FC5.

Jim


Reply via email to