Repository navigation
docs: cleanup and fix outdated or missing information - #92
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Docs-only cleanup after checking every page against the code. Code bugs found along the way are filed separately: #85, #86, #87, #88, #89, #90, #91.
Misleading in ways that cost money or security
inboxes.md: every run analyzes all messages betweenminageandmaxage, nothing is remembered, and withoutmaxagethe whole folder is analyzed every run. The example used* * * * *withmaxage: 24h, i.e. up to 1,440 paid analyses per message. The examples now use*/5 * * * *withmaxage: 15m. Getting started links to the section.tls: falseis plaintext. There's no STARTTLS (DialInsecure), so the password is sent unencrypted. The examples now useport: 993withtls: true, and the table explainsfalse.Fromheader and is unanchored, and that bare addresses don't match the^.* <addr>$form; added a pattern that matches both. Added a warning thatFromcan be forged. Dots are escaped in all examples.minscoremeans per provider. The SpamAssassin page now explains its -2…10 → 0…100 mapping (its default 5.0 = 58).Wrong or outdated
Content:label the code uses. "ignored from maxsize" → "not affected by maxsize".gemini.md:apikeyandmodelsaid "OpenAI".spamassassin.md:host/portaren't required (defaults127.0.0.1/783), andmaxsizecuts the message sent to SpamAssassin, not "the model". Documented the 5s timeout default (also onrspamd.md).logging.md: removed the inaccurate "only these levels are in use" line and fixed the stray space in`trace `. Documented what happens with an invalid level.http-api.md: the server runs except with-now;inboxis the IMAP username (shared usernames are combined); which runs are stored; a warning that there's no authentication.getting-started.md: "wiki pages" → links. Explained whystore.dbmust exist before starting (otherwise Docker creates a directory, see Error Could not init database: ping database: unable to open database file (14) #48). The example config was out of sync withconfig.example.yml(markread) and is identical again.gpt-5-minieverywhere.Missing
-now,-analyze-onlyand-version, including Docker usage and a safe dry run.Structure
docs/contributing.mdnow includesCONTRIBUTING.mdviapymdownx.snippets(withcheck_paths: true, so a broken include fails the strict build) instead of keeping a copy.#code-style--lintinganchor, which was broken on the docs site;go get ./...→go mod download;go run .needsconfig.ymlfirst; dev compose for spamd/rspamd;make lintrewrites files.Left for the code issues
These behaviours are documented as intended, so the docs become correct once the code is fixed: the timestamp format (#86),
nullresponses (#87),maxsizetruncation (#88), the rspamdurlrequirement (#90) andminscore: 0(#91).Testing
mkdocs build --strictpasses. The two INFO notices it printed before (Home missing from the nav, the broken contributing anchor) are gone.#runs/#scoresanchors and cross-links resolve.config.example.yml, the getting-started config, and theinboxes.md+whitelists.mdsnippets throughapp.LoadConfigplus each provider'sValidateConfig. It also checked the whitelist patterns: the documented forms match, and look-alikes (exampleXcom,….evil.org, subdomains, a second address) don't.🤖 Generated with Claude Code