Settings object


The Settings object is the root-object for all hMailServer settings which are not related to a specific domain.


 Clears the list of logon failures
SetAdministratorPassword(string newVal)
 Set main hMailServer Administration password
SetSMTPRelayerPassword(string newVal)
 Set SMTP relayer password


bool AddDeliveredToHeader
 Determines whether a Delivered-To header should be added to incoming messages.
bool AllowIncorrectLineEndings
 Allow mail with incorrect line endings (missing CR or LF).
bool AllowSMTPAuthPlain
 Allow plain SMTP authentication.
AntiSpam AntiSpam
 AntiSpam settings
AntiVirus AntiVirus
 AntiVirus Settings.
Long AutoBanMinutes
 The number of minutes that a client is autobanned for
bool AutoBanOnLogonFailure
 Gets or sets whether AutoBan is on or off
 Gets the backup settings object
Cache Cache
 Cache settings
string DefaultDomain
 Domain to use if domain has not been specified when user logs on.
bool DenyMailFromNull
 Deny mail with empty sender address.
Directories Directories
 Directory settings
bool DisconnectInvalidClients
 Disconnect clients not following the RFCs
Groups Groups
 A collection of groups.
string HostName
 Gets or sets the host name hMailServer identifies itself with.
bool IMAPACLEnabled
 Enable the IDLE ACL extension.
bool IMAPIdleEnabled
 Enable the IDLE IMAP extension.
string IMAPPublicFolderName
 The name of the public folder when IMAP is used.
bool IMAPQuotaEnabled
 Enable the QUOTA IMAP extension.
bool IMAPSortEnabled
 Enable the SORT IMAP extension.
IncomingRelays IncomingRelays
 A collection of all incoming relays
Logging Logging
 Gets the logging interface.
long MaxAsynchronousThreads
 Gets or sets the maximum number of asynchronous task threads.
long MaxDeliveryThreads
 The maximum number of SMTP delivery threads.
long MaxIMAPConnections
 Maximum number of simultaneous IMAP connections.
long MaxInvalidLogonAttempts
 Gets or sets the maximum number of invalid logon attempts before auto ban.
long MaxInvalidLogonAttemptsWithin
 Gets or sets the number of minutes before an invalid logon attempt record is removed.
long MaxMessageSize
 The maximum message size when sending from this server.
long MaxNumberOfInvalidCommands
 Maximum number of invalid client commands before disconnect.
long MaxNumberOfMXHosts
 Gets or sets the maximum number of hosts hMailServer should perform SMTP-delivery to.
long MaxPOP3Connections
 Gets or sets the maximum number of simultaneous POP3 connections.
long MaxSMTPConnections
 Gets or sets the maximum number of simultaneous SMTP connections.
long MaxSMTPRecipientsInBatch
 Maximum number of SMTP recipients in batch during delivery.
string MirrorEMailAddress
 A copy of all e-mails are sent to the address.
string PublicFolderDiskName
 The name of the folder on disk in which public folders are stored.
IMAPFolders PublicFolders
 Public folders
Routes Routes
 Routes collection.
long RuleLoopLimit
 The maximum number of times a message can be processed by rules.
Scripting Scripting
 Script settings
SecurityRanges SecurityRanges
 Security ranges.
bool SendStatistics
 Gets or sets whether statistics should be sent to
ServerMessages ServerMessages
 Server messages
bool ServiceIMAP
 Enable IMAP service.
bool ServicePOP3
 Enable POP3 service.
bool ServiceSMTP
 Enable SMTP service.
eConnectionSecurity SMTPConnectionSecurity
 Connection security to use when delivering after a MX lookup.
string SMTPDeliveryBindToIP
 TCP/IP address to bind to when delivering messages to remote hosts.
long SMTPMinutesBetweenTry
 Number of minutes between each try when delivering an e-mail.
long SMTPNoOfTries
 Number of retries when SMTP server delivers an e-mail.
string SMTPRelayer
 Fixed relaying server.
eConnectionSecurity SMTPRelayerConnectionSecurity
 Connection security for the SMTP relayer.
long SMTPRelayerPort
 Fixed relaying server port.
bool SMTPRelayerRequiresAuthentication
 SMTP relayer requires authentication
string SMTPRelayerUsername
 SMTP relayer username
bool SMTPRelayerUseSSL
 Determines whether SSL should be used when delivering to the relay server.
SSLCertificates SSLCertificates
 SSL certificates.
string SslCipherList
 List of SSL/TLS ciphers which should be permitted (OpenSSL format).
bool SslVersion30Enabled
 Enable SSL version 3.0
 TCP/IP ports to be used.
long TCPIPThreads
 Number of TCP/IP-threads (for communication) to run.
bool TlsVersion10Enabled
 Enable TLS version 1.0
bool TlsVersion11Enabled
 Enable TLS version 1.1
bool TlsVersion12Enabled
 Enable TLS version 1.2
string UserInterfaceLanguage
 User interface language
bool VerifyRemoteSslCertificate
 Verify the SSL/TLS server certificate.
string WelcomeIMAP
 Welcome message for IMAP server.
string WelcomePOP3
 Welcome message for POP3 server.
string WelcomeSMTP
 Welcome message for SMTP server.
long WorkerThreadPriority
 Priority to give to worker threads.

Search documentation