'${daemon_name}'' ''''


Listening daemon's name V8.10 and above

The ${daemon_name} macro contains the value of the DaemonPortOptions=Name option (See this section) whenever an inbound connection is accepted. The names assigned in the default configuration file are MTA (for the daemon that listens on port 25), and MSA (for the MSP daemon that listens on port 587).

As distributed, this ${daemon_name} macro is not used in the configuration file. It is, however, available to you for use in designing your own particular rule sets. Note that a $& prefix is necessary when you reference this macro in rules (that is, use $&{daemon_name}, not ${daemon_name}).

${daemon_name} is transient. If it is defined in the configuration file or in the command line, that definition can be ignored by sendmail.

    Part I: Build and Install
    Part II: Administration
    Part III: The Configuration File
    Chapter 21. The D (Define a Macro) Configuration Command
    Chapter 24. The O (Options) Configuration Command