sendmail Desktop Reference

sendmail Desktop ReferenceSearch this book
Previous: 4.1 Special Local ParametersChapter 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:

FEATURE(feature)

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

allmasquerade

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

always_add_domain

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).

bestmx_is_local

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

bitdomain

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

domaintable

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

genericstable

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).

limited_masquerade

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

local_procmail

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

mailertable

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).

masquerade_entire_domain

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).

masquerade_envelope

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

nocanonify

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).

nodns

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

nouucp

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

nullclient

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

redirect

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).

smrsh

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).

stickyhost

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).

use_ct_file

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

use_cw_file

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

uucpdomain

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).

virtusertable

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 Parameterssendmail Desktop ReferenceNext: 4.3 MAILER Declarations
4.1 Special Local Parameters 4.3 MAILER Declarations