Documentation ¶
Overview ¶
Package autoconfig discovers configuration parameters for e-mail, contact and calendar servers.
The following mechanisms are implemented:
- DNS SRV records, defined in RFC 6186 section 3.1 and RFC 8314 section 5.1
- Mozilla Thunderbird auto-configuration, described in https://wiki.mozilla.org/Thunderbird:Autoconfiguration
- Guesses based on common subdomain names and DNS MX records
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
Config contains the result of a service discovery.
func DiscoverMail ¶
DiscoverMail performs service discovery from an e-mail address.
type JMAP ¶
type JMAP struct {
SessionEndpoint string
}
JMAP returns configuration for a JMAP server.
type ServiceType ¶
type ServiceType int
ServiceType is a set of service types to be discovered.
const ( ServiceTypeSMTP ServiceType = 1 << iota ServiceTypeIMAP ServiceTypeJMAP )
Click to show internal directories.
Click to hide internal directories.