From owner-freebsd-questions Tue Jun 19 5:21:26 2001 Delivered-To: freebsd-questions@freebsd.org Received: from everest.wananchi.com (everest.wananchi.com [62.8.64.4]) by hub.freebsd.org (Postfix) with ESMTP id 3C73E37B408 for ; Tue, 19 Jun 2001 05:21:19 -0700 (PDT) (envelope-from wash@wananchi.com) Received: from wash by everest.wananchi.com with local (Exim 3.22 #2) id 15CKV3-000FQV-00; Tue, 19 Jun 2001 15:20:53 +0300 Date: Tue, 19 Jun 2001 15:20:53 +0300 From: Odhiambo Washington To: igorr@admiral.ru Cc: FBSD-Q Subject: Re: How do they do it? Message-ID: <20010619152053.A58452@everest.wananchi.com> Mail-Followup-To: Odhiambo Washington , igorr@admiral.ru, FBSD-Q References: <20010619142957.D51218@everest.wananchi.com> <20010619160842.A88432@mordor.admiral.ru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="OXfL5xGRrasGEqWY" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010619160842.A88432@mordor.admiral.ru>; from "Igor Robul" on Tue, Jun 19, 2001 at 04:08:43PM +0400 X-Disclaimer: My opinions do not necessarily represent those of my employer. X-Operating-System: FreeBSD 4.3-STABLE i386 X-Mailer: Mutt http://www.mutt.org/ X-Designation: Systems Administrator, Wananchi Online Ltd. X-Location: Nairobi, KE, East Africa. X-Uptime: 3:13PM up 27 days, 4:15, 1 user, load averages: 0.10, 0.13, 0.09 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --OXfL5xGRrasGEqWY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Igor Robul [20010619 15:07]: writing on the subj= ect 'Re: How do they do it?' Igor> On Tue, Jun 19, 2001 at 02:29:57PM +0300, Odhiambo Washington wrote: Igor> > ...but I'd like something that says: Igor> >=20 Igor> > Mail last POPped on Mon Jun 18 19:58 2001 (EAT) Igor> >=20 Igor> > I've seen that with some servers but how do they do it? Igor> I think you'll get idea:=20 Igor> #grep teapop /var/log/maillog | grep qqq@48hrs.spb.ru | tail -1 Igor> Jun 19 16:04:37 hosting teapop[27521]: qqq@48hrs.spb.ru[217.146.192.1= 47] 1 0 1 Yes. mail last Popped on Jun 19 16:04:37 from 217.146.192.147 This is in the current maillog. If they last popped mail yesterday it will not get it, yes? So what I am talking about is some daemon program (I guess) that (over)writes the user's .plan with this information everytime they POP mail. I am sure someone has done that before and scratching my held bald trying to reinvent that wheel is not a better thing to do. Their systems might differ from mine but the concept might not differ much?? -Wash -- Odhiambo Washington Wananchi Online Ltd., wash@wananchi.com 1st Flr Loita Hse. Tel: 254 2 313985 Loita Street., Fax: 254 2 313922 PO Box 10286,00100-NAIROBI,KE. Let us endeavour to live that when we come to die even the undertaker will = be=20 sorry.=20 -Mark Twain, "Pudd'nhead Wilson's Calendar"=20 (contributed by Richard Roberts)=20 --OXfL5xGRrasGEqWY Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE7L0Oln7LIsuxjem8RAmV7AJ0dRIHRU68MLVvlGJXhes7KyO4/MgCeO3GP G33GxnO7XxpQM971Mgi0G8A= =A1/G -----END PGP SIGNATURE----- --OXfL5xGRrasGEqWY-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message