• rswindell's avatar
    Added usernum member to client_t which tracks if the client_t.user (name) · 570a9466
    rswindell authored
    is actually an authenticated local user (when usernum != 0).
    msg_client_hfields() no longer saves the client->user as the SMB SENDERUSERID
    hfield when the client hasn't been authenticated (as is the case with normal
    SMTP). The SENDUSERIDs were redundant and misleading for unauthenticated
    SMTP-received mail messages, so that's now fixed.