Files
sharedinbox/stalwart-dev/config.toml
Thomas Güttler ae5a48016c Fix Android deployment pipeline and integration tests
- Run integration tests sequentially in Taskfile.yml to avoid port 4190 (ManageSieve) conflict.
- Add ManageSieve listener to Stalwart config for better test coverage.
- Increase Android emulator boot timeout and add software-mode flags (-accel off, -no-boot-anim, -gpu swiftshader_indirect) to accommodate environments without KVM.
- Update LATER.md with notes on software emulation performance.
2026-05-06 21:54:41 +02:00

82 lines
1.8 KiB
TOML

# Minimal Stalwart Mail configuration for local development and integration tests.
#
# Do not start directly — use stalwart-dev/start, which substitutes $STALWART_PORT
# and writes a per-clone config into /tmp/stalwart-dev-PORT/ before starting.
#
# Check: curl http://localhost:$STALWART_PORT/.well-known/jmap
#
# HTTP only — localhost testing, no TLS.
# Two test accounts (alice, bob) for multi-account sync tests.
[server]
hostname = "localhost"
[[server.listener]]
id = "jmap"
bind = ["127.0.0.1:8080"]
protocol = "http"
[[server.listener]]
id = "imap"
bind = ["127.0.0.1:1430"]
protocol = "imap"
[[server.listener]]
id = "smtp"
bind = ["127.0.0.1:1025"]
protocol = "smtp"
[[server.listener]]
id = "managesieve"
bind = ["127.0.0.1:4190"]
protocol = "managesieve"
[store."db"]
type = "sqlite"
path = "/tmp/stalwart-dev/data.sqlite"
[storage]
data = "db"
fts = "db"
blob = "db"
lookup = "db"
directory = "memory"
[tracer."stdout"]
type = "stdout"
level = "warn"
ansi = false
enable = true
[directory."memory"]
type = "memory"
[[directory."memory".principals]]
class = "individual"
name = "alice@example.com"
secret = "secret"
email = ["alice@example.com"]
[[directory."memory".principals]]
class = "individual"
name = "bob@example.com"
secret = "secret"
email = ["bob@example.com"]
[authentication.fallback-admin]
user = "admin"
secret = "admin"
# Allow LOGIN/PLAIN on the clear-text dev ports (no TLS in local test env).
# By default Stalwart only advertises PLAIN/LOGIN when is_tls — override that.
[imap.auth]
allow-plain-text = true
[session.auth]
mechanisms = "[plain, login, oauthbearer, xoauth2]"
allow-plain-text = true
# Disable rate limiting for local development/testing.
[authentication.rate-limit]
enable = false