2b84a8a493
The user works in German but wants the artefacts in English throughout.
Translated were roughly 1,500 lines: every comment in the configuration
files, all comments in the Go sources, both shell scripts, and the three
manuals.
Renamed along with it, so nothing is left half-translated:
- install/vorlagen-pruefen -> install/verify-templates
- install/mailserver.conf.beispiel -> install/mailserver.conf.example
- docs/betrieb.md -> docs/operations.md
- shell functions and variables (schritt/abbruch/einsetzen/ZIEL/BEHALTEN
-> stage/die/deploy/DEST/KEEP), the ten installer stages, the Dovecot
quota root "Postfach" -> "Mailbox" and the sieve_script names
lernspam/lernham -> learnspam/learnham
- the comment headers that mailctl writes into the generated map files
Two things this dug up while translating:
- Perl treats $) and $/ as variables. A careless s{}{} put a NUL byte into
the regular expression documented in lang.go and mangled a line in
list.go. Both repaired; the sources were checked for NUL bytes and the
generated maps compared against the previous ones - the expressions
themselves are unchanged.
- The map files are only rewritten on a change, so their German headers
survived the first pass. Regenerated and verified line by line.
The origin server was brought along in the same step: configuration
deployed, Sieve scripts recompiled, mailctl rebuilt, services reloaded,
maps regenerated. Checked afterwards: postfix check, doveconf -n,
nft -c, unbound-checkconf, rspamadm configtest all pass; block list and
language filter still fire; a test message went through the full chain
into the mailbox. install/verify-templates reports 37 files identical,
no differences at all.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
44 lines
1.5 KiB
Plaintext
44 lines
1.5 KiB
Plaintext
# Site data for the installation.
|
|
#
|
|
# Copy to mailserver.conf, fill in, then:
|
|
# sudo install/mailserver-install
|
|
#
|
|
# Without this file the installer asks for the values in the terminal.
|
|
|
|
|
|
# Fully qualified name of this server. The TLS certificate is issued for this
|
|
# name, the PTR record has to point at it, and mail clients enter it as their
|
|
# server.
|
|
#
|
|
# It MUST already resolve to this server's address in DNS, otherwise Let's
|
|
# Encrypt cannot issue a certificate.
|
|
MAILHOST="mail.example.com"
|
|
|
|
# The first mail domain - the part after the @ in the mail addresses.
|
|
# Further domains later with: mailctl domain add <domain>
|
|
MAILDOMAIN="example.com"
|
|
|
|
# Public IPv4 address of the server.
|
|
# Leave empty and the installer works it out itself.
|
|
SERVER_IP=""
|
|
|
|
# The port the SSH daemon listens on. The firewall opens exactly this one.
|
|
#
|
|
# CAREFUL: a wrong value locks you out of your own session the moment the
|
|
# firewall is enabled. The installer therefore checks that an sshd really is
|
|
# listening on that port, and stops if not.
|
|
SSH_PORT="22"
|
|
|
|
# Address for the expiry warnings from Let's Encrypt.
|
|
# Leave empty to use postmaster@$MAILDOMAIN.
|
|
ACME_EMAIL=""
|
|
|
|
# Quota of the first mailbox (postmaster@$MAILDOMAIN).
|
|
POSTMASTER_QUOTA="1G"
|
|
|
|
# Languages allowed by the language filter, separated by spaces. Any other
|
|
# DETECTED language scores +6 and lands in the Junk folder; when no language
|
|
# is detected at all, nothing happens.
|
|
# Leave empty to switch the filter off.
|
|
ALLOWED_LANGUAGES="de en"
|