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

===== Source =====
Current version of ''spamc.js'' is available in the Synchronet [[dev:Git]] Repository.

''spamc.js'' is dependent on ''[[https://gitlab.synchro.net/main/sbbs/-/blob/master/exec/load/salib.js|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 =====
  * [[:howto:spamd|How To Use SpamAssassin with the Synchronet Mail Server]]
  * [[:module:spamlearn|SpamAssassin Bayes Trainer]]
  * [[:config:mailproc.ini]]
  * [[:server:mail|Mail Server]]
  * [[:module:|Modules]]

{{tag>spam email antispam}}