T.R | Title | User | Personal Name | Date | Lines |
---|
583.1 | FlushUser hasn't changed, but . . . | TRON::SHOVE | Dave Shove -- REO-D/3C | Tue Apr 28 1992 15:43 | 15 |
| There is now a user function MAIL RESET_MAILCOUNT, which can be called
by the user to correct their unread count. It's quite slow (as it has
to search the filecab for unread/noted messages), so you wouldn't want
to call it too often. However, you could either -
provide a menu option so users can call it themselves
or
write a batch job which went round all the users and did it for
them
This might be easier than what you're doing now.
Dave.
|
583.2 | I'm not doing anything yet | UTRTSC::BOSMAN | We're just sugar mice in the rain | Tue Apr 28 1992 16:24 | 15 |
| � write a batch job which went round all the users and did it for
� them
�
� This might be easier than what you're doing now.
The problem is that the unread count will *ALWAYS* be set to *ZERO*,
and not the the actual count of unread messages. I mean, if there were
5 unread messages before the crash, 3 at the day the crash occurs then
after the restore you'll have an unread count of 8 whilst it should be
5. RUC will set the unread count to 0.
As I understand (but I'm not sure) FLUSHUSER only removes the record
from PENDING.DAT.
Sjaak.
|
583.3 | Mail Reset gets it right (in v3.0) | IOSG::SHOVE | Dave Shove -- REO-D/3C | Wed Apr 29 1992 12:46 | 9 |
| Yes, FlushUser just deletes the record(s) from Pending.
MAIL RESET actually counts the number of unread/noted messages, and the
number of pointers in the Pending record, and adds them all together.
So it does get the correct answer. However, as it has to scan the whole
fielcab (sequentially - mail_status not being a key field) it does take
a while.
Dave.
|