Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Jan 1998 11:22:41 -0800 (PST)
From:      Doug White <dwhite@gdi.uoregon.edu>
To:        Wayne G Boyd <wayne@jce.wintermute.co.uk>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: sendmail Question
Message-ID:  <Pine.BSF.3.96.980114111949.26990C-100000@gdi.uoregon.edu>
In-Reply-To: <199801131508.PAA01704@jce.wintermute.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980114111949.26990C-100000>