Note that these
members are correct for V8.14 sendmail only. Also note that the table shows only
those members that can be useful in a checkcompat( ) routine (see sendmail.h for the
other members of *to).
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
1250 | Appendix C: The checkcompat( ) Function
The members of the ENVELOPE *e structure are shown in Table C-2. Note that these
members are correct for V8.14 sendmail only. Also note that the table shows only
those members that can be useful in a checkcompat( ) routine (see sendmail.h for
other members of *e).
Table C-1. ADDRESS *to members
Type Member Description
struct address * q_alias The alias that yielded this address
char * q_finalrcpt This is a Final-Recipient: DSN header
unsigned long q_flags Address flags
char * q_fullname The (GECOS) full name of q_ruser, if known
gid_t q_gid The gid of the q_ruser, if known
char * q_home The home directory (path), if F=w delivery-agent flag is set
char * q_host The host part ($@) from rule set 0
struct mailer * q_mailer The delivery agent ($#) from rule set 0
char * q_message Message regarding address (not always an error)
struct address * q_next Link to the next ADDRESS in the chain
char * q_orcpt The ORCPT parameter from RCPT TO: line was set
char * q_owner The owner of q_alias
char * q_paddr The address in a form suitable for printing
int q_qdir Queue directory inside group
int q_qgrp Index into queue groups
char * q_ruser The login name for this user, if known
time_t q_statdate The date of the status change
short q_state The state of the address
char * q_statmta Which MTA generated q_rstatus
uid_t q_uid The uid of the q_ruser, if known
char * q_user The user part ($:) from rule set 0
Table C-2.
Pages:
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244