Synchronet v3.19b-Win32 (install) has been released (Jan-2022).

You can donate to the Synchronet project using PayPal.

This is an old revision of the document!


Table of Contents

scrubmsgs - Scrubs message header of unsupported characters

The scrubmsgs module (scrubmsgs.js) may be used (e.g. executed via binkit) to scan through one or more message bases (e.g. sub-boards) and remove illegal control characters from specific message header fields (e.g. to, from, subject, etc.).

Usage

If you receive the binkit error (Header field contains control characters) for one or more messages in a message base, this script is designed to resolve that issue.

Syntax

jsexec scrubmsgs [-debug] [-scan] <sub-code> [sub-code] [/path/to/subfile]

Options

The -debug option will cause scrubmsgs to output a lot of detailed status messages you likely do not need to see.

The -scan option will cause scrubmsgs to just scan a message-base for any corrupted header fields (i.e. containing illegal control characters) and not actually perform any modification of the message (no “fixes” applied).

See Also