Prev | Current Page 1598 | Next

Bryan Costales, Claus Assmann, George Jansen, Gregory Shapiro

"sendmail, 4th Edition"

Here, the key will replace the
%s and then the whole expression will be searched using the new key.
??? Th e-b switch is necessary if you wish to specify the base from which to search.
??? Th e-h switch is required to specify the host to contact to perform the lookup.
The -k, -h, and -v switches are mandatory.
You can omit selected switches from the K configuration command by defining them with
the LDAPDefaultSpec option (?§24.9.60 on page 1039). In general, this option is used to
define the -b and -h switchsettings. You can, however, use it to define any number of
defaults that you wish.
The following rule can be used with the preceding declaration to look up the preferred mail
address for a user:
R $* <@ $=w . > $* $: $(getname $1 $: $1<@$2>$3 $)
Here, we presume that this rule was preceded by a call to the canonify rule set 3 to focus on
the host part of the address. If the lookup succeeds, the new (unfocused) address is
returned from the mail= line in the database. Otherwise, the original address is returned.
This ldap type has more database switches available for it than most other types. They are
all listed in Table 23-16.
Table 23-16. The ldap database-map type K command switches
Switch ?§ Description
-1 ?§23.7.11.3 on page 915 Consider successful only if one key is matched.
-A ?§23.3.1 on page 886 Append values for duplicate keys.


Pages:
1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610
salon kosmetyczny kraków kasyno torpado out of home advertising zaproszenia ślubne