Next: , Previous: , Up: options   [Contents][Index]


8.1.2 General Settings

--callout-socket=string

Set socket for the default callout server. This is mainly useful together with the --mtasim option.

--echo
--echo=file

This option controls where the output of the echo statement (see Echo) goes when mailfromd is run in test mode, i.e. using the --test or --run options (see Testing Filter Scripts).

When used without argument it directs the echo output to the standard output stream. If an argument is supplied (second form above), the output goes to the named file. The file will be created if it doesn’t exist. Notice, that the use of ‘=’ is compulsory when specifying an argument. A single dash as a filename means standard output, so that --echo=- and --echo are equivalent.

--foreground

Stay in foreground. When given this option, mailfromd will not disconnect itself from the controlling terminal and will run in the foreground.

-g name
--group=name

Retain the group name when switching to user privileges. See Starting and Stopping.

This option complements the group configuration statement (see group).

--include-path=dir
-I dir

Add the directory dir to the list of directories to be searched for include files (see include search path). This setting affects the #include statement (see include) and is used to locate preprocessor setup file (see Preprocessor). If enabled in the configuration (see pass-includes), directories from the include search path will also be added to the preprocessor command line as additional -I options.

--module-path=dir
-P dir

Add the directory dir to the list of directories searched for MFL module files (see module search path). This setting affects the require and import MFL statements. See Modules.

--mailer=url
-M url

Set the URL of the mailer to use. See Mail Sending Functions.

--mtasim

This option is reserved for use by mtasim (see mtasim).

-O[level]
--optimize[=level]

Set optimization level for code generator. Two levels are implemented: ‘0’, meaning no optimization, and ‘1’, meaning full optimization.

-p string
--port=string
--milter-socket=string

Set communication socket. Overrides the listen configuration statement, which you are advised to use instead (see listen).

--pidfile=file

Set pidfile name. Overrides the pidfile configuration statement, which you are advised to use instead (see pidfile).

--relayed-domain-file=file

Read relayed domains from file. Overrides the relayed-domain-file configuration statement (see relayed-domain-file), which you are advised to use instead. See Avoiding Verification Loops, and the description of relayed function (see relayed) for more information.

--resolv-conf-file=file

Read resolver settings from file, instead of the default /etc/resolv.conf.

--state-directory=dir

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.

-S ip
--source-ip=ip

Set source address for TCP connections. Overrides the ‘source-ip’ configuration statement, which you are advised to use instead (see source-ip).

-u name
--user name

Switch to this user privileges after startup. Overrides the user configuration file statement, which you are advised to use instead (see user). Default user is ‘mail’.

-v var=value
--variable var=value

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.


Next: , Previous: , Up: options   [Contents][Index]