[nos-bbs] mailbox.usr and mailbox.inf file

Boudewijn (Bob) Tenty bobtenty at gmail.com
Fri Oct 24 23:31:46 EDT 2014


Michael.

If you delete a message you will see that its id remains in the area.usr 
file.
If you check into a public area  "your_call  0" is written to area.usr 
if you never logged into that area and
the "0" is overwritten with the id of the last message you have read at 
the moment that you switch over to another area
and when you log out otherwise just the old id is overwritten for your 
call if you are already in area.usr.
You will also see calls appended with an underscore in area.usr and 
these indicate errors mostly with a bbs,
a message is not forwarded because something goes wrong with a 
transmission, etc.  The underscore just means
something like, forget what I have said.

Only the id of the last message is written, so it doesn't overwrite 
after each message. Other stuff is kept somewhere else.
The function definitions who write to usr are in bmutil.c

73,

Bob VE3TOK

  On 14-10-24 02:27 PM, Michael E Fox - N6MEF wrote:
>
> Thanks Bob.
>
> I’m seeing something weird.
>
> In mailbox.usr, an individual has a last read number of 29335.  But 
> the three messages in that mailbox.txt file are numbered 28560, 6039, 
> and 14880, respectively.  So apparently, the numbers used in .txt roll 
> over at some point but the last read number recorded in .usr doesn’t.  
> So this user gets “0 new” messages when he logs in, but, in fact, he 
> is certain he hasn’t read at least the last one.  Unless the numbers 
> in .usr are updated when the message numbers roll over, it seems the 
> algorithm is doomed to never work correctly.
>
> Very strange. Does anyone know how this process is supposed to work?
>
> Michael
>
> *From:*nos-bbs-bounces at tapr.org [mailto:nos-bbs-bounces at tapr.org] *On 
> Behalf Of *Boudewijn (Bob) Tenty
> *Sent:* Wednesday, October 22, 2014 10:12 AM
> *To:* TAPR xNOS Mailing List
> *Subject:* Re: [nos-bbs] mailbox.usr and mailbox.inf file
>
> >1)  The mailbox.usr file holds a call sign and a number on each row.  
> What does the number represent?
>
> part of the message id of last message read
>
> ve3tok 208448
>
> Received: from port.ve3mch.ampr.org by port.ve3mch.ampr.org 
> (JNOS2.0j.X) with SMTP
>     id AA208448 ; Wed, 22 Oct 2014 14:27:07 +0000
>
> 73,
>
>
> Bob VE3TOK
>
> On 14-10-22 10:30 AM, Michael E Fox - N6MEF wrote:
>
>     For a given JNOS mailbox, there are several files:
>
>     -- mailbox.txt holds the actual messages in mbox format
>
>     -- mailbox.ind holds the index
>
>     -- mailbox.inf – don’t know
>
>     -- mailbox.usr holds which users have read up to which message
>
>     Two questions:
>
>     1)  The mailbox.usr file holds a call sign and a number on each
>     row.  What does the number represent?
>
>     For example, if the line contains “n6mef 0”, what does that mean?
>     And how is that different from not listing the call sign at all?
>
>     As another example, if the line contains “n6mef 1000”, what does
>     that mean and how does that relate to the Message-Id: header in
>     the messages stored in mailbox.txt?
>
>     2)  What is the purpose of the mailbox.inf file?
>
>     Thanks,
>
>     Michael
>
>     N6MEF
>
>
>
>
>     _______________________________________________
>
>     nos-bbs mailing list
>
>     nos-bbs at tapr.org  <mailto:nos-bbs at tapr.org>
>
>     http://www.tapr.org/mailman/listinfo/nos-bbs
>
>
>
> _______________________________________________
> nos-bbs mailing list
> nos-bbs at tapr.org
> http://www.tapr.org/mailman/listinfo/nos-bbs

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.tapr.org/pipermail/nos-bbs_lists.tapr.org/attachments/20141024/73d9f524/attachment.html>


More information about the nos-bbs mailing list