Conversation
Contributor
|
I'll have a look at this once the other PRs are sorted, thanks for your attention! |
Separate Postal infrastructure from sending-domain configuration, document production and migration authentication policies, add email hardening guidance, expand the postal.yml reference, improve cURL examples, and fix navigation order.
Author
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.
Clarify Postal DNS, sending domains, configuration, DMARC, and API usage
Summary
This PR reorganizes and clarifies the current Postal documentation without changing Postal application behavior. The goal is to make a new production installation easier to configure correctly and to remove ambiguity between the Postal installation hostname, Postal infrastructure DNS, sending domains, authentication policy, configuration parameters, and the HTTP API.
The documentation keeps
postal.example.comas the canonical hostname, matching the default Postal configuration. It explicitly notes that a deployment may choose another stable hostname such asmail.example.com, but that hostname choice is independent fromdkim_identifier,domain_verify_prefix,custom_return_path_prefix, and sending-domain-derived DNS records.Changes
Installation and configuration reference
postal.example.comas the canonical example.mail.example.comis an alternative hostname, not a replacement for unrelated DNS prefixes inpostal.yml.doc/config/yaml.yml, including defaults, expected value types, security considerations, and operational notes. Explicitly state that current Postal 3.x configuration is YAML-based and that this reference must track the source configuration file.DNS configuration
mx1/mx2are examples, not requirements.domain_verify_prefixis part of the verification TXT value, not a DNS hostname.dns.dkim_identifier; usepostal default-dkim-recordand publish its exact output.-alland retain~allas a migration/soft-fail option.Sending domain configuration
postal.ymlsetting.p=none,p=quarantine) and hardened policy (p=reject,sp=reject,pct=100).aspf=r) and sending-domain DKIM (adkim=s).HELO/EHLOidentity note, and a note about DMARC external-reporting authorization when a report address is outside the protected domain.API documentation
success,parameter-error, anderror, and keep action-specific validation errors in the individual action documentation.X-Server-API-Keyauthentication.GET /api/v1/messages/messageto use query parameters rather than a JSON request body.Navigation
The Getting Started section currently contains a duplicate
2.3position. With the new sending-domain page, the intended order becomes:The DNS page remains
2.3; only the duplicated upgrade positions are shifted.Compatibility / scope
doc/config/yaml.yml; the source configuration file remains authoritative for defaults and future changes.