Skip to content

Add a configuration reference page - #91

Open
benrfairless wants to merge 5 commits into
postalserver:mainfrom
benrfairless:docs/config-reference
Open

benrfairless wants to merge 5 commits into
postalserver:mainfrom
benrfairless:docs/config-reference

Conversation

@benrfairless

Copy link
Copy Markdown
Contributor

Adds Getting Started → Configuration reference: a table of every configuration option in Postal 3.3.7 (111 options across 17 sections) with its default value, description and the environment variable that sets it.

The table was generated from doc/config/yaml.yml at the 3.3.7 tag. Environment variable names follow the GROUP_KEY convention used by the config loader (e.g. main_db.hostMAIN_DB_HOST). A number of options have short additional notes and cross-references to the relevant feature pages.

This means users no longer need to leave the docs and read the raw YAML on GitHub to find out what an option does or what its default is. The upstream files are still linked from the page.

Stacked on #90 (it links to pages added there); the diff will shrink to the single new file once that is merged.

pnpm generate passes on this branch (177 routes prerendered, no 404s from the link crawler).

New feature pages written from the 3.3.7 source:
- Routing incoming e-mail: MX vs forwarding address, route name rules,
  the five route modes and their SMTP-time behaviour, additional
  endpoints, processing order, HTTP/SMTP/address endpoint options
  (including the STARTTLS/STARTLS mismatch), retries and bounces
- Mail server settings: Live/Development, retention behaviour and
  defaults, send limits (rolling hour, 90% warning, hourly notices),
  every reason a message can be held and whether release bypasses it,
  suppression list rules, advanced/admin-only settings, suspension,
  deletion
- Sending domains: org vs server domains, DNS and e-mail verification,
  the four DNS checks with exact expected records and statuses, DKIM
  signing and fallback, custom return path for DMARC alignment,
  use_for_any
Documents the install-repo helper script: run/setup/tool commands,
flags, override files and hooks.
Generated from doc/config/yaml.yml at the 3.3.7 tag (111 options across
17 sections) with environment variable names derived using the GROUP_KEY
convention, plus cross-references to the relevant feature pages.

@willpower232 willpower232 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you deal with the conflicts in your PRs and I'll have a look?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants