Commit graph

33 commits

Author SHA1 Message Date
Brennan Kinney a0ee472501
docs(chore): Normalize for consistency (#2206)
"Brief" summary/overview of changes. See the PR discussion or individual commits from the PR for more details.

---

Only applies to the `docs/content/**` content (_and `setup` command_). `target/` and `test/` can be normalized at a later date.

* Normalize to `example.com`

- Domains normalized to `example.com`: `mywebserver.com`, `myserver.tld`, `domain.com`, `domain.tld`, `mydomain.net`, `my-domain.tld`, `my-domain.com`, `example.org`, `whoami.com`.
- Alternative domains normalized to `not-example.com`: `otherdomain.com`, `otherdomain.tld`, `domain2.tld`, `mybackupmx.com`, `whoareyou.org`.
- Email addresses normalized to `admin@example.com` (in `ssl.md`): `foo@bar.com`, `yourcurrentemail@gmail.com`, `email@email.com`, `admin@domain.tld`.
- Email addresses normalized to `external-account@gmail.com`: `bill@gates321boom.com`, `external@gmail.com`, `myemail@gmail.com`, `real-email-address@external-domain.com`.
- **`faq.md`:** A FAQ entry title with `sample.domain.com` changed to `subdomain.example.com`.
- **`mail-fetchmail.md`:** Config examples with FQDNs for `imap`/`pop3` used `example.com` domain for a third-party, changed to `gmail.com` as more familiar third-party/external MTA.

* Normalize config volume path

- Normalizing local config path references to `./docker-data/dms/config/`: `./config/`, `config/`, \``config`\`, `/etc/` (_volume mount src path prefix_).
- Normalize DMS volume paths to `docker-data/dms/mail-{data,state,log}`: `./mail`, `./mail-state` `./data/mail`, `./data/state`, `./data/logs`, `./data/maildata`, `./data/mailstate`, `./data/maillogs`, (_dropped/converted data volumes: `maildata`, `mailstate`_).
- Other docker images also adopt the `docker-data/{service name}/` prefix.

* `ssl.md` - Use `dms/custom-certs` where appropriate.

* Apply normalizations to README and example `docker-compose.yml`

---

Common terms, sometimes interchangeably used or now invalid depending on context: `mail`, `mail container`, `mail server`, `mail-server`, `mailserver`,`docker-mailserver`, `Docker Mailserver`.

Rough transformations applied to most matches (_conditionally, depending on context_):

- 'Docker Mailserver' => '`docker-mailserver`'
- 'mail container' => '`docker-mailserver`' (_optionally retaining ' container'_)
- 'mail server' => 'mail-server' / '`docker-mailserver`'
- 'mail-server' => '`docker-mailserver`'
- 'mailserver' => 'mail-server' / '`docker-mailserver`'

Additionally I checked `docker run` (_plus `exec`, `logs`, etc, sub-commands_) and `docker-compose` commands. Often finding usage of `mail` instead of the expected `mailserver`

Additionally changes `mailserver` hostname in k8s to `mail` to align with other non-k8s examples.

---

* drive-by revisions

Mostly minor revisions or improvements to docs that aren't related to normalization effort.
2021-09-23 11:29:37 +12:00
Georg Lauterbach 5449efd8d4
chore(docs): outsourcing environment vars to the documentation (#1948)
Co-authored-by: Frederic Werner <20406381+wernerfred@users.noreply.github.com>
Co-authored-by: Casper <casperklein@users.noreply.github.com>
Co-authored-by: Brennan Kinney <5098581+polarathene@users.noreply.github.com>
2021-05-11 22:15:34 +12:00
Georg Lauterbach 65622c56e9
Better incorporate the new, great documentation (#1878) 2021-04-02 09:44:31 +13:00
wernerfred 463bc967d2 docs(fix): Update wiki references to the new docs url
Additionally replaces old references to `tvial` images with the new `mailserver` docker image name.
2021-03-25 11:49:24 +13:00
wernerfred 724fe72d20 docs: Update metadata and links to new locations
Also removed the FAQ inline heading link for Rancher. It's not a relevant link (as the question already expects knowledge of Rancher), and breaks out of the bg colour heading style due to the HTML generation logic from mkdocs.
2021-03-25 11:49:24 +13:00
wernerfred cc0706a6fa docs: Add a contributing section 2021-03-25 11:49:24 +13:00
polarathene 021e942c4c docs(refactor): Large refactor + additions + fixes
Consistency pass, formatting cleanup and fixes, introduce admonitions, add front-matter.

---

docs: Add front-matter

---

docs: Fix and format links

- Some links were invalid (eg files moved or renamed)
- Some were valid but had invalid section headers (content removed or migrated)
- Some use `http://` instead of `https://` when the website supports a secure connection.
- Some already used the `[name][reference]` convention but often with a number that wasn't as useful for maintenance.
- All referenced docs needed URLs replaced. Opted for the `[name][reference]` approach to group them all clearly at the bottom of the doc, especially with the relative URLs and in some cases many duplicate entries.
- All `tomav` references from the original repo prior to switch to an organization have been corrected.
- Minor cosmetic changes to the `name` part of the URL, such as for referencing issues to be consistent.
- Some small changes to text body, usually due to duplicate URL reference that was unnecessary (open relay, youtous)
- Switched other links to use the `[name][reference]` format when there was a large group of URLs such as wikipedia or kubernetes. Github repos that reference projects related to `docker-mailserver` also got placed here so they're noticed better by maintainers. This also helped quite a bit with `mermaid` external links that are very long.
- There was a Github Wiki supported syntax in use `[[name | link]]` for `fetchmail` page that isn't compatible by default with MkDocs (needs a plugin), converted to `[name][reference]` instead since it's a relative link.

---

docs: Update commit link for LDAP override script

Logic moved to another file, keeping the permalink commit reference so it's unaffected by any changes in the file referenced in future.

---

docs: Heading corrections

Consistency pass. Helps with the Table of Contents (top-right UI) aka Document Outline.
docs: codefence cleanup

---

docs: misc cleanup

---

docs: Add Admonitions

Switches `<details>` usage for collapsible admonitions (`???`) while other text content is switched to the visually more distinct admoniton (`!!!` or `???+`) style.

This does affect editor syntax highlighting a bit and markdown linting as it's custom non-standard markdown syntax.
2021-03-25 11:49:24 +13:00
Georg Lauterbach 6fee0cbd5b Updated Home (markdown) 2021-02-08 16:44:11 +01:00
Georg Lauterbach 1db28eb6fc Updated Home (markdown) 2021-02-08 16:43:54 +01:00
Georg Lauterbach e5aae324cb Updated Home (markdown) 2021-01-27 22:04:49 +01:00
Georg Lauterbach d365f58e19 adjusting to the migrated repo and improvements 2021-01-27 22:02:56 +01:00
Jean-Denis Vauguet 56c0eac64c Updated Home (markdown) 2020-06-09 22:15:25 +02:00
17Halbe ae213ce284 Updated Home (markdown) 2018-04-18 17:30:44 +02:00
Thomas VIAL 3c5c309fe0 Updated Home (markdown) 2016-12-24 14:59:51 +01:00
Thomas VIAL d8257d8985 Avoid lack of update, link to original README. 2016-12-24 14:58:42 +01:00
Josef Friedrich 9149f5afa7 Add syntax highlighting for docker-compose.yml 2016-09-07 19:41:07 +02:00
Thomas VIAL 92a206a253 Updated Home (markdown) 2016-08-23 11:51:43 +02:00
Thomas VIAL b8a31a801b Updated Home (markdown) 2016-08-21 22:11:11 +02:00
Thomas VIAL feeb0aba6e Updated Home (markdown) 2016-08-18 09:54:38 +02:00
Thomas VIAL def7b55647 Updated Home (markdown) 2016-06-14 18:04:21 +02:00
Thomas Schmit 049c9a8311 Create the postfix-accounts.cf file before using Docker 2016-05-15 13:08:50 +02:00
Thomas VIAL f82e56f75b Updated Home (markdown) 2016-05-09 09:27:34 +02:00
Alexey Bednyakov 756c6e3af2 This was a bit confusing 2016-05-09 06:21:39 +04:00
Tobias Rittig df0ad1ebfd #Fix shadowing of local opendkim folder over ./config/opendkim/ 2016-05-01 15:19:33 +02:00
Thomas VIAL e8df790cfe Updated Home (markdown) 2016-04-24 17:12:14 +02:00
Thomas VIAL e9181e696b Initial Home page 2016-04-24 17:10:27 +02:00
Thomas VIAL d48cff3f4b Updated Home (markdown) 2016-04-24 17:08:53 +02:00
Thomas VIAL 5354a1f3cc Updated Home (markdown) 2016-04-24 17:08:15 +02:00
Thomas VIAL ba01741d8e Updated Home (markdown) 2016-04-24 17:07:54 +02:00
Thomas VIAL 14cf4b2353 Updated Home (markdown) 2016-02-10 09:54:57 +01:00
Thomas VIAL 64feb9421b Updated Home (markdown) 2016-02-10 09:44:50 +01:00
Thomas VIAL fe40e08a90 Updated Home (markdown) 2016-02-10 09:44:33 +01:00
Thomas VIAL 4a0c200193 Initial Home page 2016-02-01 15:02:34 +01:00