The -X
command-line switch tells sendmail to open the
file whose name is the next following argument and to append both
sides of all SMTP transactions to that file. The
-X command-line switch is described in full in
Section 14.2.
Note that this -X command-line switch causes
sendmail to drop special privileges when run by
an ordinary user.