home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  

sendmail Desktop Reference

sendmail Desktop ReferenceSearch this book
Previous: 4.1 Special Local Parameters Chapter 4
Configuring with m4
Next: 4.3 MAILER Declarations

4.2 FEATURE Declarations

In addition to minimal support, many handy features can be included with a line like:




Here, feature is selected from those listed below. Some accept additional arguments. See cf/README , and §19.3.4, for details.


Causes the MASQUERADE_AS host to replace all header-recipient addresses too (see §19.6.6).


Tells sendmail to always append the local domain to addresses that lack a domain part, even if the recipient is local (see §19.6.7).


Accepts a hostname as local if the best MX record for that host is found in the class $=w (see §19.6.8).


Includes rules that support an external database for converting BITNET addresses into Internet addresses (see §19.6.9).


Allows use of multiple domain names during a transition period (see §19.6.10).


Includes rules that support use of a User Database-like facility to change sender addresses so that senders can be delivered to new hosts (see §19.6.11).


Specifies that only hosts declared with MASQUERADE_DOMAIN and MASQUERADE_DOMAIN_FILE may be masqueraded (see §19.6.12).


Includes rules that allow procmail (1) to be used as the local delivery agent (see §19.6.13).


Includes rules that support a database that maps host.domain names to special delivery agents and new domain name pairs. Essentially it provides a database hook into rule set 0. The new domain names are used for routing but are not reflected in the headers of messages (see §19.6.14).


Causes all hosts under any domains declared by MASQUERADE_DOMAIN or MASQUERADE_ DOMAIN_FILE to be masqueraded. Ordinarily, masquerading only transforms hosts from a list of hosts in the class $=w (see §19.6.15).


Causes the envelope to be masqueraded too. Ordinarily, masquerading only affects the headers (see §19.6.16).


Prevents sendmail from passing addresses to $[ and $] for canonicalization. Ordinarily, as part of rule set 3, sendmail tries to canonify (add a domain to) any hostname that lacks a domain part (see §19.6.17).


Once caused DNS support to be excluded from the configuration file, but now does nothing. Deprecated; use the ServiceSwitchFile instead (see §19.6.18).


Excludes UUCP support from the configuration file (see §19.6.19).


Produces a minimal configuration file that can only forward mail to a mail hub machine (see §19.6.20).


Adds support for address.REDIRECT forms of addresses. This is chiefly used to bounce retired-account mail with useful forwarding information (see §19.6.21).


Cause smrsh(1) (sendmail restricted shell) to be used in place of /bin/sh as the shell for the prog delivery agent (see §19.6.22).


Causes all addresses without a host part to be forwarded to a central mail server, while allowing those with a local host part to remain on the local machine and be delivered in the usual local way (see §19.6.24).


Causes a list of trusted users to be read from the /etc/sendmail.ct file (see §19.6.25).


Causes a list of local hostnames to be read from the /etc/sendmail.cw file (see §19.6.26).


Includes rules that cause hostnames of the form host.UUCP to be looked up in a database. If found, they are rewritten to an @host form as specified in that database (see §19.6.27).


Maps virtual (possibly nonexistent) domains into new addresses. Note that this reroutes delivery, but does not change the mail headers (see §19.6.28).

Previous: 4.1 Special Local Parameters sendmail Desktop Reference Next: 4.3 MAILER Declarations
4.1 Special Local Parameters   4.3 MAILER Declarations