Alle Schlüssel liegen unter MailServer in data\appsettings.json. Angegeben ist der Standardwert im Programm; fehlt ein Schlüssel, gilt er. Unterabschnitte schreiben Sie als Objekt ("Acme": { "Enabled": true }) oder im Dashboard unter Server-Einstellungen im Dashboard.
Hauptebene
| Schlüssel | Standard | Bedeutung |
|---|
| Hostname | mail.local | öffentlicher Name: Begrüßung, Received, Message-ID; passend zum PTR |
| HeloHostname | (leer = Hostname) | Name beim Senden (EHLO) |
| WebHost / WebPort | 0.0.0.0 / 4567 | Dashboard |
| DomainPortalPort | 79 (Vorlage 8080) | Portal, Webmail, /mcp, ACME HTTP-01; 0 = aus |
| SignalRPort | 8082 | Push-Hub; 0 = kein eigener Port |
| SmtpPort / SmtpImplicitTlsPort / SmtpSubmissionPort | 2525 / 2465 / 587 (Vorlage 25 / 465) | SMTP STARTTLS, SMTPS, Submission (0 = aus) |
| ImapPort / ImapImplicitTlsPort | 2143 / 2993 (Vorlage 143 / 993) | IMAP STARTTLS, IMAPS |
| CertificatePath / CertificatePassword | certs/server.pfx | Zertifikat; ACME schreibt hierhin |
| DataDirectory / MessageRoot | data / data/messages | Daten- und Ablageordner |
| MaxMessageSizeMb | 200 | 1–2048 |
| MinPasswordLength | 8 | 1–64 |
| SpamMessage | Hinweis auf X-FREE-SPAM | Zusatz zur Spam-Ablehnung |
| SmtpTraceLevel | Commands | Off, Session, Commands, Full |
| Autopostfach | [] | freigegebene Ordner für [Name] |
| SpamQuarantineMaxRetries | 20 | danach 550; 0 = nie |
| SpamRejectRetentionDays · SpamFolderRetentionDays | 14 · 7 | Ablehnungsliste · Spam-Ordner; 0 = nie löschen |
| ServerLogRetentionHours | 336 | Protokoll (14 Tage) |
| OutboundMaxAgeHours · OutboundPollSeconds · OutboundQueueRetentionHours | 48 · 20 · 168 | Warteschlange |
| ClientMailSecret | (leer) | Schlüsselmaterial für Passwörter externer Konten; mind. 32 Zeichen empfohlen. Ein Wechsel macht gespeicherte Passwörter unlesbar |
ConnectionLimits
| Schlüssel | Standard | Bedeutung |
|---|
| SmtpCommandTimeoutSeconds · SmtpDataTimeoutSeconds | 300 · 600 | Wartezeit auf Befehl bzw. Daten |
| TlsHandshakeTimeoutSeconds | 30 | |
| ImapPreAuthTimeoutSeconds · ImapIdleTimeoutMinutes | 60 · 30 | vor bzw. nach Anmeldung |
| ImapIdleKeepAliveSeconds · ImapIdlePollSeconds | 600 · 30 | „Still here“ im IDLE (0 = aus) · Abgleich |
| MaxConnectionsTotal · MaxConnectionsPerIp | 500 · 100 | je Protokoll; 0 pro IP = kein Limit |
MySql
| Schlüssel | Standard | Bedeutung |
|---|
| Host · Port · Database · User · Password | 127.0.0.1 · 3306 · mailserver · mail · … | Verbindung ohne TLS, Zeiten in UTC |
Admin
| Schlüssel | Standard | Bedeutung |
|---|
| Username · Password | admin · (leer = offen!) | Dashboard-Zugang |
| ApiToken | (leer) | Voll-Admin-Schlüssel für Skripte und Spiegelserver |
| NotifyEmail · AdminUrl | (leer) | Benachrichtigungen bei Sendelimit |
| AllowedNetworks · RestrictToAllowedNetworks | 10.0.0.0/8, 127.0.0.1/32, ::1/128 · true | Netzfilter fürs Dashboard |
AddressBook (Freigabeliste)
| Schlüssel | Standard | Bedeutung |
|---|
| Enabled · Host · Port · Database · User · Password · Table | false · … · emailadressen | Verbindung |
| IdColumn · EmailColumn · SubjectColumn · PrioColumn · LastUsedColumn · BefehlColumn · MailToColumn · NoteColumn | ID · Emailadresse · Betreff · Prio · LastUsed · Befehl · PointerToMailToAdresse · Bemerkung | Spaltennamen |
| WhitelistSubjectKeywords · TemporarySubjectKeywords | (leer) | globale Schlagworte |
| WhitelistDatabases · PrioLookupUrls · PrioLookupTimeoutSeconds | [] · [] · 4 | weitere Quellen |
| WhitelistCacheSize | 1000 | Treffer-Cache im RAM |
| AutokillMode · AutokillArchivePath · AutokillIntervalMinutes · AutokillMaxPerRun · AutokillPauseMs | DryRun · data\autokill · 5 · 20 · 100 | AUTOKILL |
| ImapRulesEnabled · RuleTouchLastUsed · RuleMailboxes | true · true · [] | Regeln |
Spamhaus
| Schlüssel | Standard | Bedeutung |
|---|
| Enabled · Zones · Action | false · zen.spamhaus.org · Reject | Reject, Quarantine, LogOnly |
| SkipPrivateIps · SkipTrustedRelays · TimeoutMs · CacheSeconds | true · true · 2000 · 300 | |
FirewallBlock
| Schlüssel | Standard | Bedeutung |
|---|
| FailThreshold · FailWindowHours | 10 · 24 | Fehlversuche bis zur Sperre |
| InternalBlockEnabled · InternalBlockHours | true · 200 | RAM-Sperre |
| Host · Port · PayloadTemplate | (leer) · 0 · {ip} | UDP-Signal an MikroTik |
| NoFirewall | 10.0.0.0/8, 127.0.0.0/8, ::1 | nie sperren |
| AuthFailBlockOnlyDistinctCombos · AuthFailMaxPerSession · AuthFailDelayMs | true · 5 · 1000 | nur verschiedene Kombinationen zählen · Abbruch je Sitzung · Verzögerung |
RateLimitHold
| Schlüssel | Standard | Bedeutung |
|---|
| Enabled · RetentionDays · NotifyDelaySeconds · NotifyIntervalMinutes | true · 14 · 60 · 60 | Zurückhalten |
P2P
Replica
| Schlüssel | Standard | Bedeutung |
|---|
| Role · MasterUrl · ApiToken · ImapHost · ImapPort · ImapUseSsl | Master · … · 993 · true | siehe Spiegelserver (Master und Slave) |
| PollSeconds · MailPollSeconds · MailSyncMaxMbPerMinute · MasterSmtpPort · MasterForwardMinutes | 30 · 60 · 25 · 25 · 10 | |
Zabbix
| Schlüssel | Standard | Bedeutung |
|---|
| Enabled · Port · Host · AddBuiltInItems | true · 10052 · 0.0.0.0 · true | |
SimpleDnsPlus
| Schlüssel | Standard | Bedeutung |
|---|
| Enabled · BaseUrl · Username · Password · Ttl | false · http://127.0.0.1:8053 · … · 3600 | |
| MxHost · MxPriority · MailServerIp | (Hostname) · 10 · (leer) | |
| SyncDkim · SyncMx · SyncA · SyncSpf · SyncDmarc | alle true | DMARC nur anlegen, nie überschreiben |
Acme
| Schlüssel | Standard | Bedeutung |
|---|
| Enabled · ChallengeType · Email · Hosts · AcceptTermsOfService | false · http-01 · … · (Hostname) · false | |
| UseStaging · RenewDaysBeforeExpiry · AccountKeyPath | false · 30 · data/acme-account.pem | |
| DnsPropagateSeconds · VerifyPublicDns · DnsSettleSeconds · RetryWindowSeconds · ChallengeRetries | 60 · true · 60 · 1800 · 5 | DNS-01 |
| PreferAcmeOverSelfSigned | false | kein selbstsigniertes Zertifikat erzeugen |
Web · ApiSecurity · Mcp · Cors · Portal · LinkedAccounts
| Schlüssel | Standard | Bedeutung |
|---|
| Web:TrustedProxies | 127.0.0.1/32, ::1/128 | Proxys, deren X-Forwarded-For gilt |
| ApiSecurity: Enabled · MaxFailures · WindowMinutes · BlockHours · RequestsPerMinute · MaxBodyBytes · WindowsFirewall | true · 10 · 10 · 24 · 60 · 2 000 000 · an | Schutz für Postfach-Schlüssel |
| Mcp: Enabled · RequireHttpsForPublic · MaxReadTextChars · MaxReadHtmlChars · AllowedOrigins | true · true · 50 000 · 100 000 · [] | |
| Cors: AllowedOrigins · ApiOriginCheck | eingebaute Liste · true | [] = kein Cross-Origin |
| Portal: RememberMeEnabled · RememberMeDays | true · 90 | 1–365 |
| LinkedAccounts: Enabled · MaxLinksPerUser · RevokeOnTargetPasswordChange | true · 20 · true | verknüpfte Postfächer |
| LinkedAccounts: AllowedInternalHosts · PinnedCertificates · ConnectTimeoutSeconds · OperationTimeoutSeconds | [] · [] · 10 · 30 | externe Konten |
Code-Standard und Vorlage unterscheiden sich bei den Ports: das Programm nimmt ohne Konfiguration Entwicklungsports (2525, 2143, 79), die Vorlage setzt die üblichen (25, 465, 143, 993, 8080).
Siehe auch: Konfiguration: so wird appsettings.json geladen · Server-Einstellungen im Dashboard