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.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net