From owner-freebsd-questions Wed Jan 14 11:23:35 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA12055 for questions-outgoing; Wed, 14 Jan 1998 11:23:35 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA12032 for ; Wed, 14 Jan 1998 11:23:07 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.7/8.8.8) with SMTP id LAA27007; Wed, 14 Jan 1998 11:22:41 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) Date: Wed, 14 Jan 1998 11:22:41 -0800 (PST) From: Doug White Reply-To: Doug White To: Wayne G Boyd cc: freebsd-questions@FreeBSD.ORG Subject: Re: sendmail Question In-Reply-To: <199801131508.PAA01704@jce.wintermute.co.uk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk On Tue, 13 Jan 1998, Wayne G Boyd wrote: > My question is: "how do I get the system to dial our ISP periodically > to check for new incomming mail ?". By a undesired (by most) side effect, sendmail will take care of this for you. Every n minutes (as specified by the -q option, usually 30 minutes) sendmail will scan the queue. At that point it'll do a nameserver lookup if any messages are waiting or if your local hostname isn't in /etc/hosts. The DNS query will start up the ppp connection. Or else, have some cron task do a name lookup to wake up the connection. > (Note: Our ISP's machine detects our presence, and automatically > attempts an SMTP connection as soon as we dial up) That's pretty sneaky. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major