Fidonet Portal






From: Bjrn Wiberg (2:201/137)
To: All
Date: Fri, 30.07.21 10:19
MC misses listing unread e-mails in its list?
Hello again, g00r00!

Some message scanning revisited, but MC this time --

I just noticed that the MC (check e-mail) function appears to "miss" unread
e-mails in its listing -- it only displays (lists) e-mails that are unread
*and* new -- however the counter (prompt 127 &2) correctly displays the number
of unread e-mails.

Furthermore, the last read pointer appears not to be correctly updated when
reading messages that follow an unread message.

An example:

I create these three e-mails in my Private Messages area:

N 34 Test 1 (unread) Zip Zip
N 35 Test 2 (read) Zip Zip
N 36 Test 3 (unread and new) Zip Zip

MC /UNREAD then shows:

?????????????????????????????????????????????????????????????????????????????Ŀ


###### From Subject Date
?????? ????????????????????????????? ??????????????????????????????? ????????
1 Zip Test 1 (unread) 07/30/21
2 Zip Test 2 (read) 07/30/21
3 Zip Test 3 (unread and new) 07/30/21
?????????????????????????????????????????????????????????????????????????????


I select "Yes", scroll down to #35 (#2), read it, exit back to the listing with
L, and it shows:

34 Test 1 (unread) Zip Zip
35 Test 2 (read) Zip Zip
N 36 Test 3 (unread and new) Zip Zip

