updated mailbox app password

This commit is contained in:
2026-08-13 07:03:40 +01:00
parent 70fa1a5f2c
commit 70c05cc777
21 changed files with 618 additions and 33 deletions
+9
View File
@@ -89,11 +89,20 @@ func newTestApp(t *testing.T) *App {
serverSec, _ := cfg.NewSection("Server")
serverSec.NewKey("smtp_port", "4025")
serverSec.NewKey("smtp_tls_port", "40465")
serverSec.NewKey("web_http_port", "5000")
serverSec.NewKey("web_https_port", "5001")
serverSec.NewKey("bind_ip", "0.0.0.0")
serverSec.NewKey("time_zone", "UTC")
serverSec.NewKey("hostname", "mail.example.com")
serverSec.NewKey("helo_hostname", "mail.example.com")
serverSec.NewKey("server_banner", "")
imapSec, _ := cfg.NewSection("IMAP")
imapSec.NewKey("imap_port", "1143")
imapSec.NewKey("imap_tls_port", "1993")
rspamdSec, _ := cfg.NewSection("Rspamd")
rspamdSec.NewKey("enabled", "false")
rspamdSec.NewKey("url", "http://127.0.0.1:11333")
rspamdSec.NewKey("reject_score", "15")
dbSec, _ := cfg.NewSection("Database")
dbSec.NewKey("database_url", "sqlite:///server_data/smtp_server.db")
logSec, _ := cfg.NewSection("Logging")