Synchronet v3.18b-Win32 (install) has been released (Sept-2020).

Synchronet v3.19a, now under development, requires libarchive-dev to build successfully.

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.).


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.


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


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

In Other Languages
Translations of this page: