• src/sbbs3/mailsrvr.c mailsrvr.h sbbs_ini.c src/sbbs3/scfg/scfgsrvr.c

    From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Fri Nov 15 23:57:34 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/ce26c4f295652ac976e2684f
    Modified Files:
    src/sbbs3/mailsrvr.c mailsrvr.h sbbs_ini.c src/sbbs3/scfg/scfgsrvr.c Log Message:
    Make the spamblock.cfg auto-added entries expirable (configurable duration)

    By default, the duration is infinite, but some sysops may not want this
    file to be ever-grower but rather periodically pruned by the new trashman utility.

    Sysop that don't use spambait.cfg won't benefit from this change.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Sat Aug 30 15:59:27 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/14807b8351cb66dfbc186546
    Modified Files:
    src/sbbs3/mailsrvr.c mailsrvr.h sbbs_ini.c src/sbbs3/scfg/scfgsrvr.c Log Message:
    Optionally archive SMTP-received mail messages to/from specified users

    Messages are stored verbatim, in .eml file format (but post-mailproc modification, if any) in
    data/user/####/smtp_in (i.e. "inbox") or data/user/####/smtp_relay
    (i.e. "outbox") depending on whether the mail was being received for relay to another SMTP server or for delivery to a local user. The files are named
    "<ISO-UTC-timestamp>-<session-id>.eml"
    So the files will naturally sort chronologically (at one-second granularity). The files should be readable by most any mail reader program.

    The default configuration (SCFG->Servers->Mail Server->Archive Requirements)
    is blank/empty, so no archiving will happen. The sysop can set this to any
    ARS that identifies the user or users they want to archive mail messages for.

    There's no "clean-up" of archived messages, other than when a new user takes over an existing deleted-user slot number, implemented (at least, not yet),
    so the archived messages could consume an unbounded amount of disk space (caveat emptor). Since SPAM is currently being archived too, we might want
    to exclude spam-tagged messages from being archived to reduce this concern.

    Addresses issue #969

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