mirror of
https://github.com/mjl-/mox.git
synced 2025-07-14 17:34:37 +03:00
add pedantic mode (used by localserve) that refuses some behaviour that is invalid according to specifications and that we normally accept for compatibility
This commit is contained in:
@ -38,6 +38,7 @@ type Static struct {
|
||||
Hostname string `sconf-doc:"Full hostname of system, e.g. mail.<domain>"`
|
||||
HostnameDomain dns.Domain `sconf:"-" json:"-"` // Parsed form of hostname.
|
||||
CheckUpdates bool `sconf:"optional" sconf-doc:"If enabled, a single DNS TXT lookup of _updates.xmox.nl is done every 24h to check for a new release. Each time a new release is found, a changelog is fetched from https://updates.xmox.nl and delivered to the postmaster mailbox."`
|
||||
Pedantic bool `sconf:"optional" sconf-doc:"In pedantic mode protocol violations (that happen in the wild) for SMTP/IMAP/etc result in errors instead of accepting such behaviour."`
|
||||
TLS struct {
|
||||
CA *struct {
|
||||
AdditionalToSystem bool `sconf:"optional"`
|
||||
|
@ -49,6 +49,10 @@ describe-static" and "mox config describe-domains":
|
||||
# (optional)
|
||||
CheckUpdates: false
|
||||
|
||||
# In pedantic mode protocol violations (that happen in the wild) for SMTP/IMAP/etc
|
||||
# result in errors instead of accepting such behaviour. (optional)
|
||||
Pedantic: false
|
||||
|
||||
# Global TLS configuration, e.g. for additional Certificate Authorities. Used for
|
||||
# outgoing SMTP connections, HTTPS requests. (optional)
|
||||
TLS:
|
||||
|
Reference in New Issue
Block a user