Log messages syslog MTA option

Syslog MTA options:  (integer)
The  MTA option enables  sending  MTA message transaction log file entries to syslog (UNIX). 0 is the default and means no syslog logging is performed; setting the option to a non-zero value causes MTA message transaction log file entries to be written to syslog. The absolute value of any non-zero value sets the syslog priority and facility mask. The relation is as follows: value = facility &#x2a; 8 + priority The syslog priority levels and their normal meanings are:

The predefined syslog facility codes include:

For example, if informational level logging is desired under the mail facility, the value would be 2&#x2a;8+6=22.

See RFC 5424 (The Syslog Protocol) for additional information about syslog semantics and the syslog protocol.

Negative values will disable the generation of the regular  entries;  positive values mean that the syslog entries are generated in addition to the regular   entries.

The  MTA option operates analogously for MTA connection transaction log entries.

Prior to Messaging Server 7.5, positive values of  would not  affect header logging (would not cause the entries due to enabling    to be copied to syslog). (The  entries, if enabled,  would only be sent to syslog if the generation of regular   entries were disabled via negative values of  .) As of Messaging Server 7.0.5, enabling    normally also applies to any entries due to setting. But setting bit 16 (value 65536) of  will disable the sending of the header entries to syslog, thus restoring the older behavior (of not including the header lines) if desired. That is, the lowest 16 bits of  specify the priority and facility mask as always, while bit 16 (value 65536) will, if set, suppress header logging to syslog.

Note that in MS 6.2 and earlier, the length of the MTA output line sent to syslog was limited to 256 characters. For MS 6.3 and later, the limit is 4096 characters.

Note that in MS 6.2, but not in MS 6.3 and later, it was necessary to have the  parameter    (corresponding to the Unified Configuration   option) set (e.g., to  ) to have the   MTA option take effect.

See also:
 * Syslog MTA options
 * Transaction logging MTA options
 * MTA transaction logging
 * log_connections_syslog MTA Option
 * log_syslog_prefix MTA Option
 * log_header MTA Option
 * syslogfacility Option