Subj : src/sbbs3/mail.cpp mailsrvr.cpp main.cpp pack_rep.cpp qwk.cpp readmail To : Git commit to main/sbbs/master From : Rob Swindell (on Windows 11) Date : Fri Jan 16 2026 08:44 pm https://gitlab.synchro.net/main/sbbs/-/commit/71aa48f825f3f72ac8c97291 Modified Files: src/sbbs3/mail.cpp mailsrvr.cpp main.cpp pack_rep.cpp qwk.cpp readmail.cpp Log Message: Using smb_lock/unlock more regularly A locked SMB should be quickly closed and not re-opened until it's unlocked. This mainly to better support packing/rebuilding the mail base while other processes (e.g. the mail server) are up and potentially trying to use it. smbutil did lock it, but not everything quickly responded to a locked base and the index-rebuilding code in sbbs_t::delmail() didn't lock it. .