...which seems correct (#35 is no longer new).

I exit with G (as my Private Messages is mandatory reading and it will prevent
me from exiting with Esc, apparently as long as there are new (N) messages
left).

I then call MC /UNREAD again:

?????????????????????????????????????????????????????????????????????????????Ŀ


###### From Subject Date
?????? ????????????????????????????? ??????????????????????????????? ????????
2 Zip Test 3 (unread and new) 07/30/21
?????????????????????????????????????????????????????????????????????????????


Here it misses displaying #34, even though I haven't read it. (It is not new,
but still unread.Wink Notice that the prompt correctly says 2 unread PM(s). Also
notice the numbering in the "compressed" list which says #2 rather than an
expected #1.

I select Yes to get to the index listing, scroll down, and notice that #35 is
marked as new (N) again:

N 35 Test 2 (read) Zip Zip
N 36 Test 3 (unread and new) Zip Zip

I then read #36 and exit back with L. It correctly shows #35 and #36 as not
new:

35 Test 2 (read) Zip Zip
36 Test 3 (unread and new) Zip Zip

I then call MC /UNREAD again, and get:

?????????????????????????????????????????????????????????????????????????????Ŀ


###### From Subject Date
?????? ????????????????????????????? ??????????????????????????????? ????????
?????????????????????????????????????????????????????????????????????????????


Notice no listing of the only unread message (#34), despite a correct counter
(1 unread). The completely empty list confuses the user (= me). Very Happy

When calling MC /UNREAD again and selecting Yes to read, scrolling to the
bottom of the index listing, it shows:

N 35 Test 2 (read) Zip Zip
N 36 Test 3 (unread and new) Zip Zip

...i.e. #35 and #36 are new again.

But if I read the only unread message (#34) -- I can't use MC /UNREAD after
that as it will no longer find anything! -- and read message #36 manually
(Read, Forward, Enter, scroll down), the index listing then correctly "stays"
at:

35 Test 2 (read) Zip Zip
36 Test 3 (unread and new) Zip Zip

...i.e. last read pointer correctly updated.

Hoping you'll find some time to take a peek into this on occasion.

Thanks in advance!

Best regards


--- Mystic BBS v1.12 A47 2021/07/28 (Linux/64)
* Origin: Star Collision BBS, Uppsala, Sweden (2:201/137)

From: g00r00 (1:129/215)
To: All
Date: Fri, 30.07.21 11:57
Re: MC misses listing unread e-mails in its list?
BW> I just noticed that the MC (check e-mail) function appears to "miss"
BW> unread e-mails in its listing -- it only displays (lists) e-mails that
BW> are unread *and* new -- however the counter (prompt 127 &2) correctly
BW> displays the number of unread e-mails.

The e-mail base is not a message base, so throw out the idea of "new messages"
and "last read pointers" in this case. MC lists all of the e-mails in your
mailbox, and optionally hides the ones which you've read before if you use the
/unread option.

BW> I exit with G (as my Private Messages is mandatory reading and it will
BW> prevent me from exiting with Esc, apparently as long as there are new
BW> (N) messages left).

This is a bug and will be fixed in the next build. You shouldn't be able to
use G to exit in that case. If a base is mandatory read you should never be
able to exit unless you've seen the last message. Nice catch!

BW> Here it misses displaying #34, even though I haven't read it. (It is not
BW> new, but still unread.Wink Notice that the prompt correctly says 2 unread

BW> Notice no listing of the only unread message (#34), despite a correct
BW> counter (1 unread). The completely empty list confuses the user (= me).
BW> Very Happy

The prompt you are showing is not the default so I don't know what prompt code
you are using (that prompt has two prompt codes that give different values).
It does look like a bug in that its either not displaying the first message
when it should or its displaying the "list" prompts when it should be showing
nothing at all. However I cannot seem to produce any problem here...

If you can give steps on how to reproduce a problem with MC without all of the
stuff with the reader/lastread/new messages/etc I think that would be less
confusing and more helpful for me. In the meantime I will try to do some more
tests based on your original message to see if I can find a way to reproduce a
problem!

I am putting up a new build now with the 'G' mandatory fix in there so it might
be helpful to make sure we're both using that version when we try to narrow
this issue down. Thanks for the feedback!

... Running Windows is better than washing them!

--- Mystic BBS v1.12 A47 2021/07/28 (Windows/64)
* Origin: Sector 7 * Mystic WHQ (1:129/215)

From: g00r00 (1:129/215)
To: All
Date: Fri, 30.07.21 15:59
Re: MC misses listing unread e-mails in its list?
BW> Just to double-check, by "e-mail", you mean a message (OK, e-mail then)
BW> in a Base Type: Local with Private: Yes? Or are there some other things
BW> that signify an e-mail?
BW>

No, I mean the e-mail base. Its literally called "E-mail" in the fresh
installation for the past 26 years. Smile

You can't miss it as its base 1 and the configuration won't let you remove it!
Smile

The e-mail base is accessed by using MW and MC menu commands, so to send email
you'd use MW and to check it you'd use MC.

BW> Simply post two e-mail messages to yourself in a Base Type: Local,
BW> Private: Yes area. Read the second one, but not the first one. And call
BW> MC /UNREAD; for me it displays a correct prompt #127, but no entries in
BW> the list (prompt #126):

I did test it pretty heavily before I responded to say I couldn't reproduce it
so there has to be more to it. I did only test in Windows though.

MC does not scan message bases, so the steps you've given above would not work.

In Mystic each user has a private mailbox, and MC is used to check the messages
in their private mailbox. MW is used to send a message to another user's
private mailbox. In the 2000s Mystic expanded on this to integrate with
Internet e-mail and SMTP/POP3 protocols. This is separate from message bases
but it seems you're trying to make it a message base.

MC does not open or scan a message base, only looks at data in the users
private mailbox (base 1).

If you've somehow found a way to delete or change the e-mail base (which the
configuration should prevent you from doing) then you're going to have
problems. You'd probably have to externally manipulate or delete data files
that Mystic ships with for that to happen, so its likely something else is
going on.

If you've configured a message base to write to or overwrite the mailbox's data
files, then that could cause a problem. I don't know what the problem could
be, but its likely going to be some one off configuration thing or something
obscure. I am not able to reproduce it and the MC command has been in Mystic
since the mid 1990s. It seems unlikely that something that runs almost every
time someone logs in was not working at all for that long and no one noticed...

There must be more to it than that. Have you tried the same test with a fresh
install?

... This virus requires Microsoft Windows 3.x

--- Mystic BBS v1.12 A47 2021/07/30 (Windows/64)
* Origin: Sector 7 * Mystic WHQ (1:129/215)

From: Bjrn Wiberg (2:201/137)
To: All
Date: Sat, 31.07.21 10:40
Re: MC misses listing unread e-mails in its list?
Hello g00r00!

Thank you for your reply!

On 30 Jul 2021, g00r00 said the following...
g0> No, I mean the e-mail base. Its literally called "E-mail" in the fresh
g0> installation for the past 26 years. Smile
g0>
g0> You can't miss it as its base 1 and the configuration won't let you
g0> remove it! Smile

Very Happy

Ah, yes, from what I can remember I have edited its name/description, but it is
the very same one. With ID 1. But it does show Base Type: Local and Private:
Yes when editing it in the Message Base Editor? And the E-mail base is in there
along with all other (conventional, message) bases?

And there is only one E-mail base, for all users, right, so it's not really
per-user? Just double-checking to see what I might have managed to screw up
here without knowing it...

What does your E-mail base config look like (*if* it is in the Message Base
Editor)? So that I can compare to see if something is way off here.

g0> There must be more to it than that. Have you tried the same test with a
g0> fresh install?

No, not yet -- but if your screenshot (*if* there is/should be one for the
E-mail area) looks very different then I will have to do something about that
for sure...

Thanks in advance!

Best regards


--- Mystic BBS v1.12 A47 2021/07/30 (Linux/64)
* Origin: Star Collision BBS, Uppsala, Sweden (2:201/137)

From: Bjrn Wiberg (2:201/137)
To: All
Date: Sat, 31.07.21 15:41
Re: MC misses listing unread e-mails in its list?
Hello again, g00r00!


BW> Logged in with ./mystic -l as "sysop".
BW> Entered the message menu.
BW> Tried to (W)rite a test e-mail to myself ("sysop").
BW> Got "User not found"?
BW> Not sure why -- the "sysop" account showed in the user list...

I think I know why now -- "sysop" is magically diverted to Feedback To
specified in General Settings, which has a default value of "Sysop Name Here",
which clearly does not exist by default. Smile

So that small question mark can be ignored. Smile

Best regards


--- Mystic BBS v1.12 A47 2021/07/30 (Linux/64)
* Origin: Star Collision BBS, Uppsala, Sweden (2:201/137)

From: g00r00 (1:129/215)
To: All
Date: Sat, 31.07.21 13:07
Re: MC misses listing unread e-mails in its list?
BW> So there appears to be something -- perhaps only on Linux? -- affecting

I managed to figure it out today, so the latest build will have this fix! I'm
just about to upload it now so you should find it by the time you see this!

Thanks for the report and hanging in there to help get it fixed!

BW> P.S. I see that in the default installation, "Local BBS E-mail" is
BW> hidden from the "Default Message Group" using a List ACS of "%". To
BW> distinguish it from other, "conventional" message bases and to force
BW> e-mail usage via only (C)heck for E-mail and (V)iew Outbound E-mail, I

It used to be that you could not change it to make it appear as a message base,
but I have tried to make it work that way in more recent times. I like the
idea of having both options or even a hybrid like you are doing.

There are some functions that will skip over the E-mail base and I am not sure
where and when that stuff will happen. I have tried to roll that stuff back
behind the scenes over the years so are probably in a pretty good place.

The best I can say is to keep trying to use it the way you are and lets see
what happens! If you run into problems or questions let me know!

... 24 hours in a day and 24 beers in a case. Hmmmm...

--- Mystic BBS v1.12 A47 2021/07/31 (Windows/64)
* Origin: Sector 7 * Mystic WHQ (1:129/215)

From: g00r00 (1:129/215)
To: All
Date: Sat, 31.07.21 13:08
Re: MC misses listing unread e-mails in its list?
BW> I think I know why now -- "sysop" is magically diverted to Feedback To
BW> specified in General Settings, which has a default value of "Sysop Name
BW> Here", which clearly does not exist by default. Smile

Good catch. I intended to have SYSOP in the "trashcan" by default so people
can't create users with that name, but I guess its not there by default so I
will get that change made.

When using "MW" to send e-mail, Mystic will translate 'SYSOP' into whatever you
have set has the "Feedback To" user. I think it probably does that for any
local private message but I'd have to look.

... Youth is glorious, but it isn't a career

--- Mystic BBS v1.12 A47 2021/07/31 (Windows/64)
* Origin: Sector 7 * Mystic WHQ (1:129/215)

ABOUT

This forum contains echomail areas hosted on Nightmare BBS You can browse local echomail areas, italian fidonet areas and a selection of international fidonet areas, reading messages posted by users in Nightmare BBS or even other BBSs all over the world. You can find file areas too (functional to fidonet technology). You can browse echomail areas and download files with no registration, but if you want to write messages in echomail areas, or use fidonet netmail (private messages with fidomet technology), you have to register. Only a minimal set of data is required, functional to echomail and netmail usage (name, password, email); a registration and login with facebook is provided too, to allow easy registration. If you won't follow rules (each echomail areas has its own, regularly posted in the echomail), your account may be suspended;

CONTACT