dc.gov. Internally, it represents every address witha C-language
structure. The printaddr( ) routine prints the values stored in most of the items of
that structure. Its output looks like this:
subroutine: ra= addr:
mailer mnum (mname), host `hname??
user `uname??, ruser `rname??
state=state, next=link, alias aname, uid user-id, gid group-id
flags=fhex
owner=owner, home="home", fullname="fname"
orcpt="oparam", statmta=mta, status=status
finalrcpt="finalrcpt"
rstatus="rstatus"
statdate=statdate
First, sendmail prints the address in memory, ra, of the C-language struct that contains
the information necessary to deliver a mail message. It then prints the information
in that structure:
addr
The mail address as text??”e.g., you@uofa.edu.
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
534 | Chapter 15: Debug sendmail with -d
mnum
Number of the delivery agent to be used (an index into the array of delivery
agents).
mname
Symbolic name of that delivery agent (from rule set parse 0, $#).
hname
Name of the recipient??™s host machine (from rule set parse 0, $@).
uname
Recipient??™s mail name (from rule set parse 0, $:).
rname
Recipient??™s login name, if known; otherwise, it is .
state
The current state of the message in text form.
Pages:
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951