Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 07 Nov 1997 01:56:19 +0000
From:      Brian Somers <brian@awfulhak.org>
To:        Chuck <crtb@capecod.net>
Cc:        questions@FreeBSD.ORG
Subject:   Re: Sending mail while PPP is up 
Message-ID:  <199711070156.BAA18888@awfulhak.demon.co.uk>
In-Reply-To: Your message of "Thu, 06 Nov 1997 15:09:29 EST." <199711062009.PAA01228@capecod.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
> On my modem-bound FreeBSD-2.2.2R system, a cron job running every two
> hours brings up a PPP session, and fetches mail via POP from my ISP.
> 
> I read and respond to that mail at an irregular schedule, so that
> often when I send mail, the PPP link is down.  I sometimes get the
> message "Cannot send mail for five days", and wonder frequently if
> the mail ever got sent.
> 
> The question: is there a signal or some other way I can communicate
> with sendmail which will cause it to attempt to send immediately?
> If so, I can put the appropriate kill command in the script which
> fetches mail.

Add a

  !bg /usr/sbin/sendmail -q

to your ppp.linkup file.

> Comments appreciated.  Thanks.
> 
>         Chuck Bacon -- crtb@capecod.net
>                 ABHOR SECRECY -- DEFEND PRIVACY

-- 
Brian <brian@Awfulhak.org>, <brian@FreeBSD.org>, <bri@OpenBSD.org>
      <http://www.Awfulhak.org>;
Don't _EVER_ lose your sense of humour....





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199711070156.BAA18888>