Settings object

Description

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

Methods

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

Properties

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
(read-only)
 
AntiVirus AntiVirus
 AntiVirus Settings.
(read-only)
 
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
(read-only)
 
Cache Cache
 Cache settings
(read-only)
 
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
(read-only)
 
bool DisconnectInvalidClients
 Disconnect clients not following the RFCs
 
Groups Groups
 A collection of groups.
(read-only)
 
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.
(read-only)
 
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.
(read-only)
 
IMAPFolders PublicFolders
 Public folders
(read-only)
 
Routes Routes
 Routes collection.
(read-only)
 
long RuleLoopLimit
 The maximum number of times a message can be processed by rules.
 
Scripting Scripting
 Script settings
(read-only)
 
SecurityRanges SecurityRanges
 Security ranges.
(read-only)
 
bool SendStatistics
 Gets or sets whether statistics should be sent to hMailServer.com
 
ServerMessages ServerMessages
 Server messages
(read-only)
 
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.
(read-only)
 
string SslCipherList
 List of SSL/TLS ciphers which should be permitted (OpenSSL format).
 
bool SslVersion30Enabled
 Enable SSL version 3.0
 
TCPIPPorts TCPIPPorts
 TCP/IP ports to be used.
(read-only)
 
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