From 7fe65f126f15493bb5f7f3b9a6785b147669861d Mon Sep 17 00:00:00 2001 From: Christoph Haas Date: Wed, 20 Aug 2025 19:26:53 +0200 Subject: [PATCH] started working on database page --- .../docs/ispmail-trixie/155-database.mdx | 257 +++++++++++++----- 1 file changed, 182 insertions(+), 75 deletions(-) diff --git a/src/content/docs/ispmail-trixie/155-database.mdx b/src/content/docs/ispmail-trixie/155-database.mdx index 407c4e4..f2e97ee 100644 --- a/src/content/docs/ispmail-trixie/155-database.mdx +++ b/src/content/docs/ispmail-trixie/155-database.mdx @@ -7,91 +7,198 @@ sidebar: --- import { Aside } from "@astrojs/starlight/components"; +import { Tabs, TabItem } from "@astrojs/starlight/components"; -Your mail server must know which domains and email addresses it is responsible for, so it can reject emails sent to -non-existent users. That information will be put into a database. We are using MariaDB for that purpose. +Now it’s time to prepare the MariaDB database that stores the information that controls your mail server. In the process +you will have to enter [SQL](http://en.wikipedia.org/wiki/SQL) queries – the language of relational database servers. +You may enter them in a terminal window using the ‘mariadb’ command. But if you are less experienced with SQL you may +prefer using a web interface. That’s what you installed _[Adminer](https://www.adminer.org/)_ for. TODO: link to Adminer +setup in a later section -The database will contain three tables: +