database dbname { file name; enable bool; expire-interval interval; positive-expire-interval interval; negative-expire-interval interval; }
The database
statement controls run-time parameters of
a DBM database identified by dbname. Allowed
values for the latter are: ‘cache’, ‘rate’ and
‘greylist’ for main cache, DNS lookup, sending rate and
greylisting databases, correspondingly.
Set the database file name.
Enable or disable this database.
Set the expiration interval for this database dbname. See time interval specification, for a description of time format.
This statement is valid only for ‘cache’ database. It sets the expiration interval for positive (‘success’) cache entries.
This statement is valid only for ‘cache’ database, where it sets expiration interval for negative (‘not_found’) cache entries.
Set default database type. type is one of the database types supported by mailutils (i.e., for Mailutils 3.0: ‘gdbm’, ‘ndbm’, ‘bdb’, ‘kc’, and ‘tc’). Run
mailfromd --show-defaults | grep 'supported databases:'
to get a list of type names supported by your build of mailfromd
.
Defines file mode for newly created database files. mode must be a valid file mode in octal.
Set maximum number of attempts to acquire the lock. The time
between each two successive attempts is given by
lock-retry-timeout
statement (see below). After
the number of failed attempts, mailfromd
gives up.
Set the time span between the two locking attempts. Any valid time interval specification (see time interval specification) is allowed as argument.
This document was generated on August 13, 2022 using makeinfo.
Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.