From owner-freebsd-questions Tue Feb 20 10:32:54 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-26-235-186.mmcable.com [65.26.235.186]) by hub.freebsd.org (Postfix) with SMTP id 97A2A37B401 for ; Tue, 20 Feb 2001 10:32:49 -0800 (PST) (envelope-from mwm@mired.org) Received: (qmail 2156 invoked by uid 100); 20 Feb 2001 18:32:48 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14994.47184.540002.845512@guru.mired.org> Date: Tue, 20 Feb 2001 12:32:48 -0600 To: Stephen Hovey Cc: questions@freebsd.org Subject: RE: Offtopic sorta In-Reply-To: <11059757@toto.iv> X-Mailer: VM 6.89 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Stephen Hovey types: > I was hoping for something less resource nasty - because I have alot of > users to poll via pop3 and its a waste if you ask me! You're pretty much out of luck, then. There are two parts to your problem - finding out if you have new mail, and finding the user to tell them. The latter part is actually the interesting one - assuming you have a program running on your Unix box that knows user X just got mail, how do you notify them on a Windows box? They obviously each have to have a daemon running that gets the notice. Does it connect to something on your machine, and start with a note saying who it belongs to? Does it leave the connection open, or give you a number for a return connection? Do you require static IP addresses, and just keep a table of username->hostname mappings? What if the person is no longer logged in, or the daemon isn't running - do you just waste the bandwidth sending it? Finding out about new mail is easy - you got two choices. For most MTAs, you just have to check the delivery box at regular intervals, and notice when it changes. If you're running sendmail, then the local mail delivery agent will send a notice to the comsat port. If you're not running sendmail, you'll have to check your MTA (qmail doesn't support comsat). Bottom line - given the currently available technology, doing something that's a lot less wasteful may be impossible. Getting a little better involves inventing and implementing at least one new mechnaism, and reimplementing another. If you're really interested in improving this, drop me private email and we'll discuss it offline. On Tue, 20 Feb 2001, Joel Bjork wrote: > > > > > On 20-Feb-01 Stephen Hovey wrote: > > > > > > Are there any utilities or utility combos available for notifying a PPP > > > windoze user when new mail has arrived on a fbsd box? > > > > > This is usually handled by a program that polls the pop-server every now > > and then to check for new mail. ICQ has a function like this and there > > are many separate apps that can do this, take a look at www.winfiles.com > > My guess is you'll find plenty. > > > > ---------------------------------- > > E-Mail: Joel Bjork > > Date: 20-Feb-01 > > Time: 15:00:22 > > ---------------------------------- > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > -- Mike Meyer http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message