Mailfromd |
|
General-Purpose Mail Filter |
Sergey Poznyakoff |
Mailfromd Manual (split by node): | ? |
When used with ‘--compact’ or ‘--expire’ option, applies the action to all available databases. See compact cronjob.
Set expiration intervals for all databases to the specified interval.
See time interval specification, for a description of
interval format. The option overrides the
expire-interval
configuration statement
(see expire-interval-conf), which you are advised to use instead.
Stay in foreground. When given this option, mailfromd
will
not disconnect itself from the controlling terminal and will run in
the foreground.
Use database of the given format, instead of the default ‘cache’. See section Basic Database Operations.
Retain the group name when switching to user privileges. See section Starting and Stopping.
This option complements the group
configuration statement
(see section group).
Ignore records that cannot be retrieved while compacting the
database. Without this option, mailfromd
will abort the
compaction if any such error is encountered.
Add the directory dir to the list of directories to be searched
for header files. This will affect the functioning of #include
statement. See include, for a discussion of file inclusion.
Set maximum number of attempts to acquire the lock on a database.
See the description of the lock-retry-count
configuration statement,
lock-retry-count, for more information about the database
locking.
Set the time span between the two locking attempts. See the
description of the lock-retry-count
configuration statement,
lock-retry-count, for more information about database
locking.
This option overrides the value set by the lock-retry-timeout
configuration statement (see section lock-retry-timeout-conf.
See time interval specification, for a description of valid interval formats.
Set the URL of the mailer to use. See section Mail Sending Functions.
This option is reserved for use by mtasim
(see section mtasim
— a testing tool).
Set optimization level for code generator. Two levels are implemented: ‘0’, meaning no optimization, and ‘1’, meaning full optimization.
Set communication socket. Overrides the listen
configuration
statement, which you are advised to use instead (see section listen).
Set pidfile name. Overrides the pidfile
configuration
statement, which you are advised to use instead (see section pidfile).
Used with ‘--list’ enables printing of the estimated times of sending along with the ‘rate’ database dump. Implies ‘--list --format=rate’. See estimated time of sending.
Read relayed domains from file. Overrides the
relayed-domain-file
configuration statement (see section relayed-domain-file), which you are advised to use instead.
See section Avoiding Verification Loops, and the description of
relayed
function (see relayed) for more information.
Force removing local socket file, if it already exists. Unless this
option is specified, mailfromd
will refuse to start if
this file exists.
Set new program state directory. See Local state directory, for
the description of this directory and its purposes. This option
overrides the settings of state-directory
configuration statement,
described in state-directory.
Set source address for TCP connections. Overrides the ‘source-ip’ configuration statement, which you are advised to use instead (see section source-ip).
Set format to be used for timestamps in listings, produced by
‘--list’. The format is any valid strftime
format
string, see Time and Date Formats, for a detailed description.
The default format is ‘%c’ (see %c time format). To
analyze mailfromd --list output using text tools, such as
awk
or grep
, the following format might be useful:
‘%s’ (see %s time format). Another format I find useful is
‘%Y-%m-%d_%H:%M:%S’.
Switch to this user privileges after startup. Overrides the user
configuration file statement, which you are advised to use instead
(see section user). Default user is ‘mail’.
Assign value to the global variable var. The variable must be declared in your startup script. See overriding initial values, for a detailed discussion of this option.
Mailfromd Manual (split by node): | ? |
Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.