Sun Microsystems Sun Workstation 100U System Manager's Manual page 344

Table of Contents

Advertisement

Sendmall Inatallatlon aDd Operatloo Gulcl.
14
macro. The $J macro should be in RFC821 format. The
$.
and $0 macros can be con-
sidered constants except under terribly unusual circumstaaces. The
$0
macro consists
of a list of characters whicb wiD be cODsidered tote .. aDd wbicb wiD separate toteDs
when doing parsiDI. For example, il "r" were iD the 10 macro, then the iDput
"address" would be scanDed
as
three toteD8: "add," "r," and
"ess."
FiDaUy, the Iq
macro specifies how aa address sbould
appear
in a messase wben it
is
defaulted. For
example, OD our system these definitioDs are:
De$j Sendmail$v ready at Ib
DnMAILER-DAEMON
DlFrom $g $d
Do.:%C!A=1
Dq$g$!x ('x)l.
DjSH.ID
An acceptable alterDative for tbe
tq
macro is "I?xlx 1.<lg>". Tbeee correspond to
the following two formats:
eric@Berkeley (Eric AUman)
Eric Allman <ericGBerkeley>
Some macros are defined by
,endmtJil
for iDterpolatioD iDto argv's for mailers or
for other contexts. These macros are:
a
The originatioD date iD ArpaDet format
b
The current date in Arpanet format
e
The hop count
d
The date in UNIX (ctime) format
I
The sender (from) address
The sender address relative to the recipieDt
b
The recipient host
I
The queue id
p
Send mail's pid
I'
Protocol used
Sender's host name
t
A numeric representatioD
01
the current time
u
The recipient user
y
The version Dumber
01 .endmtJil
w
The hostname of this site
x
The rull name of the seDder
'7
The id of the sender's tty
The home directory
01
the recipient
There are three types
01
dates that can be used. The la and Ib macros are in
Arpanet rormat; la is the time
as
extracted from the "Date:" line
01
the message (if
there was one), and $b
is
the current date and time (used for postmarks). If no
"Date:" line is found in the incoming message, la is set
to
the current time also. The
Id macro is equivalent to the la macro in UNIX (ctime) format.
The
'f
macro is the id of the sender
as
originally determined; when mailing to a
specific host tbe I. macro is set
to
the address
01
the seDder
reltJlive
10
IAe recipienl.
For example, if I send to "boDardQmatisse" Irom the machine "ucbarpa" the II macro
will
be
"eric" and the I. macro will be "eric Qucbarpa. "
The $x macro is set
to
the luU Dame
01
the sender. This can be determined in
several ways. It can be passed as ftaa
to ,endmtJil.
The 8eeond choice is the value of
the "Full-name:" line in the header if it exists, and the third choice
is
the commeDt
field 01 a "From:" line. II all 01 these lall, and if the message
is
beinl originated
locally, the IuD name
is
looked up in the
I del,",wd
file.
Venlon 4.1
Lad Mod 8/11/81

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sun workstation 150u

Table of Contents