In the [MailBase] section, settings for Dr.Web MailD internal database are specified. The database stores received messages until they are processed and sent if the processing plug-ins operate in the asynchronous mode. The section contains the following parameters:
MaxStoredMessages = {numerical value}
|
Maximum number of messages to be stored in the mail database.
When the parameter value is set to 0, maximum number of messages is not limited. If amount of messages in database exceeds the number set to this parameter, old messages are deleted until the specified quantity is reached. Already sent messages are deleted immediately, others are sent at first and then deleted.
|
Default value:
MaxStoredMessages = 100000
|
MaxStorageSize = {numerical value}
|
Maximum size of the mail database (in bytes).
When parameter value is set to 0, maximum size is not limited. If database size exceeds the limits, old messages are deleted until the specified size is reached (see description of the MaxStoredMessages parameter).
|
Default value:
MaxStorageSize = 0
|
MaxPoolSize = {numerical value}
|
Maximum mail database pool size (maximum number of memory pages, size of a page – 8 KB).
If the parameter value is set to 0, the pool size is set up automatically according to available physical memory.
In the current version, this parameter cannot be changed when reloading by SIGHUP signal.
|
Default value:
MaxPoolSize = 0
|
SendTimeout = {time}
|
Timeout for plug-in to perform an asynchronous scan of a message.
When timeout is exceeded, it is assumed that an error occurred during the message check. Actions to be applied in this case are specified in the ProcessingErrors parameter of the [Maild] section.
|
Default value:
SendTimeout = 30s
|
FrozenTimeout = {time}
|
Additional time for message processing.
If the time specified in the SendTimeout parameter is not enough for a plug-in to process a message, the time can be extended by the value of the FrozenTimeout parameter.
Note that this parameter is deprecated and is not used anymore.
|
Default value:
FrozenTimeout = 2h
|
DeleteTimeout = {time}
|
Maximum time period for a message to be stored in the mail database.
|
Default value:
DeleteTimeout = 48h
|
BackupPeriod = {time}
|
Time period for a mail database backup.
When the parameter value is set to 0, no backup is performed.
|
Default value:
BackupPeriod = 0
|
BackupName = {path to file}
|
Name of mail database backup file.
If the specified file name ends with question mark ("?"), each backup is stored in a separate file, and the question mark in the file name is replaced with the time value when the copy is created.
|
Default value:
BackupName = %var_dir/msgs/db/.maildb.backup
|
MaxBodySizeInDB = {size}
|
Maximum size of a message body stored in mail database.
When size of a message body exceeds this parameter value, the message is stored in a separate external file.
|
Default value:
MaxBodySizeInDB = 1k
|
SyncMode = {logical}
|
Synchronization mode used for internal database.
If the value of this parameter is set to Yes, the fsync function is called for each transaction. As a result, the database stored on disk is always up-to-date, but system performance is decreased (in some cases only slightly).
If the value is set to No, OS buffering is used for database synchronization. As a result, on drweb-maild module emergency shutdown, data from the last transactions can be lost, but the database will not be destroyed and system performance will increase.
If there are no special requirements for system reliability, you may leave No as this parameter value.
|
Default value:
SyncMode = No
|
|