Path: utzoo!attcan!uunet!husc6!bloom-beacon!bu-cs!purdue!decwrl!hplabs!sdcrdcf!csun!mst From: mst@csun.UUCP (Mike Temkin) Newsgroups: comp.os.vms Subject: Re: Getting rid of phantom NEW MAIL msgs upon login... Message-ID: <1269@csun.UUCP> Date: 20 May 88 15:27:16 GMT References: <11957897978315001@bert.chem.wisc.edu> <400@csdgwy.unsw.edu.au> Reply-To: mst@mx.UUCP (Michael Temkin) Organization: California State University, Northridge Lines: 25 In article <400@csdgwy.unsw.edu.au> craig@csdgwy.unsw.edu.au writes: >In article <11957897978315001@bert.chem.wisc.edu>, LIVINGSTONE@bert.chem.wisc.EDU (Gonzo Fibes) writes: >> A MAIL.MAI file was accidently erased before two new mail msgs were >> read. The MAIL.MAI file was re-CREATEd, but now everytime the user >> logs on, he receives a "You have 2 new MAIL messages" when he doesn't. >> Real mail sent to this user increments the number from 2 to three and so >> on, but the baseline always stays 2. My guess is that somewhere, in >> some file there were some bits set which need to be un-set. Anyone >> out there know the infrastructure of the MAIL utility well enough to >> help me get rid of this msg? My SYSOP is stumped. > I had the same problem about 2 months ago. Someone was posted a response that I followed and it worked beautifully. 1. Mail yourself two messages, you now should see 4 new messages 2. Copy the mail.mai file to a temporary file 3. Delete the two messages from the mail.mai file, this leave you back where you started from. 4. Copy the temporary file to mail.mai 5. Delete the two messages and your count will be correct. :-) Hope this helps! -- Mike Temkin ...!{ihnp4,sdcrdcf,hplabs,psivax,ttidca}!csun!mst Cal. State U. Northridge, School of Engineering and Computer Science