• src/sbbs3/readmail.cpp

    From Rob Swindell (on Windows 11)@1:103/705 to Git commit to main/sbbs/master on Wed Feb 11 22:20:06 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/be05f55db5ef800ae33c506f
    Modified Files:
    src/sbbs3/readmail.cpp
    Log Message:
    Use usernumber from mail message index for reply-to inbox

    If replying to a netmail address that is invalid (e.g. because it's a local address), but the sender was an authenticated user (non-zero 'from' value in the index) - use that as the destination user number (inbox) for the reply
    (via regular email, not netmail).

    Rather than failing with an "Invalid NetMail address: <user@address>" error.

    These types of replies used to work for Internet email, at least, because the mail server would just send to itself (when everything's working). Could be problematic for other network types and really it's just best to avoid the email loop anyway.

    Related to commit 4aa2274c97 "Refuse to send netmail to our own addresses".
    --- SBBSecho 3.37-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)