Servers []Server
}
+const MailboxAccount = "mailbox@"
+
type Server struct {
// Domain is the second component of a mail address: <local-part@domain.com>.
Domain string
// Location to store the mail messages.
MaildropPath string
- // Blacklisted addresses that should not accept mail.
- BlacklistedAddresses []string
+ // Addresses that should not accept mail. This should include the @domain
+ // component.
+ BlockedAddresses []string
}
func (c Config) GetTLSConfig() (*tls.Config, error) {