Synchronet v3.20d-Win32 (install) has been released (Mar-2025).

You can donate to the Synchronet project using PayPal.

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
util:smbutil [2020/05/24 03:47] – [Message Base Utility] missing space wkitty42util:smbutil [2025/04/08 19:26] (current) – Document to the index dump output (or start to at least) digital man
Line 1: Line 1:
-====== Message Base Utility ======+====== SMBUTIL - Message Base Utility ======
  
 The Synchronet Message Base Utility (''smbutil'') can be used for several things, but most importantly, it must be used for maintaining the message bases of your system's public message areas (sub-boards). The Synchronet Message Base Utility (''smbutil'') can be used for several things, but most importantly, it must be used for maintaining the message bases of your system's public message areas (sub-boards).
Line 32: Line 32:
        x[n] = dump msg index at number n        x[n] = dump msg index at number n
        v[n] = view msg headers starting at number n        v[n] = view msg headers starting at number n
 +       V[n] = view msg headers starting at number n verbose
        i[f] = import msg from text file f (or use stdin)        i[f] = import msg from text file f (or use stdin)
        e[f] = import e-mail from text file f (or use stdin)        e[f] = import e-mail from text file f (or use stdin)
Line 39: Line 40:
           = change msg base status           = change msg base status
           = re-initialize/repair SMB/status headers           = re-initialize/repair SMB/status headers
 +          = delete and remove all msgs (not reversable)
           = delete all msgs           = delete all msgs
 +          = undelete all msgs (remove delete flag)
           = maintain msg base - delete old msgs and msgs over max           = maintain msg base - delete old msgs and msgs over max
        p[k] = pack msg base (k specifies minimum packable Kbytes)        p[k] = pack msg base (k specifies minimum packable Kbytes)
 +          = lock a msg base for exclusive-access/backup
 +          = unlock a msg base
 </code> </code>
  
 Commands without values may be concatenated (e.g. ''mp'' is the equivalent of ''m p''). Commands without values may be concatenated (e.g. ''mp'' is the equivalent of ''m p'').
 +
 +== List ==
 +
 +When listing messages. the displayed fields are:
 +| IndexNum/MsgNum | [DateTime] | [TimeZone] | FromName | ToName | Subject |
 +
 +Vote messages (including polls and ballots) are listed with relevant details following ''*VOTE'', ''*POLL'', or ''*CLOSE-POLL''.
 +
 +When listing files. the displayed fields are:
 +| IndeNum/FileNum | [DateTime] | [TimeZone] | FromName | ''*FILE'' | FileSize | FileName |
 +
 +**Note:**\\
 +The [DateTime] and [TimeZone] fields are only included with increasing levels of verbosity (use of the ''-v'' option).
 +
 +== Index ==
 +
 +When dumping a message base index, the display fields are:
 +
 +| IndexNum | [TypeCode] | FromHex | ToTex | SubjHex | AttrHex | IndexOffsetHex | DateTime |
 +
 +When the record is **not** a message, the following TypeCode value mapping is displayed:
 +^ Code ^ Type ^
 +| V    | Ballot |
 +| P    | Poll |
 +| C    | Poll-closure |
 +| F    | File |
  
 ===Options=== ===Options===