Formatting of codeblocks Signed-off-by: Anirudh Oppiliappan <x@icyphox.sh>
Anirudh Oppiliappan x@icyphox.sh
Fri, 16 Aug 2019 00:15:57 +0530
4 files changed,
20 insertions(+),
7 deletions(-)
M
build/blog/feed.xml
→
build/blog/feed.xml
@@ -74,7 +74,7 @@ <p>But it eventually worked after a couple of attempts.</p>
<p>The next thing I struggled with — DNS. Specifically, the with the step where the DKIM keys are generated<sup class="footnote-ref" id="fnref-2"><a href="#fn-2">2</a></sup>. The output under <br /> -<code>config/opendkim/keys/domain.tld/mail.txt</code> +<code>config/opendkim/keys/domain.tld/mail.txt</code> <br /> isn’t exactly CloudFlare friendly; they can’t be directly copy-pasted into a <code>TXT</code> record. </p>
M
build/blog/mailserver/index.html
→
build/blog/mailserver/index.html
@@ -130,8 +130,12 @@
<p>Yet another hurdle — SSL/TLS certificates. This isn’t very properly documented, unless you read through the <a href="https://github.com/tomav/docker-mailserver/wiki/Installation-Examples">wiki</a> and look at an example. In short, install <code>certbot</code>, have port 80 free, -and run <code>certbot certonly --standalone -d mail.domain.tld</code>. Once that’s -done, edit the <code>docker-compose.yml</code> file to mount <code>/etc/letsencrypt</code> in +and run </p> + +<div class="codehilite"><pre><span></span><code>$ certbot certonly --standalone -d mail.domain.tld +</code></pre></div> + +<p>Once that’s done, edit the <code>docker-compose.yml</code> file to mount <code>/etc/letsencrypt</code> in the container, something like so:</p> <div class="codehilite"><pre><span></span><code><span class="nn">...</span>
M
pages/blog/feed.xml
→
pages/blog/feed.xml
@@ -102,8 +102,12 @@
<p>Yet another hurdle — SSL/TLS certificates. This isn’t very properly documented, unless you read through the <a href="https://github.com/tomav/docker-mailserver/wiki/Installation-Examples">wiki</a> and look at an example. In short, install <code>certbot</code>, have port 80 free, -and run <code>certbot certonly --standalone -d mail.domain.tld</code>. Once that’s -done, edit the <code>docker-compose.yml</code> file to mount <code>/etc/letsencrypt</code> in +and run </p> + +<div class="codehilite"><pre><span></span><code>$ certbot certonly --standalone -d mail.domain.tld +</code></pre></div> + +<p>Once that’s done, edit the <code>docker-compose.yml</code> file to mount <code>/etc/letsencrypt</code> in the container, something like so:</p> <div class="codehilite"><pre><span></span><code><span class="nn">...</span>
M
pages/blog/mailserver.md
→
pages/blog/mailserver.md
@@ -90,8 +90,13 @@
Yet another hurdle --- SSL/TLS certificates. This isn't very properly documented, unless you read through the [wiki](https://github.com/tomav/docker-mailserver/wiki/Installation-Examples) and look at an example. In short, install `certbot`, have port 80 free, -and run `certbot certonly --standalone -d mail.domain.tld`. Once that's -done, edit the `docker-compose.yml` file to mount `/etc/letsencrypt` in +and run + +``` shell +$ certbot certonly --standalone -d mail.domain.tld +``` + +Once that's done, edit the `docker-compose.yml` file to mount `/etc/letsencrypt` in the container, something like so: ```yaml ...