Settings object

Description

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

Methods

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)


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.

Logging Logging

Gets the logging interface.
(read-only)

long MaxDeliveryThreads

The maximum number of SMTP delivery threads.

long MaxIMAPConnections

Maximum number of simultaneous IMAP connections.

long MaxMessageSize

The maximum message size when sending from this server.

long MaxNumberOfInvalidCommands

Maximum number of invalid client commands before disconnect.

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.

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.

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)

TCPIPPorts TCPIPPorts

TCP/IP ports to be used.
(read-only)

long TCPIPThreads

Number of TCP/IP-threads (for communication) to run.

bool UseDeliveryLog

Use the delivery log.

string UserInterfaceLanguage

User interface language

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