dovecot

package
v0.0.0-beta6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 21, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NameDovecotConf          = "dovecot.conf"
	NameConfD10AuthConf      = "conf.d/10-auth.conf"
	NameConfD10MailConf      = "conf.d/10-mail.conf"
	NameConfD10MasterConf    = "conf.d/10-master.conf"
	NameConfD10SslConf       = "conf.d/10-ssl.conf"
	NameConfD15MailboxesConf = "conf.d/15-mailboxes.conf"
	NameConfD20ImapConf      = "conf.d/20-imap.conf"
	NameConfD20LmtpConf      = "conf.d/20-lmtp.conf"
)
View Source
const (
	DistDovecotConf          = "/etc/dovecot/dovecot.conf"
	DistConfD10AuthConf      = "/etc/dovecot/conf.d/10-auth.conf"
	DistConfD10MailConf      = "/etc/dovecot/conf.d/10-mail.conf"
	DistConfD10MasterConf    = "/etc/dovecot/conf.d/10-master.conf"
	DistConfD10SslConf       = "/etc/dovecot/conf.d/10-ssl.conf"
	DistConfD15MailboxesConf = "/etc/dovecot/conf.d/15-mailboxes.conf"
	DistConfD20ImapConf      = "/etc/dovecot/conf.d/20-imap.conf"
	DistConfD20LmtpConf      = "/etc/dovecot/conf.d/20-lmtp.conf"
)

Variables

View Source
var (
	ConfBindDovecotConf          = appconf.NewConfBind(&fs, NameDovecotConf, DistDovecotConf, perm)
	ConfBindConfD10AuthConf      = appconf.NewConfBind(&fs, NameConfD10AuthConf, DistConfD10AuthConf, perm)
	ConfBindConfD10MailConf      = appconf.NewConfBind(&fs, NameConfD10MailConf, DistConfD10MailConf, perm)
	ConfBindConfD10MasterConf    = appconf.NewConfBind(&fs, NameConfD10MasterConf, DistConfD10MasterConf, perm)
	ConfBindConfD10SslConf       = appconf.NewConfBind(&fs, NameConfD10SslConf, DistConfD10SslConf, perm)
	ConfBindConfD15MailboxesConf = appconf.NewConfBind(&fs, NameConfD15MailboxesConf, DistConfD15MailboxesConf, perm)
	ConfBindConfD20ImapConf      = appconf.NewConfBind(&fs, NameConfD20ImapConf, DistConfD20ImapConf, perm)
	ConfBindConfD20LmtpConf      = appconf.NewConfBind(&fs, NameConfD20LmtpConf, DistConfD20LmtpConf, perm)
)

Functions

func ConfBindMap

func ConfBindMap(optDovecotConf OptDovecotConf,
	optConfD10AuthConf OptConfD10AuthConf,
	optConfD10MailConf OptConfD10MailConf,
	optConfD10MasterConf OptConfD10MasterConf,
	optConfD10SslConf OptConfD10SslConf,
	optConfD15MailboxesConf OptConfD15MailboxesConf,
	optConfD20ImapConf OptConfD20ImapConf,
	optConfD20LmtpConf OptConfD20LmtpConf,
) map[string]any

Types

type OptConfD10AuthConf

type OptConfD10AuthConf struct {
	DisablePlaintextAuth string // yes or no
	AuthDebug            string // yes or no
	AuthDebugPasswords   string // yes or no
}

type OptConfD10MailConf

type OptConfD10MailConf struct{}

type OptConfD10MasterConf

type OptConfD10MasterConf struct{}

type OptConfD10SslConf

type OptConfD10SslConf struct {
	SSL                    string // required or yes or no
	SSLCert                string
	SSLKey                 string
	SSLDhParametersLength  int    // default 2048
	SSLPreferServerCiphers string // yes or no
}

type OptConfD15MailboxesConf

type OptConfD15MailboxesConf struct{}

type OptConfD20ImapConf

type OptConfD20ImapConf struct{}

type OptConfD20LmtpConf

type OptConfD20LmtpConf struct{}

type OptDovecotConf

type OptDovecotConf struct{}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL