From 5eaa855d64c1e2611ee9bc6ae81ba4256ef70858 Mon Sep 17 00:00:00 2001 From: Christoph Haas Date: Fri, 15 Aug 2025 18:46:07 +0200 Subject: [PATCH] minor formatting --- .../ispmail-trixie/140-install-packages.md | 5 ++- .../ispmail-trixie/150-virtual-domains.md | 2 -- .../docs/ispmail-trixie/155-sqlite.mdx | 33 +++++++------------ 3 files changed, 14 insertions(+), 26 deletions(-) diff --git a/src/content/docs/ispmail-trixie/140-install-packages.md b/src/content/docs/ispmail-trixie/140-install-packages.md index f241178..858688b 100644 --- a/src/content/docs/ispmail-trixie/140-install-packages.md +++ b/src/content/docs/ispmail-trixie/140-install-packages.md @@ -17,11 +17,10 @@ DEBIAN_FRONTEND=noninteractive \ crowdsec crowdsec-firewall-bouncer unattended-upgrades ``` -While the server is downloading and installing the packages, let me give you a quick explanation: +While the server is downloading and installing the packages, let me give you a quick explanation of each package: - postfix-sqlite \ - Postfix is the MTA (mail transport agent) that speaks SMTP to send and receive emails. This package allows Postfix to - access SQLite databases. + Postfix is the MTA (mail transport agent) that speaks SMTP to send and receive emails. This package installs Postfix with support for SQLite databases. - dovecot \ Dovecot manages the emsrc/content/docs/ispmail-trixie/140-install-packages.mdx emails using IMAP. - -lmtpd \ diff --git a/src/content/docs/ispmail-trixie/150-virtual-domains.md b/src/content/docs/ispmail-trixie/150-virtual-domains.md index 6e71e0a..9d6f664 100644 --- a/src/content/docs/ispmail-trixie/150-virtual-domains.md +++ b/src/content/docs/ispmail-trixie/150-virtual-domains.md @@ -6,8 +6,6 @@ sidebar: order: 150 --- -import { Aside } from "@astrojs/starlight/components"; - Your mail server will have one fully qualified domain name — for example, `postbox.example.com`. In this case, the base domain is `example.com`. If someone visits `https://example.com/`, they might be greeted by the Roundcube webmail login page. diff --git a/src/content/docs/ispmail-trixie/155-sqlite.mdx b/src/content/docs/ispmail-trixie/155-sqlite.mdx index 6e71e0a..1318218 100644 --- a/src/content/docs/ispmail-trixie/155-sqlite.mdx +++ b/src/content/docs/ispmail-trixie/155-sqlite.mdx @@ -1,30 +1,21 @@ --- -title: Virtual domains +title: SQLite Database lastUpdated: 2025-08-14 -slug: ispmail-trixie/virtual-domains +slug: ispmail-trixie/sqlite sidebar: - order: 150 + order: 155 --- import { Aside } from "@astrojs/starlight/components"; -Your mail server will have one fully qualified domain name — for example, `postbox.example.com`. In this case, the base -domain is `example.com`. If someone visits `https://example.com/`, they might be greeted by the Roundcube webmail login -page. +Your mail server must know which domains and email addresses it is responsible for, so it can reject spam sent to +non-existent users. That information will be put into an SQLite database file that will be located at +`/var/vmail/ispmail.sqlite`. -But your server doesn’t have to handle only one domain. You might have users like: + -- `jack@example.com` -- `lucy@example.com` -- `tina@example.org` -- `jeff@example.net` - -These are three different domains, and your server can handle them all. - -This is what _virtual domains_ are for. You give your mail server a list of domains and email addresses and it will -receive emails for them. Your users will also have passwords that they need to type in to retrieve their emails. You can -even set up mailing lists that take messages sent to one address and forward them to several users at once. - -To make all this work, we’ll store the configuration in a small SQLite database file. Postfix, Dovecot, and Roundcube -will all read from this database to know which domains exist, which users they have, and where each email should go. You -will create that simple database on the next page.