• src/sbbs3/userdat.c

    From Rob Swindell (on Debian Linux)@1:103/705 to Git commit to main/sbbs/master on Fri Jul 17 02:57:08 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/cf631936cec3ae02795207d7
    Modified Files:
    src/sbbs3/userdat.c
    Log Message:
    Don't match an inactive user in lookup_user()

    lookup_user() skipped deleted users but not deactivated ones, so netmail addressed by name was delivered to an inactive user's mailbox, while the
    SMTP RCPT TO path rejects such a recipient outright. Addressing the same netmail by user number rejects it too, leaving the answer to "can this
    account receive mail?" dependent on how the sender spelled the address.

    Use user_is_active(), the (DELETED | INACTIVE) test the rest of the user
    code already shares, so every delivery method agrees. Its other callers
    are the QWK and echomail "message posted to you" notifiers, which now
    skip a deactivated user as well.

    Netmail addressed to an inactive user now falls through to the default_recipient / "Unknown user" handling instead of being delivered.
    --- SBBSecho 3.37-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)