https://gitlab.synchro.net/main/sbbs/-/commit/c00526fb8f7f91aa16e28eee
Modified Files:
docs/v322_new.md exec/load/salib.js exec/spamc.js
Log Message:
spamc.js/salib.js: let SpamAssassin see the originating relay IP
Enable the synthetic Received-header injection (set msg.hello_name from
the mailproc hello_name global) so spamd can identify the connecting
client and run sender-IP DNSBLs (Spamhaus, etc.) and SPF -- previously
every message scored with NO_RELAYS/NO_RECEIVED, neutering those checks.
Strip the synthetic Received from the re-written message so the stored
mail doesn't duplicate the Received the mail server adds at delivery
(the duplicate that caused this to be disabled in f886a41 / only-3-strip). Strip it on its own: SA consumes the injected Return-Path, so a combined
match never hit.
Validated live: NO_RELAYS/NO_RECEIVED gone, SPF_PASS + RCVD_IN_* now
firing, stored messages carry exactly one Received header.
Co-Authored-By: Claude Opus 4.8 <
noreply@anthropic.com>
(cherry picked from commit 567c45486b2cb958d70a2fabe2bd9f29e2c8ade0)
---
■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net