40 lines
778 B
YAML
40 lines
778 B
YAML
# config/config.test.yml
|
|
# Local test configuration — uses /tmp, no system paths, no root required.
|
|
# Usage: ./bin/mailarchived --config config/config.test.yml
|
|
|
|
storage:
|
|
path: /tmp/mailarchive-test/store
|
|
users_db: /tmp/mailarchive-test/users.db
|
|
audit_db: /tmp/mailarchive-test/audit.db
|
|
max_size_mb: 100
|
|
compression: false
|
|
|
|
smtp:
|
|
enabled: true
|
|
bind: ":2525"
|
|
domain: "localhost"
|
|
tls_cert: ""
|
|
tls_key: ""
|
|
max_size_mb: 10
|
|
|
|
# No IMAP for local testing
|
|
imap: []
|
|
|
|
api:
|
|
bind: ":8080"
|
|
secret: "dev-secret-change-in-production-min32"
|
|
tls: false
|
|
|
|
index:
|
|
path: /tmp/mailarchive-test/index
|
|
backend: bleve
|
|
batch_size: 10
|
|
async_queue_size: 100
|
|
|
|
auth:
|
|
ldap: null # disabled for local testing
|
|
|
|
logging:
|
|
path: /tmp/mailarchive-test/logs
|
|
level: debug
|