Sun Java System Messaging Server 6 2005Q4 Administration Guide

ProcedureTo Log TCP/IP Connections

Steps
  1. Edit the MTA Option file.

  2. Set the LOG_CONNECTION option.

    This option causes the MTA to log TCP/IP connections, as well as message traffic. The connection log entries are written to the mail.log* files by default. Optionally, the connection log entries can be written to connection.log* files. See the SEPARATE_CONNECTION_LOG option for more information.