The
what is one of these three symbols:
<<<
This is input. It is either text that is read on the standard input, or parts of an
SMTP dialog that were read on a socket connection.
>>>
This is output. It is either something that sendmail printed to its standard output,
or something that it sent over an SMTP connection.
===
This is an event. The only two events that are currently logged are CONNECT
for connection to a host and EXEC for execution of a delivery agent.
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
14.3 Log with syslog | 513
To illustrate, consider sending a mail message to yourself and to a friend at another
site:
% /usr/sbin/sendmail -X /tmp/xfile -oQ`pwd` yourself,friend@remote.host
To: yourself,friend@remote.host
Subject: test
This is a test.
.
These few lines of input produce a long /tmp/xfile. The first few lines of that file are
illustrative:
29559 <<< To: yourself,friend@remote.host
29559 <<< Subject: test
29559 <<<
29559 <<< This is a test.
29559 <<< .
29561 = == CONNECT remote.host
29561 <<< 220 remote.host ESMTP Sendmail 8.9.3; Fri, 13 Dec 2002 08:06:47 -0600 (MDT)
29561 >>> EHLO your.host
29561 <<< 250-remote.host Hello you@your.host [206.54.76.122], pleased to meet you
29561 <<< 250-8BITMIME
29561 <<< 250-SIZE
29561 <<< 250-DSN
29561 <<< 250-VERB
29561 <<< 250-ONEX
29561 <<< 250 HELP
29561 >>> MAIL From:
Pages:
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917