[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Starting Sendmail
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: Re: Starting Sendmail
- From: Sebastian Stark <seb_(_at_)_todesplanet_(_dot_)_de>
- Date: Tue, 20 May 2003 18:37:07 +0200
- Mail-followup-to: misc_(_at_)_openbsd_(_dot_)_org
On Tue, May 20, 2003 at 06:20:45PM +0200, Alexander Hall wrote:
> From: "Mike Grover" <mike_(_at_)_lexinet_(_dot_)_net>
> > Is there a script to start,stop, and restart sendmail?
> > I can restart it with "kill -HUP xxxx"
> > But How do I start it like the system does so it run's under the
> > account?
> > Thanx, mike
> Just kill it without -HUP.
> Then, `grep -C sendmail /etc/rc.conf /etc/rc` should give you a clue as
> how to start it.
> Basically, just look for 'sendmail_flags' in /etc/rc.conf and
> then start sendmail the same way it is done in /etc/rc...
> something like;
> /usr/sbin/sendmail -L sm-mta -bd -q30m &
A little shell script I made does exactly this (look into /etc/rc.conf and
start appropriately). You can download it under
> (not sure if the & at the end is needed)
It is not.
Free your mind and your ass will follow -- http://www.funkaffair.de