config

package
v0.0.0-...-9ba032a Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadChatmailConfigFromFile

func LoadChatmailConfigFromFile(filename string, config *ChatmailConfig) error

Types

type ChatmailConfig

type ChatmailConfig struct {
	MailFullyQualifiedDomainName    string
	MaxEmailsPerMinutePerUser       int
	MaxMailboxSizeMB                int
	MaxMessageSizeB                 int
	DeleteMailsAfterDays            int
	DeleteInactiveUsersAfterDays    int
	UsernameMinLength               int
	UsernameMaxLength               int
	PasswordMinLength               int
	PassthroughSendersList          []string
	PassthroughRecipientsList       []string
	PrivacyContactPostalAddress     string
	PrivacyContactEmailAddress      string
	PrivacyDataOfficerPostalAddress string
	PrivacySupervisorPostalAddress  string
}

func NewChatmailConfig

func NewChatmailConfig(fqdn string) ChatmailConfig

func (ChatmailConfig) Save

func (config ChatmailConfig) Save(filename string) error

Jump to

Keyboard shortcuts

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