Prev | Current Page 983 | Next

Bryan Costales, Claus Assmann, George Jansen, Gregory Shapiro

"sendmail, 4th Edition"

7.37 -d28.1
Trace user database transactions Debug command-line switch
The sendmail program can be compiled to use the user database (?§23.7.27 on page 942) by
defining USERDB in the Makefile (?§3.4.75 on page 150). If an address is selected by the
parse rule set 0 for delivery by a delivery agent withth e F=l flag set, and if it remains unaliased
even if the F=A flag is set and if the F=5 (?§20.8.6 on page 764) delivery agent flag is
set, it is looked up in the user database. The -d28.1 (a.k.a. -d28) debugging switchis used
to watch the interaction between sendmail and the user database:
udbexpand(addr)
Here, addr is the address being looked up.
The sender is looked up in a similar fashion. The intent in this case is to correct information
such as the return address:
udbmatch(login, what)
Here, login is the login name of the sender and what is the mailname for sender lookups. If
the lookup is via hesiod, sendmail will print the same information, like this:
hes_udb_get(login, what)
If the sender is found in the database, sendmail prints:
udbmatch = => login@defaulthost
Here, login can be a new login name. The defaulthost is either the sitewide host for all reply
mail as defined in the user database, or the default destination host for a particular user.
In the event that a db(3)-style user database fails to open, the -d28.


Pages:
971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995
katalog stron London Escort Agencies Okulary dieta light pensjonaty w beskidach