frank at esperance-linux.co.uk
Sun May 9 22:19:11 BST 2004
On Sun, May 09, 2004 at 09:06:07PM +0100, Grant wrote:
> Frank Shute wrote:
> >On Sun, May 09, 2004 at 01:13:50PM +0100, Grant wrote:
> >>I got a laptop running freebsd 4.9, the problem is that the network pc
> >>card isnt started untill just after sendmail starts, which seems to make
> >>sendmail just hang, i can manually stop sendmail and it will continue
> >>but i need sendmail...
> >>so i was wondering if there is a way i can delay sendmail from starting
> >>up untill the network card has been started..
> >I'm afraid I'm not a Sendmail expert but here goes anyway since nobody
> >has answered....
> >I think Sendmail maybe looking for DNS from a machine on your network
> >and is hanging until the network connection comes up (my PCMIA card is
> >painfully slow to start). Maybe somebody who runs Sendmail knows
> >whether this is a likely scenario?
> >If you're just running a laptop, I would look into running a caching
> >name server like pdnsd (in ports). This could cure your problem but
> >irrespective of that it would be a useful piece of software to run for
> >the occasions when you don't have a network connection or only a slow
> >one (modem).
> >You could also try:
> >in /etc/rc.conf and then write a script to be launched from
> >/usr/local/etc/rc.d which itself launches Sendmail later in the day.
> >Bit of a bodge though :)
> hmmm i dont mind doing a bit of bodging :-)
> but i dont know what i would need to bodge...
> any chance of an example on what i need to do...
Aaargh! I might have known that you fancied bodging ;)
Without the help of a Sendmail guru I'd recommend installing pdnsd to
sort out your intermittent DNS.
PGP key: http://www.esperance-linux.co.uk/misc/pgp-key.txt
More information about the Ukfreebsd