4
Stalwart / Stalwart (amd64, x86_64, cicd.any, bookworm trixie noble, main) (push) Failing after 29s
Stalwart / Stalwart (arm64, aarch64, cicd.any, bookworm trixie noble, main) (push) Failing after 28s

This commit is contained in:
Cantibra
2026-06-12 18:09:45 +02:00
parent 3fde1e23ba
commit 9a6feb3990
6 changed files with 42 additions and 99 deletions
+6 -1
View File
@@ -22,14 +22,19 @@ GROUP='stalwart'
PIDFOLDER="/run/${NAME}"
PIDFILE="${PIDFOLDER}/${NAME}.pid"
DAEMON='/usr/sbin/stalwart'
DAEMON_CONFIG='/etc/stalwart.toml'
DAEMON_CONFIG='/etc/stalwart/config.json'
DAEMON_OPTS="--config ${DAEMON_CONFIG}"
ENVIRONMENT='/etc/stalwart/stalwart.env'
set -e
[ -f "${DAEMON_CONFIG}" ]
[ -f "${ENVIRONMENT}" ]
. '/lib/lsb/init-functions'
set -a
. "${ENVIRONMENT}"
set +a
[ -x "${DAEMON}" ]
-71
View File
@@ -1,71 +0,0 @@
[server.listener.smtp]
bind = "[::]:25"
protocol = "smtp"
[server.listener.submission]
bind = "[::]:587"
protocol = "smtp"
[server.listener.submissions]
bind = "[::]:465"
protocol = "smtp"
tls.implicit = true
[server.listener.imap]
bind = "[::]:143"
protocol = "imap"
[server.listener.imaptls]
bind = "[::]:993"
protocol = "imap"
tls.implicit = true
[server.listener.pop3]
bind = "[::]:110"
protocol = "pop3"
[server.listener.pop3s]
bind = "[::]:995"
protocol = "pop3"
tls.implicit = true
[server.listener.sieve]
bind = "[::]:4190"
protocol = "managesieve"
[server.listener.https]
protocol = "http"
bind = "[::]:8443"
tls.implicit = true
[server.listener.http]
protocol = "http"
bind = "[::]:80"
[storage]
data = "rocksdb"
fts = "rocksdb"
blob = "rocksdb"
lookup = "rocksdb"
directory = "internal"
[store.rocksdb]
type = "rocksdb"
path = "/var/lib/stalwart"
compression = "lz4"
[directory.internal]
type = "internal"
store = "rocksdb"
[tracer.log]
type = "log"
level = "info"
path = "/var/log/stalwart"
prefix = "stalwart.log"
rotate = "never"
ansi = false
enable = true
[authentication.fallback-admin]
user = "root"
+30
View File
@@ -0,0 +1,30 @@
# Environment variables for the Stalwart service.
# Uncomment and edit an entry to override its default.
# Override the hostname used in HTTP responses
STALWART_HOSTNAME=mail.example.com
# Override the public base URL published in OAuth, OIDC, and JMAP discovery
# documents. Accepts scheme, host, optional port, and optional path prefix.
STALWART_PUBLIC_URL=https://mail.example.com
# Enable bootstrap / recovery mode on startup. Accepted: 1, true. Default: false.
STALWART_RECOVERY_MODE=false
# Log level while in recovery mode. Default: info.
STALWART_RECOVERY_MODE_LOG_LEVEL=info
# HTTP port used in recovery mode. Default: 8080.
STALWART_RECOVERY_MODE_PORT=8080
# Fixed administrator credentials — format: username:password
# Default: a temporary random password is generated and printed to the logs.
#STALWART_RECOVERY_ADMIN=admin:changeme
# Cluster role assigned to this node. Must match a role name defined in the
# cluster registry. Leave unset for a standalone (non-clustered) deployment.
STALWART_ROLE=standalone
# Push-notification shard this node is responsible for, when running in a
# cluster.
STALWART_PUSH_SHARD=0