diff options
author | martin@ashbysoft.com <martin@ashbysoft.com> | 2021-09-17 21:28:05 +0000 |
---|---|---|
committer | martin@ashbysoft.com <martin@ashbysoft.com> | 2021-09-17 21:28:05 +0000 |
commit | 6599d60b414688475cb07597bfe0446e1543e47d (patch) | |
tree | a9bd30ca9dbbc01b42b2f150a28a69dde317e562 /old | |
parent | 76599fc5a52c398c547d0b0bd65f7e9055a745b7 (diff) | |
download | mfashby.net-6599d60b414688475cb07597bfe0446e1543e47d.tar.gz mfashby.net-6599d60b414688475cb07597bfe0446e1543e47d.tar.bz2 mfashby.net-6599d60b414688475cb07597bfe0446e1543e47d.tar.xz mfashby.net-6599d60b414688475cb07597bfe0446e1543e47d.zip |
Empty directory, prepare for hugo conversion
Diffstat (limited to 'old')
-rw-r--r-- | old/_posts/2018-05-31-new-site.markdown | 15 | ||||
-rw-r--r-- | old/_posts/2018-06-01-mailu.md | 53 | ||||
-rw-r--r-- | old/_posts/2018-06-02-unicornpaint.md | 12 | ||||
-rw-r--r-- | old/about.md | 7 | ||||
-rw-r--r-- | old/assets/mailu_screenshot.png | bin | 0 -> 146724 bytes | |||
-rw-r--r-- | old/assets/reprap.jpg | bin | 0 -> 642610 bytes | |||
-rw-r--r-- | old/assets/unicorn.gif | bin | 0 -> 1564408 bytes | |||
-rw-r--r-- | old/assets/unicorn1.jpg | bin | 0 -> 992877 bytes | |||
-rw-r--r-- | old/assets/unicorn2.jpg | bin | 0 -> 1374406 bytes | |||
-rw-r--r-- | old/assets/unicorn3.jpg | bin | 0 -> 1449703 bytes | |||
-rw-r--r-- | old/assets/unicorn_small.gif | bin | 0 -> 25003 bytes | |||
-rw-r--r-- | old/index.md | 9 |
12 files changed, 96 insertions, 0 deletions
diff --git a/old/_posts/2018-05-31-new-site.markdown b/old/_posts/2018-05-31-new-site.markdown new file mode 100644 index 0000000..bcdd652 --- /dev/null +++ b/old/_posts/2018-05-31-new-site.markdown @@ -0,0 +1,15 @@ +--- +layout: post +title: "New Site" +date: 2018-05-31 17:51:07 +0100 +categories: jekyll update +--- + +I'm intending to write more online about the stuff I tinker with. + +You can expect posts about +* what I do with my [Raspberry Pi](https://www.raspberrypi.org), +* websites and servers that I run including [my wife's blog](https://heyworlditshenry.com) and my [email server](https://mail.mfashby.net) +* more physical projects like getting a [RepRap](https://reprap.org/) up and running + +![reprap from above]({{ "/assets/reprap.jpg" | absolute_url }})
\ No newline at end of file diff --git a/old/_posts/2018-06-01-mailu.md b/old/_posts/2018-06-01-mailu.md new file mode 100644 index 0000000..20c655d --- /dev/null +++ b/old/_posts/2018-06-01-mailu.md @@ -0,0 +1,53 @@ +--- +layout: post +title: "Mailu" +date: 2018-06-01 20:17:00 +0100 +categories: jekyll update +--- + +## My search for an email server + +![Rainloop Screenshot]({{ "/assets/mailu_screenshot.png" | absolute_url }}) + +A big theme in the news recently is data protection, how your personal data is being used (and abused), and taking back control of your data. Part of the problem is that people's personal data is kept in huge private corporate networks, and historically companies have been able to do (essentially) whatever they like with it. I started investigating how difficult it would be to really re-take control of my personal data - beginning with my email. + +Email is complicated: this is because it is old, and it has changed over time. [One of the first articles I found](https://www.digitalocean.com/community/tutorials/why-you-may-not-want-to-run-your-own-mail-serve) is a quick rundown of how complex the email system is. [Ars technica][ars-technica-guide] ran a guide for setting up your own email server: + +>Why do battle with arcane dragons to roll your own e-mail solution? + +The arcane dragons are the pieces of software that have become the most popular choices for email servers. A typical email server configuration contains the following pieces of open-source software: dovecot, postfix, spamassassin, clamav, sendmail, roundcube, mysql. Each of them fills a different role in the email system, and each of them can be configured to operate in many different ways. + +I began setting up my email server in this way, however I gave up pretty quickly: I found that walkthroughs on the internet were often out of date, and configuration options had changed or been removed. I also found it really difficult to understand from the guides how all the pieces of the puzzle fit together. I started looking for alternative routes. + +Microsoft Exchange Server fulfils all the roles of the separate open-source components in a single piece of software. This sounds much easier to configure: however I don't have a Windows server, and nor do I want to pay licensing costs for it. + +I started looking for an open-source project that fulfils the same role. I found [Maddy](https://github.com/emersion/maddy), inspired by the new minimal-configuration http/2 server [Caddy][caddy]. Sadly, the project is seriously incomplete right now, but the principle sounds great: a self-contained email server with minimal configuration conforming to best practices by default. + +Although I made a [little effort](https://github.com/MFAshby/gomail) to cobble together this project into a working email server, I discovered this was a much bigger task than I had anticipated. I discovered some more arcane dragons in the form of the email standards for SMTP and IMAP. These are old, stateful protocols with many extensions, versions and awkward syntax. Modern systems are built with REST APIs for a reason: they are much quicker for the developer to understand and build with (they are also way easier to load balance, due to the lack of state) + +I came back around to the idea of using the existing software, but this time I started looking for pre-configured systems. I discovered [iRedMail][iredmail] which claims to turn a fresh Debian or Ubuntu install into a working email server. This isn't bad, but I want to run a few other services from my Raspberry as well, and I'd rather not clobber them by re-installing Debian. + +This approach actually leads really neatly onto the last solution I tried, and the one I actually have working: [Mailu][mailu]. This project provides all the same open-source email components (postfix, dovecot), but pre-configured and packaged as [Docker][docker] images. I feel like this is the best approach for a few reasons: + +* You don't need a fresh Debian install, you just need a working Docker host. +* The hard configuration has been done for you. Just a single config file with a few easy to understand options is required. +* It's portable: copy over the mailu directory and the docker-compose.yml file to another machine, execute `docker-compose up -d` and it's back online with all the same accounts. +* An admin interface is included. +* It's open source so you can check if it conforms to current security practices, and modify it if you need to. +* The maintainer [kaiyou](https://github.com/kaiyou) is very helpful, and gratefully accepts pull requests. + +Although the project didn't work out of the box with Raspberry Pi this was a pretty easy thing to fix. I now maintain a permanent fork of mailu for Raspberry Pi over [here][mailu-rpi] + +[rpi]:https://www.raspberrypi.org/ +[dovecot-basic]:https://wiki.dovecot.org/BasicConfiguration +[ars-technica-guide]:https://arstechnica.com/information-technology/2014/02/how-to-run-your-own-e-mail-server-with-your-own-domain-part-1/ +[golang]:https://golang.org/ +[caddy]:https://caddyserver.com/ +[gomail]:https://github.com/MFAshby/gomail +[emersion]:https://github.com/emersion +[maddy]:https://github.com/emersion/maddy +[caddy-forum-non-http]:https://caddy.community/t/server-types-other-than-http/65/7 +[iredmail]:https://www.iredmail.org/ +[mailu]:https://github.com/Mailu/Mailu +[docker]:http://docker.io/ +[mailu-rpi]:https://github.com/MFAshby/mailu
\ No newline at end of file diff --git a/old/_posts/2018-06-02-unicornpaint.md b/old/_posts/2018-06-02-unicornpaint.md new file mode 100644 index 0000000..059cd0a --- /dev/null +++ b/old/_posts/2018-06-02-unicornpaint.md @@ -0,0 +1,12 @@ +--- +layout: post +title: "Unicorn Paint" +date: 2018-06-02 22:33:00 +0100 +categories: jekyll update +--- + +See [unicornpaint] for details. I'll write about this later... + +![animated image]({{ "/assets/unicorn.gif" | absolute_url }}) + +[unicornpaint]:https://unicorn.mfashby.net
\ No newline at end of file diff --git a/old/about.md b/old/about.md new file mode 100644 index 0000000..832b8e5 --- /dev/null +++ b/old/about.md @@ -0,0 +1,7 @@ +--- +layout: page +title: About +permalink: /about/ +--- + +My blog! diff --git a/old/assets/mailu_screenshot.png b/old/assets/mailu_screenshot.png Binary files differnew file mode 100644 index 0000000..97541cc --- /dev/null +++ b/old/assets/mailu_screenshot.png diff --git a/old/assets/reprap.jpg b/old/assets/reprap.jpg Binary files differnew file mode 100644 index 0000000..f6ca8dd --- /dev/null +++ b/old/assets/reprap.jpg diff --git a/old/assets/unicorn.gif b/old/assets/unicorn.gif Binary files differnew file mode 100644 index 0000000..5dab1c7 --- /dev/null +++ b/old/assets/unicorn.gif diff --git a/old/assets/unicorn1.jpg b/old/assets/unicorn1.jpg Binary files differnew file mode 100644 index 0000000..e44bf60 --- /dev/null +++ b/old/assets/unicorn1.jpg diff --git a/old/assets/unicorn2.jpg b/old/assets/unicorn2.jpg Binary files differnew file mode 100644 index 0000000..ff64679 --- /dev/null +++ b/old/assets/unicorn2.jpg diff --git a/old/assets/unicorn3.jpg b/old/assets/unicorn3.jpg Binary files differnew file mode 100644 index 0000000..aff166a --- /dev/null +++ b/old/assets/unicorn3.jpg diff --git a/old/assets/unicorn_small.gif b/old/assets/unicorn_small.gif Binary files differnew file mode 100644 index 0000000..4334034 --- /dev/null +++ b/old/assets/unicorn_small.gif diff --git a/old/index.md b/old/index.md new file mode 100644 index 0000000..a5f9544 --- /dev/null +++ b/old/index.md @@ -0,0 +1,9 @@ +--- +# Feel free to add content and custom Front Matter to this file. +# To modify the layout, see https://jekyllrb.com/docs/themes/#overriding-theme-defaults + +layout: home +--- +I like to tinker with tech stuff, and I write about it here. + +![small unicorn HAT image]({{ "/assets/unicorn_small.gif" | absolute_url }}) |