Arguments Passed to checkcompat( )
The checkcompat( ) is found in the C-language source file sendmail/conf.c. Inside that file you will find it declared like this:
checkcompat(to, e) register ADDRESS *to; register ENVELOPE *e;
Here, to
is a
pointer to a structure of
typedef ADDRESS which
contains information about the recipient. And
e
is a pointer
to a structure of typedef
ENVELOPE which contains information about the
current envelope. (Actually, both are linked lists
of structures.)
The members of the ADDRESS
*to
structure are shown in Table C-1. 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
).
Table C-1. ADDRESS *to members
Type |
Member |
Description |
---|---|---|
|
|
The alias that yielded this address |
|
|
This is a |
|
|
Address flags |
|
|
The (GECOS) full name of |
|
|
The gid of the |
|
|
The home directory (path), if |
|
|
The host part ( |
|
|
The delivery agent ( |
|
|
Message regarding address (not always an error) |
|
|
Link to the next ADDRESS in the chain |
|
|
The ORCPT parameter from RCPT TO: line was set |
|
|
Get sendmail, 4th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.