Previous: command summary, Up: mtasim [Contents][Index]
mtasim
command line optionsThis section summarizes all available mtasim
command line options.
Append to the trace file. See traces.
Set the body chunk length (bytes) for xxfi_body
calls.
Run as daemon. See daemon mode.
Define Sendmail macro macro to the given value. It is
similar to the \D
administrative command (see D command)
Set desired logging level for gacopyz
library
(see Gacopyz). See gacopyz-log option, for a detailed
description of level. Notice, that unless this option is used,
the --verbose (-v) command line option implies
--gacopyz-log=debug.
When switching to user’s privileges as requested by the --user command line option, retain the additional group name. Any number of --group options may be given to supply a list of additional groups.
Run with this user privileges. This option and the --group
option have effect only if mtasim
was started with root
privileges.
Display a short help summary
Force using the given Milter protocol version number. The version argument is either a numeric version (e.g. ‘2’), or a version string in form ‘major.minor[.patch]’, where square brackets indicate optional part. The default is ‘1.0.0’. If version is any of ‘2’, ‘3’ or ‘1.0.0’, the default protocol capabilities and actions for that version are set automatically. This option is intended for development and testing of the Gacopyz library (see Gacopyz).
Set Milter protocol capabilities. See gacopyz/gacopyz.h for the meaning of various bits in the bitmask. Look for the C macros with the prefix ‘SMFIP_’.
Set timeouts for various Milter operations. Values is a comma-separated list of assignments ‘T=V’, where T is a timeout code, indicating which timeout to set, and V is its new value. Valid timeout codes are:
Timeout for connecting to a filter.
Timeout for sending information from the simulator to a filter.
Timeout for reading reply from the filter.
Overall timeout between sending end-of-message to filter and receiving
final acknowledgment. Indirectly, it configures the upper
limit on the execution time of the eom
handler (see eom handler).
Set Milter actions. See gacopyz/gacopyz.h for the meaning of various bits in the bitmask. Look for the C macros with the prefix ‘SMFIF_’.
Not-interactive mode (disable readline). See Command Line Editing in GNU Readline Library.
Communicate with given Milter port. Valid values for port are:
See milter port specification, for a detailed discussion. Example:
--port inet:999@localhost
X
command formatFor example:
--port='mailfrom, S=inet:999@localhost, F=T, T=C:100m;R:180s'
auto
Create a temporary directory and start an instance of
mailfromd
configured to communicate over a UNIX socket in
that directory. If --statedir is also given, the created
mailfromd
instance will use that directory as its state
directory (see statedir). Additional arguments for
mailfromd
may be supplied after the --
delimiter.
Before termination, mtasim
will stop the mailfromd
instance it created and remove the temporary directory.
dir
:dirnameSame as auto
, except that instead of the temporary directory
the directory dirname is used. This directory is not removed
when mtasim
terminates. Example:
--port dir:/tmp/state
See mtasim milter port, for a detailed discussion of the --port option and its use.
Set readline prompt. The default prompt string is ‘(mtasim) ’.
Declare sender socket address. This option has the same effect as
the S command
. See S command, for a detailed discussion
and a description of its arguments.
When using -Xauto, use the temporary directory name as
mailfromd
state directory (see statedir mtasim option).
Use the SMTP protocol on standard input and output. This
is the default mode for mtasim
. See interactive mode.
Set name of the trace file. See traces.
Display option summary
Increase verbosity level. Implies --gacopyz-log=debug, unless that option is used explicitly.
Print program version
Previous: command summary, Up: mtasim [Contents][Index]