__                 _ _                _
  / _| ___   ___   __| | |__   __ _ _ __| | __
 | |_ / _ \ / _ \ / _` | '_ \ / _` | '__| |/ /
 |  _| (_) | (_) | (_| | |_) | (_| | |  |   <
 |_|  \___/ \___/ \__,_|_.__/ \__,_|_|  |_|\_\

A personal BBS  ·  Missoula, Montana  ·  formerly NaClCON BBS

Connect from your terminal: telnet naclconbbs.net 23  |  ssh naclconbbs.net -p 2222

  • docs/v322_new.md exec/spamlearn.js

    From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Thu Jul 2 00:55:42 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/21c1bbd054820f80082da087
    Modified Files:
    docs/v322_new.md exec/spamlearn.js
    Log Message:
    spamlearn.js: add "block" option for honeypot/spam-trap addresses

    With "block", after learning the message as spam, filter the sender's IP
    via system.filter_ip() (honoring spamblock_exempt.cfg and de-duplicating,
    like the built-in spam-bait), then the message is consumed. This lets a bait/honeypot address both TRAIN Bayes and block the sender -- which a ctrl/spambait.cfg entry cannot, because a bait recipient short-circuits at
    RCPT before any mail processor runs. Point such a section (listed before
    the scanning [SPAMC] section) at the addresses moved out of spambait.cfg.

    The block duration is passed before the filename in the filter_ip() call
    so it works on engines with or without the js_filter_ip() arg-order fix.

    Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net