Files
2026-11-03 16:52:28 +01:00

158 lines
3.7 KiB
TOML

host = "127.0.0.1"
port = 8080
environment = "development"
default_language = "en"
base_path = "/"
[database]
backend = "sqlite"
path = ".dev/postfixadmin-rs.sqlite"
dev_mock = true
read_only = false
use_ssl = false
verify_server_cert = true
prefix = ""
max_connections = 1
[password]
# Development default. Existing hashes are auto-detected independently of this setting.
scheme = "ARGON2ID"
doveadm = "/usr/bin/doveadm"
authlib_default_flavor = "md5raw"
min_length = 5
min_letters = 3
min_digits = 2
[smtp]
host = "localhost"
port = 25
kind = "plain"
username = ""
password = ""
client_name = "postfixadmin-rs.dev"
admin_email = "admin@example.test"
admin_name = "Postmaster"
[features]
quota = true
domain_quota = true
transport = true
vacation = true
vacation_control = true
vacation_control_admin = true
edit_alias = true
alias_control = true
alias_control_admin = true
special_alias_control = true
alias_domain = true
backup = false
sendmail = false
sendmail_all_admins = false
logging = true
fetchmail = true
fetchmail_extra_options = false
emailcheck_resolve_domain = false
emailcheck_localaliasonly = false
show_status = true
show_undeliverable = true
show_popimap = true
show_vacation = true
show_disabled = true
show_expired = true
totp = true
app_passwords = true
dkim = true
dkim_all_admins = true
forgotten_user_password_reset = true
forgotten_admin_password_reset = true
used_quotas = true
new_quota_table = true
xmlrpc = false
password_expiration = true
domain_dns_status_check = 1
smtp_active_flag = true
generate_password = true
show_password = false
edit_mailbox_name = true
domain_list_hide_maxquota = false
domain_list_hide_password_expiry = false
[defaults]
aliases = 100
mailboxes = 100
maxquota_mb = 1024
domain_quota_mb = 10240
quota_multiplier = 1024000
quota_level_med_pct = 55
quota_level_high_pct = 90
page_size = 25
domain_path = true
domain_in_mailbox = false
maildir_template = ""
create_mailbox_subdirs = []
create_mailbox_subdirs_prefix = ""
transport_default = "virtual"
transport_options = ["virtual", "local", "relay"]
vacation_domain = "autoreply.example.test"
default_aliases = { abuse = "admin@example.test", hostmaster = "admin@example.test", postmaster = "admin@example.test", webmaster = "admin@example.test" }
welcome_text = "Development mailbox created by PostfixAdmin RS.\n"
recipient_delimiter = "+"
show_undeliverable_exceptions = []
show_custom_domains = []
motd_user = ""
motd_admin = ""
motd_superadmin = ""
[security]
session_timeout_minutes = 1440
cookie_secure = false
login_attempts = 30
login_window_seconds = 300
request_body_limit_mb = 4
allow_legacy_shell_hooks = false
allow_unsafe_alias_destinations = false
[hooks]
mailbox_postcreation = []
mailbox_postedit = []
mailbox_postdeletion = []
mailbox_postpassword = []
mailbox_post_totp_change = []
mailbox_post_totp_exception_add = []
mailbox_post_totp_exception_delete = []
mailbox_post_app_password = []
domain_postcreation = []
domain_postedit = []
domain_postdeletion = []
[backup]
mysql_dump = "/usr/bin/mysqldump"
pg_dump = "/usr/bin/pg_dump"
[sieve]
# Optional ManageSieve filters for mailbox users. No IMAP access is used.
enabled = false
host = "127.0.0.1"
port = 4190
tls_mode = "starttls" # starttls | implicit | none
allow_insecure_auth = false
timeout_secs = 10
read_only = false
[dkim]
# UI opened first when both implementations are enabled: postfixadmin | rspamd
default_backend = "postfixadmin"
[rspamd_dkim]
enabled = true
rspamadm = "/usr/bin/rspamadm"
key_dir = ".dev/rspamd/dkim"
signing_config = ".dev/rspamd/dkim_signing.conf"
selector_map = ".dev/rspamd/postfixadmin-rs-selectors.map"
path_map = ".dev/rspamd/postfixadmin-rs-paths.map"
default_selector = "mail"
key_bits = 2048
reload_command = []
dev_mock = true