Log auth MTA option

Transaction logging MTA options:  (0-7)
The  MTA option has the same basic semantics as  , except that if set   will cause logging of the value of the SMTP  MAIL FROM&#x27;s AUTH parameter on enqueue, assuming one was specified and retained. (Note that this is the AUTH parameter from the MAIL FROM command, whjich potentially differs from whatever might be the authenticated identity specified via an SMTP AUTH command.) On dequeue the AUTH parameter is only logged if it is passed on to the remote SMTP server. The SMTP AUTH parameter field resulting from setting  appears immediately after the username field in the old  style MTA message transaction log format. An " " attribute is used in XML or JSON format (  set to 4 or 5, respectively).

Normally the  attribute only appears in XML or JSON format logs if there is an AUTH parameter value to log. As of MS 8.0.2.3, setting bit 2 (value 4) will cause the attribute to appear unconditionally.

Enabling XML or JSON format transaction logging,  set to 4 or 5, causes the default for   to be 1 (SMTP AUTH parameter field logged); with any  other format, the default is 0 (SMTP AUTH parameter field not logged). If bit 1 (value 2) is set in the  MTA option, then the SMTP AUTH parameter field appears in the    mapping table probe immediately after the username field.

See also:
 * Transaction logging MTA options
 * log_username MTA Option
 * log_format MTA Option
 * Triggering effects from transaction logging with LOG_ACTION