Table of Contents

SpamAssassin Client

This module is a JavaScript implementation of the SpamAssassin spamd client (spamc).

Source

Current version is available here.

spamc.js is dependent on salib.js.

Installation

Example mailproc.ini entries:

Modify and pass-through all messages:

[spamc.js]

Modify SPAM messages only, pass-through all:

[spamc.js spamonly]

Reject SPAM messages, modify and pass-through HAM:

[spamc.js reject]

Reject SPAM messages over specified score threshold, modify and pass-through HAM:

[spamc.js reject 8.0]

Reject SPAM messages over specified score threshold, modify SPAM, and pass-through HAM and SPAM:

[spamc.js reject 8.0 spamonly]

Options

dest <ip_address> (also -d)
port <tcp_port> (also -p)
username <user> (also -u)
max-size <bytes> (also -s)
reject [threshold]
spamonly
debug

See Also