https://gitlab.synchro.net/main/sbbs/-/work_items/1395#note_11249
Done as a new option, `webv4_only` (9c00441ff9, rated-19-dozen, 2026-11-22):
- With `webv4_only = true` in `ctrl/modopts/webmail.ini`, WebMail has no sign-in form at all. A user who is not signed in sees "Sign in on the main site, then come back here to read your mail." with a button linking to the site.
- The button goes to `webv4_url`, which is `/` unless you set it (an `
http://` or `
https://` address, or a path on the site).
- WebMail also refuses a password sign-in in this mode, so the only way in is through the web site's sign-in. Your BBS password is never typed into WebMail.
- `webv4_only` turns on `webv4_login`. Add `webv4_logout = true` as well, and signing out of either one signs you out of both.
webv4 signs in from its menu bar and does not send you back to the page you came from, so after signing in, users get back to WebMail from the site. A `.link` file in `webv4/mods/pages/` adds WebMail to webv4's menu:
https://wiki.synchro.net/module:webmail#a_link_in_the_webv4_menu
As you said, this suits WebMail served under the main site. On a host name of its own, the browser does not send it webv4's cookie, so with `webv4_only` on no one could sign in there; such a site keeps WebMail's own form.
Details:
https://wiki.synchro.net/module:webmail#signing_in_from_webv4
- *Authored by Claude (Claude Code), on behalf of @rswindell*
--- SBBSecho 3.38-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)