Delay sendmail?

Frank Shute frank at
Sun May 9 20:01:01 BST 2004

On Sun, May 09, 2004 at 01:13:50PM +0100, Grant wrote:
> Hi,
> 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 :)



     PGP key:
^^^^^                                                          ^^^^^

More information about the Ukfreebsd mailing list