Sun Java logo     Previous      Contents      Index      Next     

Sun logo
Sun Java System Messaging Server 6 2004Q2 Administration Guide 

Chapter 12
Configuring Channel Definitions

This chapter describes how to use channel keyword definitions in the MTA configuration file imta.cnf. Please read Chapter 10, "About MTA Services and Configuration",” as well as Channel Definitions and The MTA Configuration File before reading this chapter. This chapter contains the following sections:


Note

If you make channel definition changes in imta.cnf, you must restart any programs or channels that load the configuration data only once when they start up—for example, the SMTP server—by using the imsimta restart command. If you are using a compiled configuration, you must recompile and then restart. For more information about compiling configuration information and starting programs, see the Messaging Server Reference Manual.



Channel Keywords Listed Alphabetically

The following table is an alphabetized list of keywords.

Table 12-1  Channel Keywords Alphabetized

Keyword

Page

Keyword

Page

Keyword

Page

Keyword

Page

733

(more...)

822

(more...)

addreturnpath

(more...)

addrsperfile

(more...)

aliaslocal

(more...)

aliaspostmaster

(more...)

allowetrn

(more...)

allowswitchchannel

(more...)

alternatechannel

(more...)

alternateblocklimit

(more...)

alternatelinelimit

(more...)

alternaterecipientlimit

(more...)

authrewrite

(more...)

backoff

(more...)

bangoverpercent

(more...)

bangstyle

(more...)

bidirectional

(more...)

blocketrn

(more...)

blocklimit

(more...)

cacheeverything

(more...)

cachefailures

(more...)

cachesuccesses

(more...)

channelfilter

(more...)

charset7

(more...)

charset8

(more...)

charsetesc

(more...)

checkehlo

(more...)

commentinc

(more...)

commentmap

(more...)

commentomit

(more...)

commentstrip

(more...)

commenttotal

(more...)

connectalias

(more...)

connectcanonical

(more...)

copysendpost

(more...)

copywarnpost

(more...)

daemon

(more...)

datefour

(more...)

datetwo

(more...)

dayofweek

(more...)

defaulthost

(more...)

defaultmx

(more...)

defaultnameservers

(more...)

deferred

(more...)

defragment

(more...)

dequeue_removeroute

(more...)

destinationfilter

(more...)

disableetrn

(more...)

domainetrn

(more...)

domainvrfy

(more...)

dropblank

(more...)

ehlo

(more...)

eightbit

(more...)

eightnegotiate

(more...)

eightstrict

(more...)

errsendpost

(more...)

errwarnpost

(more...)

expandchannel

(more...)

expandlimit

(more...)

expnallow

(more...)

expndisable

(more...)

expndefault

(more...)

 

 

exproute

(more...)

fileinto

(more...)

filesperjob

(more...)

filter

(more...)

forwardcheckdelete

(more...)

forwardchecknone

(more...)

forwardchecktag

(more...)

header_733

(more...)

header_822

(more...)

header_uucp

(more...)

headerlabelalign

(more...)

headerlinelength

(more...)

headerread

(more...)

headertrim

(more...)

holdexquota

(more...)

holdlimit

(more...)

identnone

(more...)

identnonelimited

(more...)

identnonenumeric

(more...)

identnonesymbolic

(more...)

identtcp

(more...)

identtcplimited

(more...)

identtcpsymbolic

(more...)

ignoreencoding

(more...)

immnonurgent

 

improute

(more...)

includefinal

(more...)

indenttcpnumeric

(more...)

inner

(more...)

innertrim

(more...)

interfaceaddress

(more...)

interpretencoding

(more...)

language

(more...)

lastresort

(more...)

linelength

(more...)

linelimit

(more...)

localvrfy

(more...)

logging

(more...)

loopcheck

(more...)

mailfromdnsverify

(more...)

master

(more...)

master_debug

(more...)

maxblocks

(more...)

maxheaderaddrs

(more...)

maxheaderchars

(more...)

maxjobs

(more...)

maxlines

(more...)

maxprocchars

(more...)

maysaslserver

(more...)

maytls

(more...)

maytlsclient

(more...)

maytlsserver

(more...)

missingrecipientpolicy

(more...)

msexchange

(more...)

multiple

(more...)

mustsaslserver

(more...)

musttls

(more...)

musttlsclient

(more...)

musttlsserver

(more...)

mx

(more...)

nameservers

(more...)

noaddreturnpath

(more...)

nobangoverpercent

(more...)

noblocklimit

(more...)

nocache

(more...)

nochannelfilter

(more...)

nodayofweek

(more...)

nodefaulthost

(more...)

nodeferred

(more...)

nodefragment

(more...)

nodestinationfilter

(more...)

nodropblank

(more...)

noehlo

(more...)

noexproute

(more...)

noexquota

(more...)

nofileinto

(more...)

nofilter

(more...)

noheaderread

(more...)

noheadertrim

(more...)

noimproute

(more...)

noinner

(more...)

noinnertrim

(more...)

nolinelimit

(more...)

nologging

(more...)

noloopcheck

(more...)

nomailfromdnsverify

(more...)

nomaster_debug

(more...)

nomsexchange

(more...)

nomx

(more...)

nonrandomemx

(more...)

nonurgentbackoff

(more...)

nonurgentblocklimit

(more...)

nonurgentnotices

(more...)

noreceivedfor

(more...)

noreceivedfrom

(more...)

noremotehost

(more...)

norestricted

(more...)

noreturnaddress

(more...)

noreturnpersonal

(more...)

noreverse

(more...)

normalbackoff

(more...)

normalblocklimit

(more...)

normalnotices

(more...)

norules

(more...)

nosasl

(more...)

nosaslserver

(more...)

nosaslswitchchannel

(more...)

nosendetrn

(more...)

nosendpost

(more...)

noservice

(more...)

noslave_debug

(more...)

nosmtp

(more...)

nosourcefilter

(more...)

noswitchchannel

(more...)

notices

(more...)

notls

(more...)

notlsclient

(more...)

notlsserver

(more...)

novrfy

(more...)

nowarnpost

(more...)

nox_env_to

(more...)

percentonly

(more...)

percents

(more...)

personalinc

(more...)

personalmap

(more...)

personalomit

(more...)

personalstrip

(more...)

pool

(more...)

port

(more...)

postheadbody

(more...)

postheadonly

(more...)

randommx

(more...)

receivedfor

(more...)

receivedfrom

(more...)

remotehost

(more...)

restricted

(more...)

returnaddress

(more...)

returnenvelope

(more...)

returnpersonal

(more...)

reverse

(more...)

routelocal

(more...)

rules

(more...)

rules

(more...)

saslswitchchannel

(more...)

sendetrn

(more...)

sendpost

(more...)

sensitivitycompanyconfidential

(more...)

sensitivitynormal

(more...)

sensitivitypersonal

(more...)

sensitivityprivate

(more...)

service

(more...)

sevenbit

(more...)

silentetrn

(more...)

single

(more...)

single_sys

(more...)

slave

(more...)

slave_debug

(more...)

smtp

(more...)

smtp_cr

(more...)

smtp_crlf

(more...)

smtp_crorlf

(more...)

smtp_lf

(more...)

sourceblocklimit

(more...)

sourcecommentinc

(more...)

sourcecommentmap

(more...)

sourcecommentomit

(more...)

sourcecommentstrip

(more...)

sourcecommenttotal

(more...)

sourcefilter

(more...)

sourcepersonalinc

(more...)

sourcepersonalmap

(more...)

sourcepersonalomit

(more...)

sourcepersonalstrip

(more...)

sourceroute

(more...)

streaming

(more...)

subaddressexact

(more...)

subaddressrelaxed

(more...)

subaddresswild

(more...)

subdirs

(more...)

submit

(more...)

suppressfinal

(more...)

switchchannel

(more...)

threaddepth

(more...)

tlsswitchchannel

(more...)

transactionlimit

(more...)

unrestricted

(more...)

urgentbackoff

(more...)

urgentblocklimit

(more...)

urgentnotices

(more...)

useintermediate

(more...)

user

(more...)

uucp

(more...)

viaaliasoptional

(more...)

viaaliasrequired

(more...)

vrfyallow

(more...)

vrfydefault

(more...)

vrfyhide

(more...)

warnpost

(more...)

x_env_to

(more...)

 

 

 

 


Channel Keywords Categorized by Function

The following table is a categorized list of keywords.

Table 12-2  Channel Keywords Categorized by Function

Keyword

Page

Definition

Address Handling

733

(more...)

Use % routing in the envelope; synonymous with percents.

822

(more...)

Use source routes in the envelope; same as sourceroute.

addreturnpath

(more...)

Add Return-path: header to messages enqueued to this channel.

aliaslocal

(more...)

Look up rewritten addresses in the alias file and alias database.

authrewrite

(more...)

Used on a source channel to have the MTA propagate authenticated originator information, if available, into the headers.

bangoverpercent

(more...)

Group A!B%C as A!(B%C)

bangstyle

(more...)

Use UUCP ! routing in the envelope; synonymous with uucp.

defaulthost

(more...)

Specify a domain name to use to complete addresses

dequeue_removeroute

(more...)

Removes source routes from envelope To: addresses.

exproute

(more...)

Require explicit routing when addresses passed to remote systems.

holdlimit

(more...)

Hold message when number of envelope recipient addresses exceeds this limit.

improute

(more...)

Implicit routing for this channel’s addresses

missingrecipientpolicy

(more...)

Set policy for how to legalize (which header to add) messages that are lacking any recipient headers.

noaddreturnpath

(more...)

Do not add Return-path: header when enqueuing message.

nobangoverpercent

(more...)

Group A!B%C as (A!B)%C

nodefaulthost

(more...)

Do not specify a domain name to use to complete addresses

noexproute

(more...)

No explicit routing for this channel’s addresses

noimproute

(more...)

No implicit routing for this channel’s addresses

noreceivedfrom

(more...)

Construct Received: header lines without including the original envelope From: address.

noremotehost

(more...)

Use local host’s domain name as the default domain name to complete addresses

norestricted

(more...)

Same as unsrestricted.

noreverse

(more...)

Exempts addresses in messages from address reversal processing

norules

(more...)

Do not enforce channel-specific rewrite rule checks for this channel.

percentonly

(more...)

Ignores bang paths. Use % routing in the envelope.

percents

(more...)

Use % routing in the envelope; synonymous with 733.

remotehost

(more...)

Use remote host’s name as the default domain name to complete addresses

restricted

(more...)

The channel connects to mail systems that require encoding.

reverse

(more...)

Checked addresses against address reversal database or REVERSE mapping

routelocal

(more...)

Causes the MTA, when rewriting an address to the channel, to attempt to “short circuit” any explicit routing in the address.

rules

(more...)

Enforce channel-specific rewrite rule checks for this channel.

sourceroute

(more...)

Synonymous with 822.

subaddressexact

(more...)

Perform no special subaddress handling during entry matching; the entire mailbox, including the subaddress, must match an entry in order for the alias to be considered to match.

subaddressrelaxed

(more...)

After looking for an exact match and then a match of the form name+*, the MTA should make one additional check for a match on just the name portion.

subaddresswild

(more...)

After looking for an exact match including the entire subaddress, the MTA should next look for an entry of the form name+*.

unrestricted

(more...)

Tells the MTA not to perform RFC 1137 encoding and decoding.

uucp

(more...)

Use UUCP! routing in the envelope; synonymous with bangstyle.

viaaliasoptional

(more...)

Final recipient addresses that match the channel are not required to be produced by an alias.

viaaliasrequired

(more...)

Final recipient address that matches the channel must be produced by an alias.

Attachments and MIME Processing

defragment

(more...)

Partial messages queued to the channel are placed in the defragmentation channel queue instead.

ignoreencoding

(more...)

Ignore Encoding: header on incoming messages.

interpretencoding

(more...)

Interpret Encoding: header on incoming messages, if the need arises.

nodefragment

(more...)

Disables defragmention.

Character Sets and Eight Bit Data

charset7

(more...)

Default character set to associate with 7-bit text messages

charset8

(more...)

Default character set to associate with 8-bit text messages

charsetesc

(more...)

Default character set to associate with 7-bit text containing the escape character

eightbit

(more...)

Channel supports eight-bit characters.

eightnegotiate

(more...)

Channel should negotiate use of eight-bit transmission if possible.

eightstrict

(more...)

Reject messages with headers that contain unnegotiated eight-bit data.

sevenbit

(more...)

Do not support 8-bit characters; 8-bit characters must be encoded.

File Creation in the MTA Queue Area

addrsperfile

(more...)

Limit on the maximum number of recipients that can be associated with a single message file in a channel queue

expandchannel

(more...)

Specifies channel in which to perform deferred expansion due to application of expandlimit.

expandlimit

(more...)

Processes an incoming message “off-line” when the number of addressees exceeds this limit.

multiple

(more...)

No limit on the number of recipients in a message file, however the SMTP channel defaults to 99.

single

(more...)

A separate copy of the message will be created for each destination address on the channel.

single_sys

(more...)

Create a single message copy for each destination system used.

subdirs

(more...)

Specifies the number of subdirectories across which to spread messages for the channel queues.

Headers

authrewrite

(more...)

Used on a source channel to have the MTA propagate authenticated originator information, if available, into the headers.

commentinc

(more...)

Leave comments in message header lines intact.

commentmap

(more...)

Runs comment strings in message header lines through the COMMENT_STRINGS mapping table.

commentomit

(more...)

Remove comments from message header lines.

commentstrip

(more...)

Remove problematic characters from comment fields in message header lines.

commenttotal

(more...)

Strip comments (material in parentheses) from all header lines, except Received: header lines. Not recommended.

datefour

(more...)

Expand all year fields to four digits.

datetwo

(more...)

Remove the leading two digits from four-digit dates. Provides compatibility with mail systems that require two digit dates; it should never be used for any other purpose.

dayofweek

(more...)

Retain day of the week information and adds this information to date and time headers if it is missing.

defaulthost

(more...)

Specify a domain name to use to complete addresses

dropblank

(more...)

Strip illegal blank headers from incoming messages.

header_733

(more...)

Use % routing in the message header.

header_822

(more...)

Use source routes in the message header.

headerlabelalign

(more...)

Controls the alignment point for message headers enqueued on this channel; it takes an integer-valued argument.

headerlinelength

(more...)

Controls the length of header lines enqueued on this channel.

headerread

(more...)

Apply header trimming rules from an options file to the message headers upon message enqueue (use with caution) before the original message headers are processed.

headertrim

(more...)

Applies header trimming rules from an options file to the message headers after the original message headers are processed.

header_uucp

(more...)

Use ! routing in the header

inner

(more...)

Parse messages and rewrite inner headers.

innertrim

(more...)

Apply header trimming rules from an options file to inner message headers (use with caution).

language

(more...)

Specifies the default language in headers.

maxheaderaddrs

(more...)

Controls how many addresses can appear on a single line.

maxheaderchars

(more...)

Controls how many characters can appear on a single line.

missingrecipientpolicy

(more...)

Set policy for how to legalize (which header to add) messages that are lacking any recipient headers.

nodayofweek

(more...)

Removes day of the week from date and time headers. Provides compatibility with mail systems that cannot process this information; it should never be used for any other purpose.

nodefaulthost

(more...)

Do not specify a domain name to use to complete addresses

nodropblank

(more...)

Do not strip illegal blank headers from incoming messages.

noheaderread

(more...)

Do not apply header trimming rules from option file.

noheadertrim

(more...)

Do not apply header trimming rules from options file.

noinner

(more...)

Do not to rewrite inner message header lines.

noinnertrim

(more...)

Do not apply header trimming to inner message headers.

noreceivedfor

(more...)

Construct Received: header lines without including any envelope recipient information.

noreceivedfrom

(more...)

Construct Received: header lines without including the original envelope From: address.

noremotehost

(more...)

Use local host’s domain name as the default domain name to complete addresses

noreverse

(more...)

Exempts addresses in messages queued to the channel from address reversal processing

norules

(more...)

Do not enforce channel-specific rewrite rule checks for this channel.

nox_env_to

(more...)

Remove X-Envelope-to header lines.

personalinc

(more...)

Leave personal name fields in message header lines intact.

personalmap

(more...)

Run personal names through PERSONAL_NAMES mapping table.

personalomit

(more...)

Remove personal name fields from message header lines.

personalstrip

(more...)

Strip problem characters from personal name fields in header lines.

receivedfor

(more...)

If a message is addressed to just one envelope recipient, to include that envelope To: address in the Received: header line it constructs.

receivedfrom

(more...)

Include the original envelope From: address when constructing a Received: header line for an incoming message if the MTA has changed the envelope From: address.

remotehost

(more...)

Use remote host’s name as the default domain name to complete addresses

restricted

(more...)

Channel connects to mail systems that require this encoding.

reverse

(more...)

Check addresses against address reversal database or REVERSE mapping

rules

(more...)

Enforce channel-specific rewrite rule checks for this channel.

sensitivitycompanyconfidential

(more...)

Companyconfidential is the upper sensitivity limit of messages accepted.

sensitivitynormal

(more...)

Normal is the upper sensitivity limit of messages accepted.

sensitivitypersonal

(more...)

Personal is the upper sensitivity limit of messages accepted.

sensitivityprivate

(more...)

Private is the upper sensitivity limit of messages accepted.

sourcecommentinc

(more...)

Leave comments in incoming message header lines.

sourcecommentmap

(more...)

Runs comment strings in header lines through source channels.

sourcecommentomit

(more...)

Remove comments from incoming message header lines, for example, To:, From:, and Cc: headers.

sourcecommentstrip

(more...)

Remove problematic characters from comment field in incoming header lines.

sourcecommenttotal

(more...)

Strip comments (material in parentheses) in incoming messages.

sourcepersonalinc

(more...)

Leave personal names in incoming message header lines intact.

sourcepersonalmap

(more...)

Run personal names through source channels.

sourcepersonalomit

(more...)

Remove personal name fields from incoming message header lines.

sourcepersonalstrip

(more...)

Strip problematic characters from personal name fields in incoming message header lines.

unrestricted

(more...)

Tells the MTA not to perform RFC 1137 encoding and decoding.

x_env_to

(more...)

Enables generation of X-Envelope-to header lines.

Incoming channel matching and switching

allowswitchchannel

(more...)

Allows switching to this channel from a switchchannel channel

nosaslswitchchannel

(more...)

No switching to this channel upon successful SASL authentication

noswitchchannel

(more...)

No channel switching should be done to or from the channel.

switchchannel

(more...)

Switches from the server channel to the channel associated with the originating host.

saslswitchchannel

(more...)

Cause incoming connections to be switched to a specified channel upon a client’s successful use of SASL.

tlsswitchchannel

(more...)

Switches to another channel upon successful TLS negotiation.

Logging and debugging

logging

(more...)

Log message enqueues and dequeues into the log file and activates logging for a particular channel.

loopcheck

(more...)

Places a string into the SMTP EHLO response banner in order for the MTA to check if it is communicating with itself.

master_debug

(more...)

Create debugging output in the channel’s master program output.

nologging

(more...)

Do not log message enqueues and dequeues into the log file.

noloopcheck

(more...)

No string into the SMTP EHLO response banner.

nomaster_debug

(more...)

No debugging output in the channel’s master program output.

noslave_debug

(more...)

Do not generate slave debugging output.

slave_debug

(more...)

Generate slave debug output.

Long Address Lists or Headers

expandchannel

(more...)

Specifies channel in which to perform deferred expansion due to application of expandlimit.

expandlimit

(more...)

Processes an incoming message “off-line” when the number of addressees exceeds this limit.

holdlimit

(more...)

Holds a message when the number of addresses exceeds this limit.

maxprocchars

(more...)

Maximum length header that can be processed and rewritten.

Mailbox filters

channelfilter

(more...)

Location of channel filter file; same as destinationfilter.

destinationfilter

(more...)

Location of channel filter file that applies to outgoing messages.

fileinto

(more...)

Specify effect on address when a mailbox filter fileinto operation is applied.

filter

(more...)

Specify the location of user filter files.

nochannelfilter

(more...)

No channel filtering for outgoing messages. Also known as nodestinationfilter.

nodestinationfilter

(more...)

Do not perform channel filtering for outgoing messages.

nofileinto

(more...)

Mailbox filter fileinto operator has no effect.

nofilter

(more...)

Do not perform user mailbox filtering.

nosourcefilter

(more...)

Do not perform channel filtering for incoming messages.

sourcefilter

(more...)

Specify the location of channel filter file for incoming messages.

Notification and Postmaster Messages (See page (more...) for complete notification procedures)

aliaspostmaster

(more...)

Messages addressed to the user name postmaster at the official channel name are redirected to postmaster@local-host, where local-host is the local host name (the name on the local channel).

copysendpost

(more...)

Sends a copy of the failure notice to the postmaster unless the originator address on the failing message is blank.

copywarnpost

(more...)

Sends a copy of the warning message to the postmaster unless the originator address on the undelivered message is blank.

errsendpost

(more...)

Sends a copy of the failure notice to the postmaster only when the notice cannot be returned to the originator.

errwarnpost

(more...)

Sends a copy of the warning message to the postmaster when the notice cannot be returned to the originator.

includefinal

(more...)

Include final form of recipient address in delivery notifications.

nonurgentnotices

(more...)

Specifies the amount of time that may elapse before notices are sent and messages returned for messages of non-urgent priority.

noreturnaddress

(more...)

Use RETURN_ADDRESS option value as postmaster address name.

noreturnpersonal

(more...)

Use RETURN_PERSONAL option value as postmaster personal name.

normalnotices

(more...)

Specifies the amount of time that may elapse before notices are sent and messages returned for messages of normal priority.

nosendpost

(more...)

Disables sending a copy of all failed messages to the postmaster.

notices

(more...)

Specifies the amount of time that may elapse before notices are sent and messages returned.

nowarnpost

(more...)

Disables sending a copy of warning messages to the postmaster.

postheadbody

(more...)

Returns both the headers and the contents of the message.

postheadonly

(more...)

Returns only headers to the postmaster.

returnaddress

(more...)

Specifies the return address for the local postmaster.

returnenvelope

(more...)

Control use of blank envelope return addresses.

returnpersonal

(more...)

Set the personal name for the local postmaster.

sendpost

(more...)

Enables sending a copy of all failed messages to the postmaster.

suppressfinal

(more...)

Suppress the final address form from notification messages, if an original address form is present, from notification messages.

urgentnotices

(more...)

Specify the amount of time which may elapse before notices are sent and messages returned for messages of urgent priority.

useintermediate

(more...)

Uses an intermediate form of the address produced after list expansion, but prior to user mailbox name generation.

warnpost

(more...)

Enables sending a copy of warning messages to the postmaster.

Processing Control and Job Submission (See Table 12-7 for greater functional granularity)

backoff

(more...)

Frequency of attempted redelivery of unsuccessfully delivered messages. Can be overridden by the keywords normalbackoff, nonurgentbackoff, urgentbackoff.

bidirectional

(more...)

Channel served by a master and slave program.

deferred

(more...)

Recognize and honor of the Deferred-delivery: header line.

expandchannel

(more...)

Specifies channel in which to perform deferred expansion due to application of expandlimit.

expandlimit

(more...)

Processes an incoming message “off-line” when the number of addressees exceeds this limit.

filesperjob

(more...)

Number of queue entries to be processed by a single job.

immnonurgent

 

Starts delivery immediately after submission for urgent, normal, and non-urgent messages.

master

(more...)

Channel served by a master program (master).

maxjobs

(more...)

Maximum number of jobs that can be running concurrently for the channel.

nodeferred

(more...)

Specifies that Deferred-delivery: header line not be honored.

nonurgentbackoff

(more...)

The frequency for attempted redelivery of nonurgent messages.

nonurgentblocklimit

(more...)

Forces messages above this size to lower than nonurgent priority (second class priority), meaning that the messages will always wait for the next periodic job for further processing.

normalbackoff

(more...)

The frequency for attempted redelivery of normal messages.

normalblocklimit

(more...)

Forces messages above this size to nonurgent priority.

noservice

(more...)

Service conversions for messages coming into this channel must be enabled via CHARSET-CONVERSION.

pool

(more...)

Specifies a pool for a channel. Must be followed by the pool name to which delivery jobs for the current channel should be pooled.

service

(more...)

Unconditionally enables service conversions regardless of CHARSET-CONVERSION entry.

slave

(more...)

Channel served by a master program (slave).

threaddepth

(more...)

Number of messages triggering new thread with multithreaded SMTP client.

transactionlimit

 

Limits the number of messages allowed per connection.

urgentbackoff

(more...)

The frequency for attempted redelivery of urgent messages.

urgentblocklimit

(more...)

Forces messages above this size to normal priority.

user

(more...)

Used on pipe channels to indicate under what user name to run.

Sensitivity limits

sensitivitycompanyconfidential

(more...)

Upper sensitivity limit of messages accepted.

sensitivitynormal

(more...)

Normal is the upper sensitivity limit of messages accepted.

sensitivitypersonal

(more...)

Personal is the upper sensitivity limit of messages accepted.

sensitivityprivate

(more...)

Private is the upper sensitivity limit of messages accepted.

Size Limits on Messages, and User Quotas and Privileges

alternatechannel

(more...)

Alternate destination channel for alternateblocklimit, alternatelinelimit, and alternaterecipientlimit

alternateblocklimit

(more...)

Specifies limit on the number of blocks in a message before it will be sent to alternativechannel.

alternatelinelimit

(more...)

Specifies limit on the number of lines in a message before it will be sent to alternativechannel.

alternaterecipientlimit

(more...)

Specifies limit on the number of recipients in a message before it will be sent to alternativechannel.

blocklimit

(more...)

Maximum number of MTA blocks allowed per message.

holdexquota

(more...)

Hold messages for users that are over quota.

holdlimit

(more...)

Holds an incoming message when the number of addresses exceeds this limit.

linelength

(more...)

Limits the maximum permissible message line length on a channel-by-channel basis.

linelimit

(more...)

Maximum number of lines allowed per message.

maxblocks

(more...)

Specifies the maximum number of blocks allowed in a message.

maxlines

(more...)

Specifies the maximum number of lines allowed in a message.

noblocklimit

(more...)

No limit for the number of MTA blocks allowed per message.

noexquota

(more...)

Return to originator any messages to users who are over quota.

nolinelimit

(more...)

No limit specified for the number of lines allowed per message.

nonurgentblocklimit

(more...)

Forces messages above this size to lower than nonurgent priority (second class priority), meaning that the messages will always wait for the next periodic job for further processing.

normalblocklimit

(more...)

Forces messages above this size to nonurgent priority.

sourceblocklimit

(more...)

Maximum number of MTA blocks allowed per incoming message.

urgentblocklimit

(more...)

Forces messages above this size to normal priority.

SMTP Authentication, SASL and TLS (See (more...) for greater functional granularity)

authrewrite

(more...)

Used on a source channel to have the MTA propagate authenticated originator information, if available, into the headers.

maysaslserver

(more...)

Permit clients to attempt to use SASL authentication.

maytls

(more...)

Causes the MTA to offer TLS to incoming connections and to attempt TLS upon outgoing connections.

maytlsclient

(more...)

The MTA SMTP client will attempt TLS use when sending outgoing messages, if sending to an SMTP server that supports TLS.

maytlsserver

(more...)

The MTA SMTP server will advertise support for the STARTTLS extension and will allow TLS use when receiving messages.

msexchange

(more...)

Used on TCP/IP channels to tell the MTA that this is a channel that communicates with Microsoft Exchange gateways and clients.

mustsaslserver

(more...)

SMTP server does not accept messages unless remote client successfully authenticates.

musttls

(more...)

Insist upon TLS in both outgoing and incoming connections.

musttlsclient

(more...)

The MTA SMTP client will insist on TLS use when sending outgoing messages (the MTA will issue the STARTTLS command and that command must succeed).

musttlsserver

(more...)

The MTA SMTP server will advertise support for the STARTTLS extension and will insist upon TLS use when receiving incoming messages.

nomsexchange

(more...)

Default.

nosasl

(more...)

SASL authentication is not permitted or attempted.

nosaslserver

(more...)

SASL authentication is not permitted.

notls

(more...)

TLS will not be permitted or attempted.

notlsclient

(more...)

TLS use will not be attempted by the MTA SMTP client on outgoing connections (the STARTTLS command will not be issued during outgoing connections).

notlsserver

(more...)

TLS use will not be permitted by the MTA SMTP server on incoming connections (the STARTTLS extension will not be advertised by the SMTP server nor the command itself accepted).

saslswitchchannel

(more...)

Cause incoming connections to be switched to a specified channel upon a client’s successful use of SASL.

tlsswitchchannel

(more...)

Cause incoming connections to be switched to a specified channel upon a client's successful TLS negotiation. It takes a required value, specifying the channel to which to switch.

SMTP Commands and Protocol (See Table 12-4 for greater functional granularity)

allowetrn

(more...)

Honors ETRN commands.

blocketrn

(more...)

Blocks ETRN commands.

checkehlo

(more...)

Checks the SMTP response banner to determine whether to use EHLO or HELO.

disableetrn

(more...)

Disable support for the ETRN SMTP command.

domainetrn

(more...)

Honors only those ETRN commands that specify a domain.

domainvrfy

(more...)

Issues VRFY commands using a full address.

ehlo

(more...)

Uses the SMTP EHLO command on initial connections.

eightbit

(more...)

Channel supports eight-bit characters.

eightnegotiate

(more...)

Channel should negotiate use of eight-bit transmission if possible.

eightstrict

(more...)

Reject messages with headers that contain unnegotiated eight-bit data.

expnallow

(more...)

Allows EXPN even if it has been disabled at the SMTP server level with the DISABLE_EXPAND SMTP channel option.

expndisable

(more...)

Disables EXPN unconditionally.

expndefault

(more...)

Allows EXPN if the SMTP server is set to allow it.

localvrfy

(more...)

Issues VRFY commands using a local address.

mailfromdnsverify

(more...)

Verifies domain used on MAIL FROM: command exists in the DNS.

noehlo

(more...)

Does not use the EHLO command.

nomailfromdnsverify

(more...)

Does not verify that the domain used on the MAIL FROM: command exists in the DNS.

nosendetrn

(more...)

Does not send ETRN commands.

nosmtp

(more...)

Does not support the SMTP protocol. This is the default.

novrfy

(more...)

Does not issue VRFY commands.

sendetrn

(more...)

Sends ETRN commands.

sevenbit

(more...)

Do not support 8-bit characters; 8-bit characters must be encoded.

silentetrn

(more...)

Honors ETRN commands without echoing channel information.

smtp

(more...)

Supports the SMTP protocol. The keyword smtp is mandatory for all SMTP channels. (This keyword is equivalent to smtp_crorlf.)

smtp_cr

(more...)

Accepts lines terminated with a carriage return (CR) without a following line feed (LF).

smtp_crlf

(more...)

Lines must be terminated with a carriage return (CR) line feed (LF) sequence.

smtp_crorlf

(more...)

Lines may be terminated with any of a carriage return (CR), or a line feed (LF) sequence, or a full CRLF.

smtp_lf

(more...)

Accepts lines terminated with linefeed (LF) without preceding CR.

streaming

(more...)

Controls the degree of protocol streaming used in the protocol associated with a channel.

vrfyallow

(more...)

Provides informative responses to VRFY commands.

vrfydefault

(more...)

Provides default responses to VRFY command, according to channel’s HIDE_VERIFY option setting.

vrfyhide

(more...)

Provides obfuscatory responses to SMTP VRFY command.

TCP/IP Connection and DNS Lookup Support (See Table 12-5 for greater functional granularity)

cacheeverything

(more...)

Caches all connection information.

cachefailures

(more...)

Caches only connection failure information.

cachesuccesses

(more...)

Caches only connection success information.

connectalias

(more...)

Deliver to whatever host is listed in the recipient address.

connectcanonical

(more...)

Connect to the host alias for the system to which the MTA would be connected.

daemon

(more...)

Connects to a specific host system regardless of the envelope address.

defaultmx

(more...)

Channel determines whether to do MX lookups from network.

defaultnameservers

(more...)

Consults TCP/IP stack’s choice of nameservers.

forwardcheckdelete

(more...)

If reverse DNS lookup performed, next performs a forward lookup on the returned name to check that the returned IP number matches the original; if not, deletes the name and use the IP address.

forwardchecknone

(more...)

Does not perform a forward lookup after a DNS reverse lookup.

forwardchecktag

(more...)

If a reverse DNS lookup has been performed, next performs a forward lookup on the returned name to check that the returned IP number matches the original; if not, tags the name with *.

identnone

(more...)

No perform IDENT lookups; performs IP to hostname translation; includes both hostname and IP address in Received: header.

identnonelimited

(more...)

No IDENT lookups; does perform IP to hostname translation, but does not use the hostname during channel switching; includes both hostname and IP address in Received: header.

identnonenumeric

(more...)

Does not perform IDENT lookups or IP to hostname translation.

identnonesymbolic

(more...)

Does not perform IDENT lookups; does perform IP to hostname translation; includes only the hostname in Received: header.

identtcp

(more...)

Performs IDENT lookups on incoming SMTP connections and IP to hostname translation; include both hostname and IP address in Received: header

identtcplimited

(more...)

Performs IDENT lookups on incoming SMTP connections and IP to hostname translation, but do not use the hostname during channel switching. Include hostname and IP address in Received: header.

indenttcpnumeric

(more...)

Performs IDENT lookups on incoming SMTP connections, but does not perform IP to hostname translation.

identtcpsymbolic

(more...)

Performs IDENT lookups on incoming SMTP connections and IP to hostname translation; includes only hostname in Received: header.

interfaceaddress

(more...)

Binds to the specified TCP/IP interface address.

lastresort

(more...)

Specifies a last resort host.

mailfromdnsverify

(more...)

Verifies that the domain used on the MAIL FROM: command exists in the DNS.

mx

(more...)

TCP/IP network and software supports MX records lookup.

nameservers

(more...)

Specifies a list of nameservers to consult rather than consulting the TCP/IP stack's own choice of nameservers; nameservers requires a space separated list of IP addresses for the nameservers.

nocache

(more...)

Does not cache any connection information.

nomailfromdnsverify

(more...)

Does not verify that the domain used on the MAIL FROM: command exists in the DNS.

nomx

(more...)

TCP/IP network does not support MX lookups.

nonrandomemx

(more...)

Does MX lookups; does not randomize returned entries with equal precedence.

port

(more...)

Specifies the default port number for SMTP connections. The standard port is 25.

randommx

(more...)

Does MX lookups; randomizes returned entries with equal precedence.

single

(more...)

Specifies that a separate copy of the message should be created for each destination address on the channel.

single_sys

(more...)

Creates single copy of message for each destination system used.

threaddepth

(more...)

Number of messages triggering new thread with multithreaded SMTP client.

Miscellaneous

submit

(more...)

Used to mark a channel as a submit-only channel.

user

(more...)

Used on pipe channels to indicate under what user name to run.


Configuring Channel Defaults

Many configurations involve repetition of various channel keywords on all or nearly all channels. Maintaining such a configuration is both tedious and error-prone. To simplify some configurations, you can specify which keywords are defaults for various channels.

For example, the following line in a configuration file indicates that all channel blocks following the line will inherit the keywords specified in the line:

defaults keyword1 keyword2 keyword3 ...

The defaults line can be thought of as a special channel block that changes the keyword defaults without actually specifying a channel. The defaults line also does not require any additional lines of channel block information (if any are specified they will be ignored).

There is no limit on the number of defaults lines that can be specified—the effects of multiple defaults lines are cumulative with the most recently encountered (reading from top to bottom) line having precedence.

It may be useful to unconditionally eliminate the effects of any defaults lines starting at some point in the configuration file (at the start of a standalone section of channel blocks in an external file, for example). The nodefaults line is provided for this purpose. For example, inserting the following line in the configuration file nullifies all settings established by any previous defaults channel and returns the configuration to the state that would apply if no defaults had been specified:

nodefaults

Like regular channel blocks, a blank line must separate each defaults or nodefaults channel block from other channel blocks. The defaults and nodefaults channel blocks are the only channel blocks which may appear before the local channel in the configuration file. However, like any other channel block, they must appear after the last rewrite rule.


Configuring SMTP Channels

Depending on the type of installation, Messaging Server provides several SMTP channels at installation time (see table below). These channels implement SMTP over TCP/IP. The multithreaded TCP SMTP channel includes a multithreaded SMTP server that runs under the control of the Dispatcher. Outgoing SMTP mail is processed by the channel program tcp_smtp_client, and runs as needed under the control of the Job Controller.

Table 12-3  SMTP Channels

Channel

Definition

tcp_local

Receives inbound messages from remote SMTP hosts. Depending on whether you use a smarthost/firewall configuration, either sends outbound messages directly to remote SMTP hosts or sends outbound messages to the smarthost/firewall system.

tcp_intranet

Receives and sends messages within the intranet.

tcp_auth

Used as a switch channel for tcp_local; authenticated users switch to the tcp_auth channel to avoid relay-blocking restrictions.

tcp_submit

Accepts message submissions—usually from user agents—on the reserved submission port 587 (see RFC 2476).

tcp_tas

IA special channel used by sites doing Unified Messaging.

You can modify the definitions of these channels or create new channels by adding or removing channel keywords as described in this section. In addition, an option file may be used to control various characteristics of TCP/IP channels. Such an option file must be stored in the MTA configuration directory (msg_svr_base/config) and named x_option, where x is the name of the channel. Refer to the Sun Java System Messaging Server Administration Reference for details.

This section is divided into the following subsections:

Configuring SMTP Channel Options

TCP/IP channel option files control various characteristics of TCP/IP channels. Channel option files must be stored in the MTA configuration directory and named x_option, where x is the name of the channel. For example, /msg_svr_base/config/tcp_local_option

The option file consists of one or more keywords and associated values. For example you can disable mailing list expansion on your server by including the DISABLE_EXPAND keyword in the option file and setting the value to 1.

Other option file keywords allow you to:

For information about all channel option keywords and syntax, see the Messaging Server Reference Manual.

SMTP Command and Protocol Support

You can specify whether an SMTP channel supports certain SMTP commands, such as EHLO, ETRN, EXPN and VRFY. You can also specify whether the channel support DNS domain verification, which characters the channel accepts as line terminators, and so on. This section describes the following:

Table 12-4 summarizes the keywords described in this section.

Table 12-4  SMTP Command and Protocol Keywords

Channel Keyword(s)

Description

Protocol Selection and Line Terminators

Specifies whether the channel supports the SMTP protocol and specifies the character sequences accepted as line terminators.

smtp

Supports the SMTP protocol. The keyword smtp is mandatory for all SMTP channels. (This keyword is equivalent to smtp_crorlf.)

nosmtp

Does not support the SMTP protocol. This is the default.

smtp_cr

Accepts lines terminated with a carriage return (CR) without a following line feed (LF).

smtp_crlf

Lines must be terminated with a carriage return (CR) line feed (LF) sequence.

smtp_lf

Accepts lines terminated with a linefeed (LF) without a preceding CR.

smtp_crorlf

Lines may be terminated with any of a carriage return (CR), or a line feed (LF) sequence, or a full CRLF.

EHLO keywords

Specifies how the channel handles EHLO commands

ehlo

Uses the SMTP EHLO command on initial connections.

checkehlo

Checks the SMTP response banner to determine whether to use EHLO or HELO.

noehlo

Does not use the EHLO command.

ETRN keywords

Specifies how the channel handles ETRN commands (requests for queue processing)

allowetrn

Honors ETRN commands.

blocketrn

Blocks ETRN commands.

domainetrn

Honors only those ETRN commands that specify a domain.

silentetrn

Honors ETRN commands without echoing channel information.

sendetrn

Sends ETRN commands.

nosendetrn

Does not send ETRN commands.

VRFY keywords

Specifies how the channel handles VRFY commands

domainvrfy

Issues VRFY commands using a full address.

localvrfy

Issues VRFY commands using a local address.

novrfy

Does not issue VRFY commands.

vrfyallow

Provides informative responses to VRFY commands.

vrfydefault

Provides default responses to VRFY command, according to channel’s HIDE_VERIFY option setting.

vrfyhide

Provides obfuscatory responses to SMTP VRFY command.

EXPN Keywords

Specifies how the channel handles EXPN keywords

expnallow

Allows EXPN even if it has been disabled at the SMTP server level with the DISABLE_EXPAND SMTP channel option.

expndisable

Disables EXPN unconditionally.

expndefault

Allows EXPN if the SMTP server is set to allow it. (Default)

DNS Domain Verification

Specifies whether the channel performs DNS domain verification

mailfromdnsverify

Verifies that the domain used on the MAIL FROM: command exists in the DNS.

nomailfromdnsverify

Does not verify that the domain used on the MAIL FROM: command exists in the DNS.

Character Sets and Eight-bit data

Specifies how the channel handles eight-bit data
(Note: Although these keywords are commonly used on SMTP channels, they are potentially relevant to any sort of channel.)

charset7

Default character set to associate with 7-bit text messages

charset8

Default character set to associate with 8-bit text messages

charsetesc

Default character set to associate with 7-bit text containing the escape character

eightbit

Channel supports eight-bit characters.

eightnegotiate

Channel should negotiate use of eight-bit transmission if possible.

eightstrict

Channel should reject messages with headers that contain illegal eight-bit data.

sevenbit

Channel does not support eight-bit characters; eight-bit characters must be encoded.

Protocol streaming

Specify degree of protocol streaming for channel to use

streaming

Controls the degree of protocol streaming used in the protocol associated with a channel.

Channel Protocol Selection and Line Terminators

Keywords: smtp, nosmtp, smtp_crlf, smtp_cr, smtp_crorlf, smtp_lf

The smtp and nosmtp keywords specify whether or not a channel supports the SMTP protocol. The smtp keyword, or one of its variations, is mandatory for all SMTP channels.

The keywords smtp_crlf, smtp_cr, smtp_crorlf, and smtp_lf can be used on SMTP channels to specify the character sequences that the MTA will accept as line terminators. The keyword smtp_crlf means that lines must be terminated with a carriage return (CR) line feed (LF) sequence. The keyword smtp_lf or smtp means that an LF without a preceding CR is accepted. Finally, smtp_cr means that a CR is accepted without a following LF. These option affect only the handling of incoming material.

Because the SMTP standard requires CRLF as the line terminator, the MTA always generates the standard CRLF sequence. The various smtp keywords merely control whether the MTA will accept additional non-standard line terminators. For example, you can specify smtp_crlf if you want the MTA to accept only strictly legal SMTP messages and reject any messages with nonstandard line terminators.

EHLO Command Support

Keywords: ehlo, noehlo, checkehlo

The SMTP protocol has been extended (RFC 1869) to allow for negotiation of additional commands. This is done by using the new EHLO command, which replaces RFC 821's HELO command. Extended SMTP servers respond to EHLO by providing a list of the extensions they support. Unextended servers return an unknown command error and the client then sends the old HELO command instead.

This fallback strategy normally works well with both extended and unextended servers. Problems can arise, however, with servers that do not implement SMTP according to RFC 821. In particular, some noncompliant servers are known to drop the connection on receipt of an unknown command.

The SMTP client implements a strategy whereby it attempts to reconnect and use HELO when any server drops the connection on receipt of an EHLO. However, this strategy might not work if the remote server not only drops the connection but also goes into a problematic state upon receipt of EHLO.

The channel keywords ehlo, noehlo, and checkehlo are provided to deal with such situations. The ehlo keyword tells the MTA to use the EHLO command on all initial connection attempts. The noehlo keyword disables all use of the EHLO command. The checkehlo keyword tests the response banner returned by the remote SMTP server for the string “ESMTP”. If this string is found EHLO is used; if not, HELO is used. The default behavior is to use EHLO on all initial connection attempts, unless the banner line contains the string “fire away”, in which case HELO is used; note that there is no keyword corresponding to this default behavior, which lies between the behaviors resulting from the ehlo and checkehlo keywords.

ETRN Command Support

Keywords: allowetrn, blocketrn, disableetrn, domainetrn, silentetrn, sendetrn, nosendetrn, novrfy

The ETRN command, defined in RFC 1985, provides an extension to the SMTP service whereby an SMTP client and server can interact to give the server an opportunity to start the processing of its queues for messages to go to a given host.

Using ETRN, an SMTP client can request that a remote SMTP server start processing the message queues destined for sending to the SMTP client. Thus, ETRN provides a way to implement “polling” of remote SMTP systems for messages incoming to one’s own system. This can be useful for systems that have only transient connections between each other, for example, sites that are set up as secondary mail exchange (MX) hosts for other sites that only have a dial-up connection to the Internet. By enabling this command, you permit remote, possibly dial-up, servers to request delivery of their mail.

The SMTP client specifies on the SMTP ETRN command line the name of the system to which to send messages (generally the SMTP client system’s own name). If the remote SMTP server supports the ETRN command, it will trigger execution of a separate process to connect back to the named system and send any messages awaiting delivery for that named system.

Responding to ETRN Commands

The allowetrn, blocketrn, domainetrn, and silentetrn keywords control the MTA response when a sending SMTP client issues the ETRN command, requesting that the MTA attempt to deliver messages in the MTA queues.

By default, the MTA will attempt to honor all ETRN commands; that is, the allowetrn keyword is enabled. You can specify that the MTA not honor ETRN commands by including the blocketrn keyword in the channel definition.

You can specify that the MTA honor all ETRN commands, but without echoing the name of the channel that the domain matched and that the MTA will be attempting to run by including the silentetrn keyword. The domainetrn keyword specifies that the MTA honor only ETRN commands that specify a domain; it also causes the MTA not to echo back the name of the channel that the domain matched and that the MTA will be attempting to run.

disableetrn disables support for the ETRN command entirely; ETRN is not advertised by the SMTP server as a supported command.

Sending ETRN Commands

The sendetrn and nosendetrn channel keywords control whether the MTA sends an ETRN command at the beginning of an SMTP connection. The default is nosendetrn, meaning that the MTA will not send an ETRN command. The sendetrn keyword tells the MTA to send an ETRN command, if the remote SMTP server says it supports ETRN. The sendetrn keyword should be followed by the name of the system requesting that its messages receive a delivery attempt.

VRFY Command Support

Keywords: domainvrfy, localvrfy, vrfyallow, vrfydefault, vrfyhide

The VRFY command enables SMTP clients to send a request to an SMTP server to verify that mail for a specific user name resides on the server. The VRFY command is defined in RFC 821.

The server sends a response indicating whether the user is local or not, whether mail will be forwarded, and so on. A response of 250 indicates that the user name is local; a response of 251 indicates that the user name is not local, but the server can forward the message. The server response includes the mailbox name.

Sending a VRFY Command

Under normal circumstances there is no reason to issue a VRFY command as part of an SMTP dialogue. The SMTP RCPT TO command should perform the same function that VRFY does and return an appropriate error. However, servers exist that can accept any address in a RCPT TO (and bounce it later), whereas these same servers perform more extensive checking as part of a VRFY command.

By default, the MTA does not send a VRFY command (the novrfy keyword is enabled).

If necessary, the MTA can be configured to issue the SMTP VRFY command by including the domainvrfy or localvrfy keyword in the channel definition. The keyword domainvrfy causes a VRFY command to be issued with a full address (user@host) as its argument. The localvrfy keyword causes the MTA to issue a VRFY command with just the local part of the address (user).

Responding to a VRFY Command

The vrfyallow, vrfydefault, and vrfyhide keywords control the SMTP server’s response when a sending SMTP client issues an SMTP VRFY command.

The vrfyallow keyword tells the MTA to issue a detailed, informative response. The vrfydefault tells the MTA to provide a detailed, informative response, unless the channel option HIDE_VERIFY=1 has been specified. The vrfyhide keyword tells the MTA to issue only a vague, ambiguous response. These keywords allow per-channel control of VRFY responses, as opposed to the HIDE_VERIFY option, which normally applies to all incoming TCP/IP channels handled through the same SMTP server.

EXPN Support

Keywords: expnallow, expndisable, expndefault

expnallow allows EXPN even if it has been disabled at the SMTP server level with the DISABLE_EXPAND SMTP channel option. expndisable disables EXPN unconditionally. expndefault allows EXPN if the SMTP server is set to allow it (default). Expansion can be disabled on a per-list basis, but if it is disabled at the server level, the per-list settings are irrelevant.

DNS Domain Verification

Keywords: mailfromdnsverify, nomailfromdnsverify

Setting mailfromdnsverify on an incoming TCP/IP channel causes the MTA to verify that an entry in the DNS exists for the domain used on the SMTP MAIL FROM command, and to reject the message if no such entry exists. The default, nomailfromdnsverify, means that no such check is performed. Note that performing DNS checks on the return address domain may result in rejecting some desired valid messages (for instance, from legitimate sites that simply have not yet registered their domain name, or at times of bad information in the DNS); it is contrary to the spirit of being generous in what you accept and getting the e-mail through, expressed in RFC 1123, Requirements for Internet Hosts. However, some sites may desire to perform such checks in cases where unsolicited bulk email (UBE) is being sent with forged e-mail addresses from non-existent domains.

Character Set Labeling and Eight-Bit Data

Keywords: charset7, charset8, charsetesc, sevenbit, eightbit, eightnegotiate, eightstrict

Character Set Labeling

The MIME specification provides a mechanism to label the character set used in a plain text message. Specifically, a charset= parameter can be specified as part of the Content-type: header line. Various character set names are defined in MIME, including US-ASCII (the default), ISO-8859-1, ISO-8859-2, and many more that have been subsequently defined.

Some existing systems and user agents do not provide a mechanism for generating these character set labels; as a result, some plain text messages may not be properly labeled. The charset7, charset8, and charsetesc channel keywords provide a per-channel mechanism to specify character set names to be inserted into message headers which lack character set labelling. Each keyword requires a single argument giving the character set name. The names are not checked for validity. Note, however, that character set conversion can only be done on character sets specified in the character set definition file charsets.txt found in the MTA table directory. The names defined in this file should be used if possible.

The charset7 character set name is used if the message contains only seven bit characters; the charset8 character set name will be used if eight bit data is found in the message; charsetesc will be used if a message containing only seven bit data happens to contain escape characters also. If the appropriate keyword is not specified no character set name will be inserted into Content-type: header lines.

Note that the charset8 keyword also controls the MIME encoding of 8-bit characters in message headers (where 8-bit data is unconditionally illegal). The MTA normally MIME-encodes any (illegal) 8-bit data encountered in message headers, labeling it as the UNKNOWN charset if no charset8 value has been specified.

These character set specifications never override existing labels; that is, they have no effect if a message already has a character set label or is of a type other than text. It is usually appropriate to label MTA local channels as follows:

l ... charset7 US-ASCII charset8 ISO-8859-1 ...

hostname

If there is no Content-type header in the message, it is added. This keyword also adds the MIME-version: header line if it is missing.

The charsetesc keyword tends to be particularly useful on channels that receive unlabeled messages using Japanese or Korean character sets that contain the escape character.

Eight-Bit Data

Some transports restrict the use of characters with ordinal values greater than 127 (decimal). Most notably, some SMTP servers will strip the high bit and thus garble messages that use characters in this eight-bit range.

Messaging Server provides facilities to automatically encode such messages so that troublesome eight bit characters do not appear directly in the message. This encoding can be applied to all messages enqueued to a given channel by specifying the sevenbit keyword. A channel should be marked eightbit if no such restriction exists.

The SMTP protocol disallows eightbit “unless the remote SMTP server explicitly says it supports the SMTP extension allowing eightbit.” Some transports such as extended SMTP may actually support a form of negotiation to determine if eight bit characters can be transmitted. Therefore, the use of the eightnegotiate keyword is strongly recommended to instruct the channel to encode messages when negotiation fails. This is the default for all channels; channels that do not support negotiation will simply assume that the transport is capable of handling eight bit data.

The eightstrict keyword tells Messaging Server to reject any incoming messages with headers that contain illegal eight bit data.

Protocol Streaming

Keywords: streaming

Some mail protocols support streaming operations. This means that the MTA can issue more than one operation at a time and wait for replies to each operation to arrive in batches. The streaming keyword controls the degree of protocol streaming used in the protocol associated with a channel. This keyword requires an integer parameter; how the parameter is interpreted is specific to the protocol in use.

Under normal circumstances, the extent of streaming support available is negotiated using the SMTP pipelining extension. As such this keyword should never be used under normal circumstances.

The streaming values available range from 0 to 3. A value of 0 specifies no streaming, a value of 1 causes groups of RCPT TO commands to stream, a value of 2 causes MAIL FROM/RCPT TO to stream, and a value of 3 causes HELO/MAIL FROM/RCPT TO or RSET/MAIL FROM/RCPT TO streaming to be used. The default value is 0.

TCP/IP Connection and DNS Lookup Support

You can specify information about how the server handles TCP/IP connections and address lookups. This section describes the following:

Table 12-5 lists the TCP/IP connection and DNS lookup keywords described in this section.

Table 12-5  TCP/IP Connection and DNS Lookup Keywords

Channel Keyword(s)

Description

Port Selection and Interface Address

Specifies the default port number and interface address for SMTP connections

port

Specifies the default port number for SMTP connections. The standard port is 25.

interfaceaddress

Binds to the specified TCP/IP interface address.

Cache Keywords

Specifies how connection information is cached

cacheeverything

Caches all connection information.

cachefailures

Caches only connection failure information.

cachesuccesses

Caches only connection success information.

nocache

Does not cache any connection information.

Reverse DNS Lookups

Specifies how to handle Reverse DNS lookups on incoming SMTP connections

forwardcheckdelete

If a reverse DNS lookup has been performed, next performs a forward lookup on the returned name to check that the returned IP number matches the original; if not, deletes the name and use the IP address.

forwardchecknone

Does not perform a forward lookup after a DNS reverse lookup.

forwardchecktag

If a reverse DNS lookup has been performed, next performs a forward lookup on the returned name to check that the returned IP number matches the original; if not, tags the name with *.

IDENT Lookups/DNS Reverse Lookups

Specifies how to handle IDENT lookups and DNS Reverse Lookups on incoming SMTP connections

identnone

Does not perform IDENT lookups; does perform IP to hostname translation; includes both hostname and IP address in Received: header.

identnonelimited

Does not perform IDENT lookups; does perform IP to hostname translation, but does not use the hostname during channel switching; includes both hostname and IP address in Received: header.

identnonenumeric

Does not perform IDENT lookups or IP to hostname translation.

identnonesymbolic

Does not perform IDENT lookups; does perform IP to hostname translation; includes only the hostname in Received: header.

identtcp

Performs IDENT lookups on incoming SMTP connections and IP to hostname translation; include both hostname and IP address in Received: header

identtcplimited

Performs IDENT lookups on incoming SMTP connections and IP to hostname translation, but do not use the hostname during channel switching. Includes both hostname and IP address in Received: header.

indenttcpnumeric

Performs IDENT lookups on incoming SMTP connections, but does not perform IP to hostname translation.

identtcpsymbolic

Performs IDENT lookups on incoming SMTP connections and IP to hostname translation; includes only hostname in Received: header.

MX Record Support and TCP/IP Nameserver

Specifies whether and how the channel supports MX record lookups

mx

TCP/IP network and software supports MX records lookup.

nomx

TCP/IP network does not support MX lookups.

defaultmx

Channel determines whether to do MX lookups from network.

randommx

Does MX lookups; randomizes returned entries with equal precedence.

nonrandomemx

Does MX lookups; does not randomize returned entries with equal precedence.

nameservers

Specifies a list of nameservers to consult rather than consulting the TCP/IP stack's own choice of nameservers; nameservers requires a space separated list of IP addresses for the nameservers.

defaultnameservers

Consults TCP/IP stack’s choice of nameservers.

lastresort

Specifies a last resort host.

Switch keywords

Controls selection of alternate channels for incoming mail

allowswitchchannel

Allows switching to this channel from a switchchannel channel

noswitchchannel

Stays with the server channel; does not switch to the channel associated with the originating host; does not permit being switched to.

switchchannel

Switches from the server channel to the channel associated with the originating host.

tlsswitchchannel

Switches to another channel upon successful TLS negotiation.

saslswitchchannel

Switches to another channel when SASL authentication is successful.

Target Host Choice and Storage of Message Copies

Specifies a target host system and how message copies are stored.

daemon

Connects to a specific host system regardless of the envelope address.

single

Specifies that a separate copy of the message should be created for each destination address on the channel.

single_sys

Creates a single copy of the message for each destination system used.

TCP/IP Port Number and Interface Address

Keywords: port, interfaceaddress

The SMTP over TCP/IP channels normally connect to port 25 when sending messages. The port keyword can be used to instruct an SMTP over TCP/IP channel to connect to a nonstandard port. Note that this keyword complements the Dispatcher option PORT, which controls which ports the MTA listens on for accepting SMTP connections.

The interfaceaddress keyword controls the address to which a TCP/IP channel binds as the source address for outbound connections; that is, on a system with multiple interface addresses this keyword controls which address will be used as the source IP address when the MTA sends outgoing SMTP messages. Note that this keyword complements the Dispatcher option INTERFACE_ADDRESS, which controls which interface address a TCP/IP channel listens on for accepting incoming connections and messages.

Caching for Channel Connection Information

Keywords: cacheeverything, nocache, cachefailures, cachesuccesses

Channels using the SMTP protocol maintain a cache containing a history of prior connection attempts. This cache is used to avoid reconnecting multiple times to inaccessible hosts, which can waste lots of time and delay other messages. The cache is a per process cache and only persists during a single run of the outbound SMTP delivery channel.

The cache normally records both connection successes and failures. (Successful connection attempts are recorded in order to offset subsequent failures—a host that succeeded before but fails now doesn't warrant as long of a delay before making another connection attempt as does one that has never been tried or one that has failed previously.)

However, the caching strategy used by the MTA is not necessarily appropriate for all situations. Therefore channel keywords are provided to adjust the MTA cache.

The cacheeverything keyword enables all forms of caching and is the default. The nocache keyword disables all caching.

The cachefailures keyword enables caching of connection failures but not successes—this forces a somewhat more restricted retry than cacheeverything does. Finally, cachesuccesses caches only successes. This last keyword is effectively equivalent to nocache for SMTP channels.

Reverse DNS Lookups

Keywords: forwardchecknone, forwardchecktag, forwardcheckdelete

The forwardchecknone, forwardchecktag, and forwardcheckdelete channel keywords can modify the effects of doing reverse DNS lookups. These keywords can control whether the MTA does a forward lookup of an IP name found using a DNS reverse lookup, and if such forward lookups are requested, specify what the MTA does if the forward lookup of the IP name does not match the original IP number of the connection.

The forwardchecknone keyword is the default, and means that no forward lookup is done. The forwardchecktag keyword tells the MTA to do a forward lookup after each reverse lookup and to tag the IP name with an asterisk (*), if the number found using the forward lookup does not match that of the original connection. The forwardcheckdelete keyword tells the MTA to do a forward lookup after each reverse lookup and to ignore (delete) the reverse lookup returned name if the forward lookup of that name does not match the original connection IP address; in this case, the MTA uses the original IP address instead.


Note

Having the forward lookup not match the original IP address is normal at many sites, where a more “generic” IP name is used for several different IP addresses.


IDENT Lookups

Keywords: identnone, identnonelimited, identtnonnumeric, identnonesymbolic, identtcp, identtcpnumeric, identtcpsymbolic, identtcplimited

The IDENT keywords control how the MTA handles connections and lookups using the IDENT protocol. The IDENT protocol is described in RFC 1413.

The identtcp, identtcpsymbolic, and identtcpnumeric keywords tell the MTA to perform a connection and lookup using the IDENT protocol. The information obtained from the IDENT protocol (usually the identity of the user making the SMTP connection) is inserted into the Received: header of the message as follows:


Note

The remote system must be running an IDENT server for the IDENT lookup caused by identtcp, identtcpsymbolic, or identtcpnumeric to be useful.


Be aware that IDENT query attempts may incur a performance hit. Increasingly routers will “black hole” attempted connections to ports that they don’t recognize. If this happens on an IDENT query, then the MTA does not hear back until the connection times out (a TCP/IP stack controlled time-out, typically on the order of a minute or two).

Another performance factor occurs when comparing identtcp, indenttcplimited, or identtcpsymbolic to identtcpnumeric. The DNS reverse lookup called for with identtcp, identtcplimited, or identtcpsymbolic incurs some additional overhead to obtain the more user-friendly host name.

The identnone keyword disables IDENT lookup, but does specify IP to host name translation, and both IP number and host name will be included in the Received: header for the message. This is the default.

The identnonesymbolic keyword disables IDENT lookup, but does do IP to host name translation; only the host name will be included in the Received: header for the message.

The identnonenumeric keyword disables this IDENT lookup and inhibits the usual DNS reverse lookup translation of IP number to host name, and might result in a performance improvement at the cost of less user-friendly information in the Received: header.

The identtcplimited and identnonelimited keywords have the same effect as identtcp and identnone, respectively, as far as IDENT lookups, reverse DNS lookups, and information displayed in Received: header. Where they differ is that with identtcplimited or identnonelimited the IP literal address is always used as the basis for any channel switching due to use of the switchchannel keyword, regardless of whether the DNS reverse lookup succeeds in determining a host name.

TCP/IP MX Record Support

Keywords: mx, nomx, defaultmx, randommx, nonrandommx

Some TCP/IP networks support the use of MX (mail forwarding) records and some do not. Some TCP/IP channel programs can be configured not to use MX records if they are not provided by the network that the MTA system is connected to. The mx, nomx, defaultmx, randommx, nonrandommx keywords control MX record support.

The keyword randommx specifies that MX lookups should be done and MX record values of equal precedence should be processed in random order. The keyword nonrandommx specifies that MX lookups should be done and MX values of equal precedence should be processed in the same order in which they were received.

The mx keyword is currently equivalent to nonrandommx; it might change to be equivalent to randommx in a future release. The nomx keyword disables MX lookups. The defaultmx keyword specifies that mx should be used if the network says that MX records are supported. The keyword defaultmx is the default on channels that support MX lookups in any form.

Nameserver Lookups

Keywords: nameservers, defaultnameservers

When name server lookups are being performed, the nameservers channel keyword may be used to specify a list of name servers to consult rather than consulting the TCP/IP stack's own choice of name servers. The nameservers keyword requires a space separated list of IP addresses for the name servers, as shown in the following example:

nameservers 1.2.3.1 1.2.3.2

The default, defaultnameservers, means use the TCP/IP stack's own choice of name servers.

To prevent name server lookups on UNIX, you can modify the nsswitch.conf file. On NT, modify the TCP/IP configuration.

Last Resort Host

Keywords: lastresort

The lastresort keyword is used to specify a host to connect to even when all other connection attempts fail. In effect this acts as an MX record of last resort. This is only useful on SMTP channels.

The keyword requires a single parameter specifying the name of the “system of last resort.” For example:

tcp_local single_sys smtp mx lastresort mailhub.siroe.com
TCP-DAEMON

Alternate Channels for Incoming Mail (Switch Channels)

Keywords: switchchannel, allowswitchchannel, noswitchchannel. See also saslswitchchannel on (more...) , and tlsswitchchannel on (more...)

The following keywords control selection of an alternate channel for incoming mail: switchchannel, allowswitchchannel, noswitchchannel.

When the MTA accepts an incoming connection from a remote system, it must choose a channel with which to associate the connection. Normally this decision is based on the transfer used; for example, an incoming SMTP over TCP/IP connection is automatically associated with the tcp_local channel.

This convention breaks down, however, when multiple outgoing channels with different characteristics are used to handle different systems over the same transfer. When this happens, incoming connections are not associated with the same channel as outgoing connections, and the result is that the corresponding channel characteristics are not associated with the remote system.

The switchchannel keyword provides a way to eliminate this difficulty. If switchchannel is specified on the initial channel the server uses, the IP address of the connecting (originating) host will be matched against the channel table and if it matches the source channel will change accordingly. If no IP address match is found or if a match is found that matches the original default incoming channel, the MTA may optionally try matching using the host name found by doing a DNS reverse lookup. The source channel may change to any channel marked switchchannel or allowswitchchannel (the default). The noswitchchannel keyword specifies that no channel switching should be done to or from the channel.

Specification of switchchannel on anything other than a channel that a server associates with by default has no effect. At present, switchchannel only affects SMTP channels, but there are actually no other channels where switchchannel would be reasonable.

Target Host Choice

Keywords: daemon, single, single_sys

The interpretation and usage of the daemon keyword depends upon the type of channel to which it is applied.

The daemon keyword is used on SMTP channels to control the choice of a target host.

Normally, channels connect to whatever host is listed in the envelope address of the message being processed. The daemon keyword is used to tell the channel to instead connect to a specific remote system, generally a firewall or mail hub system, regardless of the envelope address. The actual remote system name should appear directly after the daemon keyword, as shown in the following example:

tcp_firewall smtp mx daemon firewall.acme.com
TCP-DAEMON

If the argument after the daemon keyword is not a fully qualified domain name, the argument will be ignored and the channel will connect to the channel's official host. When specifying the firewall or gateway system name as the official host name, the argument given to the daemon keyword is typically specified as router, as shown in the following example:

tcp_firewall smtp mx daemon router
firewall.acme.com
TCP-DAEMON

Other keywords of interest are single and single_sys. The single keyword specifies that a separate copy of the message should be created for each destination address on the channel. The single_sys keyword creates a single copy of the message for each destination system used. Note that at least one copy of each message is created for each channel the message is queued to, regardless of the keywords used.

SMTP Authentication, SASL, and TLS

Keywords: maysaslserver, mustsaslserver, nosasl, nosaslserver, saslswitchchannel, nosaslswitchchannel)

You can control whether the Messaging Server supports authentication to the SMTP server using SASL (Simple Authentication and Security Layer). SASL is defined in RFC 2222 and or more information about SASL, SMTP authentication, and security is in Chapter 19, "Configuring Security and Access Control".”

The maysaslserver, mustsaslserver, nosasl, nosaslserver, switchchannel, and saslswitchchannel channel keywords are used to configure SASL (SMTP AUTH) use during the SMTP protocol by SMTP channels such as TCP/IP channels.

nosasl is the default and means that SASL authentication is not permitted or attempted. It subsumes nosaslserver, which means that SASL authentication is not permitted. Specifying maysaslserver causes the SMTP server to permit clients to attempt to use SASL authentication. Specifying mustsaslserver causes the SMTP server to insist that clients use SASL authentication; the SMTP server does not accept messages unless the remote client successfully authenticates.

Use saslswitchchannel to cause incoming connections to be switched to a specified channel upon a client’s successful use of SASL. It takes a required value, specifying the channel to which to switch.

Using Authenticated Addresses from SMTP AUTH in Header

Keywords: authrewrite

The authrewrite channel keyword may be used on a source channel to have the MTA propagate authenticated originator information, if available, into the headers. Normally the SMTP AUTH information is used, though this may be overridden via the FROM_ACCESS mapping. The authrewrite keyword takes a required integer value, according to Table 12-6.

Table 12-6  authrewrite Integer Values

Value

Usage

1

Add a Sender: header, or a Resent-sender: header if a Resent-from: or Resent-sender: was already present containing the AUTH originator.

2

Add a Sender: header containing the AUTH originator.

Specifying Microsoft Exchange Gateway Channels

Keywords: msexchange, nomsexchange

The msexchange channel keyword may be used on TCP/IP channels to tell the MTA that this is a channel that communicates with Microsoft Exchange gateways and clients. When placed on an incoming TCP/IP channel which has SASL enabled (via a maysaslserver or mustsaslserver keyword), it causes the MTA’s SMTP server to advertise AUTH using an “incorrect” format (based upon the original ESMTP AUTH specification, which was actually incompatible with correct ESMTP usage, rather than the newer, corrected AUTH specification). Some Microsoft Exchange clients, for instance, does not recognize the correct AUTH format and only recognizes the incorrect AUTH format.

The msexchange channel keyword also causes advertisement (and recognition) of broken TLS commands.

nomsexchange is the default.

Transport Layer Security

Keywords: maytls, maytlsclient, maytlsserver, musttls, musttlsclient, musttlsserver, notls, notlsclient, notlsserver, tlsswitchchannel

The maytls, maytlsclient, maytlsserver, musttls, musttlsclient, musttlsserver, notls, notlsclient, notlsserver, and tlsswitchchannel channel keywords are used to configure TLS use during the SMTP protocol by SMTP based channels such as TCP/IP channels.

The default is notls, and means that TLS will not be permitted or attempted. It subsumes the notlsclient keyword, which means that TLS use will not be attempted by the MTA SMTP client on outgoing connections (the STARTTLS command will not be issued during outgoing connections) and the notlsserver keyword, which means that TLS use will not be permitted by the MTA SMTP server on incoming connections (the STARTTLS extension will not be advertised by the SMTP server nor the command itself accepted).

Specifying maytls causes the MTA to offer TLS to incoming connections and to attempt TLS upon outgoing connections. It subsumes maytlsclient, which means that the MTA SMTP client will attempt TLS use when sending outgoing messages, if sending to an SMTP server that supports TLS, and maytlsserver, which means that the MTA SMTP server will advertise support for the STARTTLS extension and will allow TLS use when receiving messages.

Note that for TLS to work, the following conditions must be in place:

Specifying musttls will cause the MTA to insist upon TLS in both outgoing and incoming connections; email will not be exchanged with remote systems that fail to successfully negotiate TLS use. It subsumes musttlsclient, which means that the MTA SMTP client will insist on TLS use when sending outgoing messages and will not send to SMTP servers that do not successfully negotiate TLS use (the MTA will issue the STARTTLS command and that command must succeed). It also subsumes musttlsserver, which means that the MTA SMTP server will advertise support for the STARTTLS extension and will insist upon TLS use when receiving incoming messages and will not accept messages from clients that do not successfully negotiate TLS use.

The tlsswitchchannel keyword is used to cause incoming connections to be switched to a specified channel upon a client's successful TLS negotiation. It takes a required value, specifying the channel to which to switch.


Configuring Message Processing and Delivery

You can configure when the server attempts to deliver messages based on certain criteria. You can also specify parameters for job processing, such as processing limits for service jobs, or when to spawn a new SMTP channel thread. This section describes the following:

For conceptual information on message processing and delivery, refer to The Job Controller and Job Controller File.

Table 12-7 summarizes the keywords described in this section.

Table 12-7  Message Processing and Delivery Keywords

Keyword

Definition

Immediate Delivery

Defines specification for immediate delivery of messages.

immnonurgent

Starts delivery immediately after submission for urgent, normal, and non-urgent messages.

Channel Directionality

Specifies type of by which program a channel is served

bidirectional

Channel is served by a master and slave programs.

master

Channel is served by a master program (master).

slave

Channel is served by a slave program (slave).

Deferred Delivery

Defines specification for delivery of deferred jobs.

backoff

Specifies the frequency for attempted redelivery of deferred messages. Can be overridden by normalbackoff, nonurgentbackoff, urgentbackoff.

deferred

Implements recognition and honoring of the Deferred-delivery: header line.

nodeferred

Default. Specifies that Deferred-delivery: header line not be honored.

nonurgentbackoff

The frequency for attempted redelivery of nonurgent messages.

normalbackoff

The frequency for attempted redelivery of normal messages.

urgentbackoff

The frequency for attempted redelivery of urgent messages.

Message Priority Based on Size

Defines message priority based on message size.

nonurgentblocklimit

Forces messages above this size to lower than nonurgent priority (second class priority), meaning that the messages will always wait for the next periodic job for further processing.

normalblocklimit

Forces messages above this size to nonurgent priority.

urgentblocklimit

Forces messages above this size to normal priority.

Processing Pools for Channel Execution Jobs

Specifies the pools for processing messages of different urgencies and deferral of jobs

pool

Specifies the pool in which channels run.

after

Specifies a time delay before channels run.

Service Job Limits

Specifies the number of service jobs and the maximum number of message files to handle per job

maxjobs

Specifies the maximum number of jobs that can be running concurrently for the channel.

filesperjob

Specifies the number of queue entries to be processed by a single job.

SMTP Channel Threads

 

threaddepth

Number of messages triggering new thread with multithreaded SMTP client.

Multiple Address Expansion

Defines processing for messages with many recipients

expandlimit

Processes an incoming message “off-line” when the number of addressees exceeds this limit.

expandchannel

Specifies channel in which to perform deferred expansion due to application of expandlimit.

holdlimit

Holds an incoming message when the number of addresses exceeds this limit.

Transaction Limits

Specifies connection transaction limits

transactionlimit

Limits the number of messages allowed per connection.

Undeliverable Message Notifications

Specifies when undeliverable message notifications are sent.

notices

Specifies the amount of time that may elapse before notices are sent and messages returned.

nonurgentnotices

Specifies the amount of time that may elapse before notices are sent and messages returned for messages of non-urgent priority.

normalnotices

Specifies the amount of time that may elapse before notices are sent and messages returned for messages of normal priority.

urgentnotices

Specify the amount of time which may elapse before notices are sent and messages returned for messages of urgent priority.

Setting Channel Directionality

Keywords: master, slave, bidirectional

Three keywords are used to specify whether a channel is served by a master program (master), a slave program (slave), or both (bidirectional). The default, if none of these keywords are specified, is bidirectional. These keywords determine whether the MTA initiates delivery activity when a message is queued to the channel.

The use of these keywords reflects certain fundamental characteristics of the corresponding channel program or programs. The descriptions of the various channels the MTA supports indicate when and where these keywords should be used.

Implementing Deferred Delivery Dates

Keywords: deferred, nodeferred

The deferred channel keyword implements recognition and honoring of the Deferred-delivery: header line. Messages with a deferred delivery date in the future are held in the channel queue until they either expire and are returned or the deferred delivery date is reached. See RFC 1327 for details on the format and operation of the Deferred-delivery: header line.

The keyword nodeferred is the default. It is important to realize that while support for deferred message processing is mandated by RFC 1327, actual implementation of it effectively lets people use the mail system as an extension of their disk quota.

Specifying the Retry Frequency for Messages that Failed Delivery

Keywords: backoff, nonurgentbackoff, normalbackoff, urgentbackoff, notices

By default, the frequency of delivery retries for messages that have had delivery failures depends on the message’s priority. The default intervals between delivery attempts (in minutes) is shown below. The first number after the priority indicates the number of minutes after the initial delivery failure that the first delivery retry is attempted:

urgent: 30, 60, 60, 120, 120, 120, 240
normal: 60, 120, 120, 240, 240, 240, 480
nonurgent: 120, 240, 240, 480, 480, 480, 960

For urgent messages, a retry is attempted 30 minutes after the initial delivery failure, 60 minutes after the first delivery retry, 60 minutes after the second retry, 120 minutes after the third and so on. Retries after the last specified attempt repeat at the same interval. Thus, for urgent messages, retries occur every 240 minutes.

Delivery attempts continue for a period of time specified by the notices, nonurgentnotices, normalnotices, or urgentnotices keywords. If a successful delivery cannot be made, a delivery failure notification is generated and the message is returned to sender. (For details on the notices keyword, see To Set Notification Message Delivery Intervals.)

The backoff keywords allow you to specify customized sets of delivery retry intervals for messages of varying priorities. nonurgentbackoff specifies the intervals for nonurgent messages. normalbackoff specifies the intervals for normal messages. urgentbackoff specifies the intervals for urgent messages. If none of these keywords is specified, backoff specifies the intervals for all messages regardless of priority.

An example, is shown below:

urgentbackoff "pt30m" "pt1h" "pt2h" "pt3h" "pt4h" "pt5h" "pt8h" "pt16h"

Here, delivery retries of urgent messages is attempted 30 minutes after the initial delivery failure, one hour after the first delivery attempt (1 hour 30 minutes after initial failure), two hours after the second delivery attempt, three hours after the third, four hours after the fourth, five hours after the fifth, eight hours after the sixth, 16 hours after the seventh delivery attempt. Subsequent attempts are made every 16 hours until the period of time specified by the notices keyword. If a successful delivery cannot be made, a delivery failure notification is generated and the message is returned to sender. Note that the interval syntax is in ISO 8601P and is described in the Sun Java System Messaging Server Administration Reference.

In this next example,

normalbackoff "pt30m" "pt1h" "pt8h" "p1d" "p2d” "p1w"

a delivery retry of normal messages is attempted 30 minutes after the initial delivery failure, one hour after the first delivery attempt, eight hours after the second attempt, one day after the third, two days after the fourth, one week after the fifth and repeating each week until the period of time specified by the notices keyword. If a successful delivery cannot be made, a delivery failure notification is generated and the message is returned to sender.

In this final example,

backoff "pt30m" "pt120m" "pt16h" "pt36h" "p3d"

all failed message deliveries, regardless of message priority—unless overridden by nonurgentbackoff, normalbackoff, or urgentbackoff—will be retried 30 minutes after the initial delivery failure, two hours after the first retry attempt, 16 hours after the second attempt, 36 hours after the third, three days after the fourth and repeating every three days until the period of time specified by the notices keyword. If a successful delivery cannot be made, a delivery failure notification is generated and the message is returned to sender.

Processing Pools for Channel Execution Jobs

Keywords: pool

You can configure various channels to share resources by running within the same pool. You might want to configure other channels to run in pools dedicated to a particular channel. Within each pool, messages are automatically sorted into different processing queues according to message priority. Higher priority messages in the pool are processed before lower-priority messages. (See Message Priority Based on Size.)

The pools where the jobs are created can be selected on a channel by channel basis by using the pool keyword. The pool keyword must be followed by the name of the pool to which delivery jobs for the current channel should be pooled. The name of the pool should not contain more than twelve characters.

For further information on Job Controller concepts and configuration, refer to Job Controller File, The Job Controller and Service Job Limits.)

Service Job Limits

Keywords: maxjobs, filesperjob

Each time a message is enqueued to a channel, the Job Controller ensures that there is a job running to deliver the message. This might involve starting a new job process, adding a thread, or simply noting that a job is already running. A single service job may not be sufficient to ensure prompt delivery of all messages, however. (For further information on Job Controller concepts and configuration, refer to Job Controller File, Processing Pools for Channel Execution Jobs and The Job Controller.)

For any given installation, there is a reasonable maximum number of processes and threads to be started for delivering messages. This maximum number depends on factors such as the number of processors, the speed of the disks, and the characteristics of the connections. In the MTA configuration, it is possible to control the following:

The maximum number of processes to start running for a given channel is the minimum of the maxjobs set on the channel and the JOB_LIMIT set for the pool that the channel runs in.

Assume a message needs processing. In general, the Job Controller starts new processes as follows:

For SMTP channels in particular, new threads or processes are started as messages are enqueued for different hosts. Thus, for SMTP channels, the Job Controller starts new processes as follows. Assume a message needs processing:

See also SMTP Channel Threads.

The filesperjob keyword can be used to cause the MTA to create additional service jobs. This keyword takes a single positive integer parameter which specifies how many queue entries (that is, files) must be sent to the associated channel before more than one service job is created to handle them. If a value less than or equal to zero is given it is interpreted as a request to queue only one service job. Not specifying a keyword is equivalent to specifying a value of zero. The effect of this keyword is maximized; the larger number computed will be the number of service jobs that are actually created.

The filesperjob keyword divides the number of actual queue entries or files by the given value. Note that the number of queue entries resulting from a given message is controlled by a large number of factors, including but not limited to the use of the single and single_sys keywords and the specification of header-modifying actions in mailing lists.

The maxjobs keyword places an upper bound on the total number of service jobs that can be running concurrently. This keyword must be followed by an integer value; if the computed number of service jobs is greater than this value only maxjobs jobs will actually be created. The default for this value if maxjobs is not specified is 100. Normally maxjobs is set to a value that is less than or equal to the total number of jobs that can run simultaneously in whatever service pool or pools the channel uses.

Setting Connection Transaction Limits

Keywords: transactionlimit

transactionlimit limits the number of messages allowed per connection. This can be used to thwart attackers in the following way:

An attacker can connect via SMTP and send many RCPT TO commands in an attempt to guess legitimate email addresses. Such an attack can be thwarted by limiting the number of invalid RCPT TOs allowed in a transaction. The attacker may respond by using multiple transactions, but with transactionlimit you can limit the number of transaction allowed in an SMTP session. The attacker can use multiple sessions, but now his cost is getting prohibitive. Connection throttling can be used to limit the number of sessions in various ways making the cost really prohibitive in most cases.

This is not without cost our side, however. Some SMTP clients react badly to recipient limits, transaction limits, or both. Exceptions need to be made for these clients. But TCP channel options apply to the SMTP server unconditionally. The solution is to use channel keywords and switchchannel to route problematic agents to channels with larger limits.

Message Priority Based on Size

Keywords: urgentblocklimit, normalblocklimit, nonurgentblocklimit

The urgentblocklimit, normalblocklimit, and nonurgentblocklimit keywords may be used to instruct the MTA to downgrade the priority of messages based on size. These keywords affect the priority that the Job Controller applies when processing the message.

SMTP Channel Threads

Keywords: threaddepth,

The multithreaded SMTP client sorts outgoing messages to different destinations to different threads. The threaddepth keyword may be used to instruct the multithreaded SMTP client to handle only the specified number of messages in any one thread, using additional threads even for messages all to the same destination (hence normally all handled in one thread).

Use of threaddepth may be of particular interest for achieving multithreading on a daemon router TCP/IP channel—a TCP/IP channel that connects to a single specific SMTP server—when the SMTP server to which the channel connects can handle multiple simultaneous connections.

Each time the backlog for a channel increases past a multiple of threaddepth, the Job Controller tries to increase the amount of processing dedicated to processing messages queued for that channel. For multithreaded channels, the Job Controller advises any job processing messages for that channel to start a new thread, or if all jobs have the maximum threads allowed for the channel (MAX_CLIENT_THREADS in the option for the tcp_* channels) it will start a new process. For single-threaded channels it will start new process. Note that the Job Controller will not start a new job if the job limit for the channel (maxjobs) or the pool (JOB_LIMIT) has been reached.

Expansion of Multiple Addresses

Keywords: expandlimit, expandchannel, holdlimit

Most channels support the specification of multiple recipient addresses in the transfer of each inbound message. The specification of many recipient addresses in a single message may result in delays in message transfer processing (online delays). If the delays are long enough, network time-outs can occur, which in turn can lead to repeated message submission attempts and other problems.

The MTA provides a special facility to force deferred (offline) processing if more than a given number of addresses are specified for a single message. Deferral of message processing can decrease on-line delays enormously. Note, however, that the processing overhead is deferred, not avoided completely.

This special facility is activated by using a combination of, for instance, the generic reprocessing channel and the expandlimit keyword. The expandlimit keyword takes an integer argument that specifies how many addresses should be accepted in messages coming from the channel before deferring processing. The default value is infinite if the expandlimit keyword is not specified. A value of 0 will force deferred processing on all incoming addresses from the channel.

The expandlimit keyword must not be specified on the local channel or the reprocessing channel itself; the results of such a specification are unpredictable.

The channel actually used to perform the deferred processing may be specified using the expandchannel keyword; the reprocessing channel is used by default, if expandchannel is not specified, but use of some other reprocessing or processing channel may be useful for special purposes. If a channel for deferred processing is specified via expandchannel, that channel should be a reprocessing or processing channel; specification of other sorts of channels may lead to unpredictable results.

The reprocessing channel, or whatever channel is used to perform the deferred processing, must be added to the MTA configuration file in order for the expandlimit keyword to have any effect. If your configuration was built by the MTA configuration utility, then you should already have a reprocessing channel.

Extraordinarily large lists of recipient addresses are often a characteristic of unsolicited bulk email. The holdlimit keyword tells the MTA that messages coming in the channel that result in more than the specified number of recipients should be marked as .HELD messages and enqueued to the reprocess channel (or to whatever channel is specified via the expandchannel keyword). The files will sit unprocessed in the reprocess queue awaiting manual intervention by the MTA postmaster.

Enable Service Conversions

Keywords: service, noservice

The service keyword unconditionally enables service conversions regardless of CHARSET-CONVERSION entry. If the noservice keyword is set, service conversions for messages coming into this channel must be enabled via CHARSET-CONVERSION.


Configuring Address Handling

This section describes keywords that deal with address handling. It consists of the following sections:

Address Types and Conventions

Keywords: 822, 733, uucp, header_822, header_733, header_uucp

This group of keywords control what types of addresses the channel supports. A distinction is made between the addresses used in the transport layer (the message envelope) and those used in message headers.

822 (sourceroute)

Source route envelope addresses. This channel supports full RFC 822 format envelope addressing conventions including source routes. The keyword sourceroute is also available as a synonym for 822. This is the default if no other envelope address type keyword is specified.

733 (percents)

Percent sign envelope addresses. This channel supports full RFC 822 format envelope addressing with the exception of source routes; source routes should be rewritten using percent sign conventions instead. The keyword percents is also available as a synonym for 733.


Note

Use of 733 address conventions on an SMTP channel results in these conventions being carried over to the transport layer addresses in the SMTP envelope. This may violate RFC 821. Only use 733 address conventions when you are sure they are necessary.


uucp (bangstyle)

Bang-style envelope addresses. This channel uses addresses that conform to RFC 976 bang-style address conventions in the envelope (for example, this is a UUCP channel). The keyword bangstyle is also available as a synonym for uucp.

header_822

Source route header addresses. This channel supports full RFC 822 format header addressing conventions including source routes. This is the default if no other header address type keyword is specified.

header_733

Percent sign header addresses. This channel supports RFC 822 format header addressing with the exception of source routes; source routes should be rewritten using percent sign conventions instead.


Note

Use of 733 address conventions in message headers may violate RFC 822 and RFC 976. Only use this keyword if you are sure that the channel connects to a system that cannot deal with source route addresses.


header_uucp

UUCP or bang-style header addresses. The use of this keyword is not recommended. Such usage violates RFC 976.

Interpreting Addresses that Use ! and %

Keywords: bangoverpercent, nobangoverpercent, percentonly

Addresses are always interpreted in accordance with RFC 822 and RFC 976. However, there are ambiguities in the treatment of certain composite addresses that are not addressed by these standards. In particular, an address of the form A!B%C can be interpreted as either:

or

While RFC 976 implies that mailers can interpret addresses using the latter set of conventions, it does not say that such an interpretation is required. Some situations may be better served by the former interpretation.

The bangoverpercent keyword forces the former A!(B%C) interpretation. The nobangoverpercent keyword forces the latter (A!B)%C interpretation. nobangoverpercent is the default.


Note

This keyword does not affect the treatment of addresses of the form A!B@C. These addresses are always treated as (A!B)@C. Such treatment is mandated by both RFC 822 and RFC 976.


The percentonly keyword ignores bang paths. When this keyword is set, percents are interpreted for routing.

Adding Routing Information in Addresses

Keywords: exproute, noexproute, improute, noimproute

The addressing model that the MTA deals with assumes that all systems are aware of the addresses of all other systems and how to get to them. Unfortunately, this ideal is not possible in all cases, such as when a channel connects to one or more systems that are not known to the rest of the world (for example, internal machines on a private TCP/IP network). Addresses for systems on this channel may not be legal on remote systems outside of the site. If you want to be able to reply to such addresses, they must contain a source route that tells remote systems to route messages through the local machine. The local machine can then (automatically) route the messages to these machines.

The exproute keyword (short for “explicit routing“) tells the MTA that the associated channel requires explicit routing when its addresses are passed on to remote systems. If this keyword is specified on a channel, the MTA adds routing information containing the name of the local system (or the current alias for the local system) to all header addresses and all envelope From: addresses that match the channel. noexproute, the default, specifies that no routing information should be added.

The EXPROUTE_FORWARD option can be used to restrict the action of exproute to backward-pointing addresses. Another scenario occurs when the MTA connects to a system through a channel that cannot perform proper routing for itself. In this case, all addresses associated with other channels need to have routing indicated when they are used in mail sent to the channel that connects to the incapable system.

Implicit routing and the improute keyword is used to handle this situation. The MTA knows that all addresses matching other channels need routing when they are used in mail sent to a channel marked improute. The default, noimproute, specifies that no routing information should be added to addresses in messages going out on the specified channel. The IMPROUTE_FORWARD option can be used to restrict the action of improute to backward-pointing addresses.

The exproute and improute keywords should be used sparingly. They make addresses longer, more complex, and may defeat intelligent routing schemes used by other systems. Explicit and implicit routing should not be confused with specified routes. Specified routes are used to insert routing information from rewrite rules into addresses. This is activated by the special A@B@C rewrite rule template.

Specified routes, when activated, apply to all addresses, both in the header and the envelope. Specified routes are activated by particular rewrite rules and as such are usually independent of the channel currently in use. Explicit and implicit routing, on the other hand, are controlled on a per-channel basis and the route address inserted is always the local system.

Disabling Rewriting of Explicit Routing Addresses

Keywords: routelocal

The routelocal channel keyword causes the MTA, when rewriting an address to the channel, to attempt to “short circuit” any explicit routing in the address. Explicitly routed addresses (using !, %, or @ characters) are simplified.

Use of this keyword on “internal” channels, such as internal TCP/IP channels, can allow simpler configuration of SMTP relay blocking.

Note that this keyword should not be used on channels that may require explicit % or other routing.

Address Rewriting Upon Message Dequeue

Keywords: connectalias, connectcanonical

The MTA normally rewrites addresses as it enqueues messages to its channel queues. No additional rewriting is performed during message dequeue. This presents a potential problem when host names change while there are messages in the channel queues still addressed to the old name.

The connectalias keyword tells the MTA to deliver to whatever host is listed in the recipient address. This is the default. The keyword connectcanonical tells the MTA to connect to the host alias for the system that to which the MTA would be connected.

Specifying a Host Name to Use When Correcting Incomplete Addresses

Keywords: remotehost, noremotehost, defaulthost, nodefaulthost

The MTA often receives addresses that do not contain domain names from misconfigured or incompliant mailers and SMTP clients. The MTA attempts to make such addresses legal before allowing them to pass further. The MTA does this by appending a domain name to the address (for example, appends @siroe.com to mrochek).

For envelope To: addresses missing a domain name, the MTA always assumes that the local host name should be appended. However for other addresses, such as From: addresses, in the case of the MTA SMTP server there are at least two reasonable choices for the domain name: the local MTA host name and the remote host name reported by the client SMTP. Or in some cases, there may be yet a third reasonable choice—a particular domain name to add to messages coming in that channel. Now, either of these two first choices are likely to be correct as both may occur operationally with some frequency. The use of the remote host’s domain name is appropriate when dealing with improperly configured SMTP clients. The use of the local host’s domain name may be appropriate when dealing with a lightweight remote mail client such as a POP or IMAP client that uses SMTP to post messages. Or if lightweight remote mail clients such as POP or IMAP, clients should have their own specific domain name which is not that of the local host. Then add that specific other domain name may be appropriate. The best that the MTA can do is to allow the choice to be made on a channel by channel basis.

The noremotehost channel keyword specifies that the local host’s name should be used. The keyword noremotehost is the default.

The defaulthost channel keyword is used to specify a particular host name to append to incoming bare user id’s. It must be followed by the domain name to use in completing addresses (in envelope From: and in headers) that come into that channel. (In the case of submit channels, the defaulthost keyword’s first argument also affects bare envelope To: addresses.) An optional second domain name (that has at least one period in it) may be specified to use in completing envelope To: addresses. nodefaulthost is the default.

The switchchannel keyword as described, in the preceding section, Alternate Channels for Incoming Mail (Switch Channels) can be used to associate incoming SMTP connections with a particular channel. This facility can be used to group remote mail clients on a channel where they can receive proper treatment. Alternatively, it is simpler to deploy standards-compliant remote mail clients (even if a multitude of noncompliant clients are in use) rather than attempting to fix the network-wide problem on your MTA hosts.

Legalizing Messages Without Recipient Header Lines

Keywords: missingrecipientpolicy

RFC 822 (Internet) messages are required to contain recipient header lines: To:, Cc:, or Bcc: header lines. A message without such header lines is illegal. Nevertheless, some broken user agents and mailers (for example, many older versions of sendmail) emit illegal messages.

The missingrecipientpolicy keyword takes an integer value specifying the approach to use for such messages; the default value, if the keyword is not explicitly present, is 0, meaning that envelope To: addresses are placed in a To: header.

Table 12-8  missingrecipientpolicy Values

Value

Action

0

Place envelope To: recipients in a To: header line.

1

Pass the illegal message through unchanged.

2

Place envelope To: recipients in a To: header line.

3

Place all envelope To: recipients in a single Bcc: header line.

4

Generate a group construct (for example, “;”) To: header line, “To: Recipients not specified: ;”

5

Generate a blank Bcc: header line.

6

Reject the message.

Note that the MISSING_RECIPIENT_POLICY option can be used to set an MTA system default for this behavior. The initial Messaging Server configuration sets MISSING_RECIPIENT_POLICY to 1.

Stripping Illegal Blank Recipient Headers

Keywords: dropblank, nodropblank

In RFC 822 (Internet) messages, any To:, Resent-To:, Cc:, or Resent-Cc: header is required to contain at least one address—such a header may not have a blank value. Nevertheless, some mailers may emit such illegal headers. The dropblank channel keyword, if specified on a source channel, causes the MTA to strip any such illegal blank headers from incoming messages.

Enabling Channel-Specific Use of the Reverse Database

Keywords: reverse, noreverse

The reverse keyword tells the MTA that addresses in messages queued to the channel should be checked against, and possibly modified, by the address reversal database or REVERSE mapping, if either exists. noreverse exempts addresses in messages queued to the channel from address reversal processing. The reverse keyword is the default. Refer to To Convert Addresses from an Internal Form to a Public Form for more information.

Enabling Restricted Mailbox Encoding

Keywords: restricted, unrestricted

Some mail systems have difficulty dealing with the full spectrum of addresses allowed by RFC 822. A particularly common example of this is sendmail-based mailers with incorrect configuration files. Quoted local-parts (or mailbox specifications) are a frequent source of trouble:

"smith, ned"@siroe.com

This is such a major source of difficulty that a methodology was laid out in RFC 1137 to work around the problem. The basic approach is to remove quoting from the address, then apply a translation that maps the characters requiring quoting into characters allowed in an atom (see RFC 822 for a definition of an atom as it is used here). For example, the preceding address would become:

smith#m#_ned@siroe.com

The restricted channel keyword tells the MTA that the channel connects to mail systems that require this encoding. The MTA then encodes quoted local-parts in both header and envelope addresses as messages are written to the channel. Incoming addresses on the channel are decoded automatically. The unrestricted keyword tells the MTA not to perform RFC 1137 encoding and decoding. The keyword unrestricted is the default.


Note

The restricted keyword should be applied to the channel that connects to systems unable to accept quoted local-parts. It should not be applied to the channels that actually generate the quoted local-parts. (It is assumed that a channel capable of generating such an address is also capable of handling such an address.)


Generating of Return-path: Header Lines

Keywords: addreturnpath, noaddreturnpath

Normally, adding the Return-path: header line is the responsibility of a channel performing a final delivery. But for some channels, like the ims-ms channel, it is more efficient for the MTA to add the Return-path: header rather than allowing the channel to perform add it. The addreturnpath keyword causes the MTA to add a Return-path: header when enqueuing to this channel.

Constructing Received: Header Lines from Envelope To: and From: Addresses

Keywords: receivedfor, noreceivedfor, receivedfrom, noreceivedfrom

The receivedfor keyword instructs the MTA that if a message is addressed to just one envelope recipient, to include that envelope To: address in the Received: header line it constructs. The keyword receivedfor is the default. The noreceivedfor keyword instructs the MTA to construct Received: header lines without including any envelope addressee information.

The receivedfrom keyword instructs the MTA to include the original envelope From: address when constructing a Received: header line for an incoming message if the MTA has changed the envelope From: address due to, for example, certain sorts of mailing list expansions. receivedfrom is the default. The noreceivedfrom keyword instructs the MTA to construct Received: header lines without including the original envelope From: address.

Handling Comments in Address Header Lines

Keywords: commentinc, commentmap commentomit, commentstrip, commenttotal, sourcecommentinc, sourcecommentmap, sourcecommentomit, sourcecommentstrip, sourcecommenttotal

The MTA interprets the contents of header lines only when necessary. However, all registered header lines containing addresses must be parsed to rewrite and eliminate short form addresses and otherwise convert them to legal addresses. During this process, comments (strings enclosed in parentheses) are extracted and may be modified or excluded when the header line is rebuilt.

This behavior is controlled by the use of the commentinc, commentmap, commentomit, commentstrip, and commenttotalkeywords. The commentinc keyword tells the MTA to retain comments in header lines. It is the default. The keyword commentomit tells the MTA to remove any comments from addressing headers, for example, To:, From:, or Cc: header lines.

The keyword commenttotal tells the MTA to remove any comments from all header lines, except Received: header lines; this keyword is not normally useful or recommended. commentstrip tells the MTA to strip any nonatomic characters from all comment fields. The commentmap keyword runs comment strings through the COMMENT_STRINGS mapping table.

On source channels, this behavior is controlled by the use of the sourcecommentinc, sourcecommentmap, sourcecommentomit, sourcecommentstrip, and sourcecommenttotal keywords. The sourcecommentinc keyword indicates to the MTA to retain comments in header lines. It is the default. The sourcecommentomit keyword indicates to the MTA to remove any comments from addressing headers, for example, To:, From:, and Cc: headers. The sourcecommenttotal keyword indicates to the MTA to remove any comments from all headers, except Received: headers; as such, this keyword is not normally useful or recommended. And finally, the sourcecommentstrip keyword indicates to the MTA to strip any nonatomic characters from all comment fields. The sourcecommentmap keyword runs comment strings through source channels.

These keywords can be applied to any channel.

The syntax for the COMMENT_STRINGS mapping table is as follows:

(comment_text) | address

If the entry template sets the $Y flag, the original comment is replaced with the specified text (which should include the enclosing parentheses).

Handling Personal Names in Address Header Lines

Keywords: personalinc, personalmap, personalomit, personalstrip, sourcepersonalinc, sourcepersonalmap, sourcepersonalomit, sourcepersonalstrip

During the rewriting process, all header lines containing addresses must be parsed in order to rewrite and eliminate short form addresses and otherwise convert them to legal addresses. During this process personal names (strings preceding angle-bracket-delimited addresses) are extracted and can be optionally modified or excluded when the header line is rebuilt.

This behavior is controlled by the use of the personalinc, personalmap, personalomit, and personalstrip keywords. The keyword personalinc tells the MTA to retain personal names in the headers. It is the default. The keyword personalomit tells the MTA to remove all personal names. The keyword personalstrip tells the MTA to strip any nonatomic characters from all personal name fields. The personalmap keyword indicates to the MTA to run the personal names through the PERSONAL_NAMES mapping table.

On source channels, this behavior is controlled by the use of a sourcepersonalinc, sourcepersonalmap, sourcepersonalomit, or sourcepersonalstrip keyword. The sourcepersonalinc keyword indicates to the MTA to retain personal names in the headers. It is the default. The sourcepersonalomit keyword indicates to the MTA to remove all personal names. And finally, the sourcepersonalstrip indicates to the MTA to strip any nonatomic characters from all personal name fields. The sourcepersonalmap keyword indicates to the MTA to run the personal names through source channels.

These keywords can be applied to any channel.

The syntax of the PERSONAL_NAMES mapping table probes is:

personal_name | address

If the template sets the $Y flag, the original personal name is replaced with the specified text.

Specifying Alias File and Alias Database Probes

Keywords: aliaslocal

Normally only addresses rewritten to the local channel (that is, the l channel on UNIX) are looked up in the alias file and alias database. The aliaslocal keyword may be placed on a channel to cause addresses rewritten to that channel to be looked up in the alias file and alias database also. The exact form of the lookup probes that are made is then controlled by the ALIAS_DOMAINS option.

Subaddress Handling

Keywords: subaddressexact, subaddressrelaxed, subaddresswild

As background regarding the concept of subaddresses, the native and ims-ms channels interpret a + character in the local portion of an address (the mailbox portion) specially: in an address of the form name+subaddress@domain the MTA considers the portion of the mailbox after the plus character a subaddress. The native channel treats a subaddress as additional cosmetic information and actually deliver to the account name, without regard to the subaddress; the ims-ms channel interprets the subaddress as the folder name to which to deliver.

Subaddresses also affect the lookup of aliases by the local channel (that is, the L channel on UNIX) and the lookup of aliases by any channel marked with the aliaslocal keyword, and the lookup of mailboxes by the directory channel. The exact handling of subaddresses for such matching is configurable: when comparing an address against an entry, the MTA always first checks the entire mailbox including the subaddress for an exact match; whether or not the MTA performs additional checks after that is configurable.

The subaddressexact keyword instructs the MTA to perform no special subaddress handling during entry matching; the entire mailbox, including the subaddress, must match an entry in order for the alias to be considered to match. No additional comparisons (in particular, no wildcard comparisons or comparisons with the subaddress removed) are performed. The subaddresswild keyword instructs the MTA that after looking for an exact match including the entire subaddress, the MTA should next look for an entry of the form name+*. The subaddressrelaxed keyword instructs the MTA that after looking for an exact match and then a match of the form name+*, that the MTA should make one additional check for a match on just the name portion. With subaddressrelaxed, an alias entry of the following form matches either name or name+subaddress, transforming a plain name to newname, and transforming name+subaddress to newname+subaddress. The subaddressrelaxed keyword is the default.

name: newname+*

Thus the subaddresswild keyword or the subaddressrelaxed keyword may be useful when aliases or a directory channel are in use yet users wish to receive mail addressed using arbitrary subaddresses. These keywords obviate the need for a separate entry for every single subaddress variant on an address.

Note that these keywords only make sense for the local channel (that is, the L channel on UNIX) and the directory channel, or any channel marked with the aliaslocal keyword.

Standard Messaging Server configurations relay upon the L channel indeed having subaddressrelaxed behavior (the default, when other keywords have not been explicitly used).

Enabling Channel-specific Rewrite Rules Checks

Keywords: rules, norules

The rules keyword tells the MTA to enforce channel-specific rewrite rule checks for this channel. This is the default. The norules keyword tells the MTA not to check for this channel. These two keywords are usually used for debugging and are rarely used in actual applications.

Removing Source Routes

Keywords: dequeue_removeroute

The dequeue_removeroute keyword removes source routes from envelope To: addresses as messages are dequeued. This keyword is currently only implemented on tcp-* channels. It is useful for transferring messages to systems that do not handle source routes correctly.

Specifying Address Must be from an Alias

Keywords: viaaliasoptional, viaaliasrequired

viaaliasrequired specifies that any final recipient address that matches the channel must be produced by an alias. A final recipient address refers to the match after alias expansion (if relevant) has been performed. The address cannot be handed directly to the MTA as a recipient address; that is, it is not sufficent for an address to merely rewrite to the channel. After rewriting to the channel, an address must also expand through an alias to be considered to have truly matched the channel.

The viaaliasrequired keyword may be used, for example, on the local channel to prevent delivery to arbitrary accounts (such as arbitrary native Berkeley mailboxes on a UNIX system).

The default is viaaliasoptional, which means that the final recipient addresses that match the channel are not required to be produced by an alias.


Configuring Header Handling

This section describes keywords that deal with header and envelope information. It consists of the following sections:

Rewriting Embedded Headers

Keywords: noinner, inner

The contents of header lines are interpreted only when necessary. However, MIME messages can contain multiple sets of message headers as a result of the ability to imbed messages within messages (message/RFC822). The MTA normally only interprets and rewrites the outermost set of message headers. The MTA can optionally be told to apply header rewriting to inner headers within the message as well.

This behavior is controlled by the use of the noinner and inner keywords. The keyword noinner tells the MTA not to rewrite inner message header lines. It is the default. The keyword inner tells the MTA to parse messages and rewrite inner headers. These keywords can be applied to any channel.

Removing Selected Message Header Lines

Keywords: headertrim, noheadertrim, headerread, noheaderread, innertrim noinnertrim

The MTA provides per-channel facilities for trimming or removing selected message header lines from messages. This is done through a combination of a channel keyword and an associated header option file or two. Header option file format is described in the MTA chapter of the Sun Java System Messaging Server Administration Reference.

The headertrim keyword instructs the MTA to consult a header option file associated with the channel and to trim the headers on messages queued to that destination channel accordingly, after the original message headers are processed. The noheadertrim keyword bypasses header trimming. The keyword noheadertrim is the default.

The innertrim keyword instructs the MTA to perform header trimming on inner message parts, that is, embedded MESSAGE/RFC822 parts, as well. The noinnertrim keyword, which is the default, tells the MTA not to perform any header trimming on inner message parts.

The headerread keyword instructs the MTA to consult a header option file associated with the channel and to trim the headers on messages enqueued by that source channel accordingly, before the original message headers are processed. Note that headertrim header trimming, on the other hand, is applied after the messages have been processed and is the destination channel, rather than the source channel. The noheaderread keyword bypasses message enqueue header trimming. noheaderread is the default.

Unlike the headeromit and headerbottom keywords, the headertrim and headerread keywords may be applied to any channel whatsoever. Note, however, that stripping away vital header information from messages may cause improper operation of the MTA. Be extremely careful when selecting headers to remove or limit. This facility exists because there are occasional situations where selected header lines must be removed or otherwise limited.


Caution

Stripping away header information from messages may cause improper operation of the MTA. Be careful when selecting headers to remove or limit. These keywords are provided for the rare situations where selected header lines must be removed or limited. Before trimming or removing any header line, you must understand the usage of that header line and have considered the possible implications of its removal.


Header options files for the headertrim and innertrim keywords have names of the form channel_headers.opt with channel, the name of the channel with which the header option file is associated. Similarly, header options files for the headerread keyword have names of the form channel_read_headers.opt. These files are stored in the MTA configuration directory, instance_root/imta/config/.

Generating/Removing X-Envelope-to: Header Lines

Keywords: x_env_to, nox_env_to

The x_env_to and nox_env_to keywords control the generation or suppression of X-Envelope-to header lines on copies of messages queued to a specific channel. On channels that are marked with the single keyword, the x_env_to keyword enables generation of these headers while the nox_env_to removes such headers from enqueued messages. The default is nox_env_to.

The x_env_to keyword also requires the single keyword in order to take effect.

Converting Date to Two- or Four-Digits

Keywords: datefour, datetwo

The original RFC 822 specification called for two-digit years in the date fields in message headers. This was later changed to four digits by RFC 1123. However, some older mail systems cannot accommodate four-digit dates. In addition, some newer mail systems can no longer tolerate two-digit dates.


Note

Systems that cannot handle both formats are in violation of the standards.


The datefour and datetwo keywords control the MTA’s processing of the year field in message header dates. The keyword datefour, the default, instructs the MTA to expand all year fields to four digits. Two- digit dates with a value less than 50 have 2000 added, while values greater than 50 have 1900 added.


Caution

The keyword datetwo instructs the MTA to remove the leading two digits from four-digit dates. This is intended to provide compatibility with incompliant mail systems that require two digit dates; it should never be used for any other purpose.


Specifying Day of Week in Date

Keywords: dayofweek, nodayofweek

The RFC 822 specification allows for a leading day of the week specification in the date fields in message headers. However, some systems cannot accommodate day of the week information. This makes some systems reluctant to include this information, even though it is quite useful information to have in the headers.

The dayofweek and nodayofweek keywords control the MTA’s processing of day of the week information. The keyword dayofweek, the default, instructs the MTA to retain any day of the week information and to add this information to date and time headers if it is missing.


Caution

The keyword nodayofweek instructs the MTA to remove any leading day of the week information from date and time headers. This is intended to provide compatibility with incompliant mail systems that cannot process this information properly; it should never be used for any other purpose.


Automatic Splitting of Long Header Lines

Keywords: maxheaderaddrs, maxheaderchars

Some message transfers, notably some sendmail implementations, cannot process long header lines properly. This often leads not just to damaged headers but to erroneous message rejection. Although this is a gross violation of standards, it is nevertheless a common problem.

The MTA provides per-channel facilities to split (break) long header lines into multiple, independent header lines. The maxheaderaddrs keyword controls how many addresses can appear on a single line. The maxheaderchars keyword controls how many characters can appear on a single line. Both keywords require a single integer parameter that specifies the associated limit. By default, no limit is imposed on the length of a header line nor on the number of addresses that can appear.

Header Alignment and Folding

Keywords: headerlabelalign, headerlinelength

The headerlabelalign keyword controls the alignment point for message headers enqueued on this channel; it takes an integer-valued argument. The alignment point is the margin where the contents of headers are aligned. For example, sample header lines with an alignment point of 10 might look like this:

To:       joe@siroe.com
From:     mary@siroe.com
Subject:  Alignment test

The default headerlabelalign is 0, which causes headers not to be aligned. The headerlinelength keyword controls the length of message header lines enqueued on this channel. Lines longer than this are folded in accordance with RFC 822 folding rules.

These keywords only control the format of the headers of the message in the message queue; the actual display of headers is normally controlled by the user agent. In addition, headers are routinely reformatted as they are transferred across the Internet, so these keywords may have no visible effect even when used in conjunction with simple user agents that do not reformat message headers.

Specifying Maximum Length Header

Keywords: maxprocchars

Processing of long header lines containing lots of addresses can consume significant system resources. The maxprocchars keyword is used to specify the maximum length header that the MTA can process and rewrite. Messages with headers longer than this are still accepted and delivered; the only difference is that the long header lines are not rewritten in any way. A single integer argument is required. The default is processing headers of any length.

Sensitivity Checking

Keywords: sensitivitynormal, sensitivitypersonal, sensitivityprivate sensitivitycompanyconfidential

The sensitivity checking keywords set an upper limit on the sensitivity of messages that can be accepted by a channel. The default is sensitivitycompanyconfidential; messages of any sensitivity are allowed through. A message with no Sensitivity: header is considered to be of normal, that is, the lowest, sensitivity. Messages with a higher sensitivity than that specified by such a keyword is rejected when enqueued to the channel with an error message:

message too sensitive for one or more paths used

Note that the MTA does this sort of sensitivity checking at a per-message, not per-recipient, level: if a destination channel for one recipient fails the sensitivity check, then the message bounces for all recipients, not just for those recipients associated with the sensitive channel.

Setting Default Language in Headers

Keywords: language

Encoded words in headers can have a specific language. The language keyword specifies the default language.


Attachments and MIME Processing

This section describes keywords that deal with attachments and MIME processing. It consists of the following sections:

Ignoring the Encoding: Header Line

Keywords: ignoreencoding, interpretencoding

The MTA can convert various nonstandard message formats to MIME using the Yes CHARSET-CONVERSION. In particular, the RFC 1154 format uses a nonstandard Encoding: header line. However, some gateways emit incorrect information on this header line, with the result that sometimes it is desirable to ignore this header line. The ignoreencoding keyword instructs the MTA to ignore any Encoding: header line.


Note

Unless the MTA has a CHARSET-CONVERSION enabled, such headers are ignored in any case. The interpretencoding keyword instructs the MTA to pay attention to any Encoding: header line, if otherwise configured to do so, and is the default.


Automatic Defragmentation of Message/Partial Messages

Keywords: defragment, nodefragment

The MIME standard provides the message/partial content type for breaking up messages into smaller parts. This is useful when messages have to traverse networks with size limits, or traverse unreliable networks where message fragmentation can provide a form of “checkpointing,” allowing for less subsequent duplication of effort when network failures occur during message transfer. Information is included in each part so that the message can be automatically reassembled after it arrives at its destination.

The defragment channel keyword and the defragmentation channel provide the means to reassemble messages in the MTA. When a channel is marked defragment, any partial messages queued to the channel are placed in the defragmentation channel queue instead. After all the parts have arrived, the message is rebuilt and sent on its way. The nodefragment disables this special processing. The keyword nodefragment is the default.

Defragmentation Channel Retention Time

Messages are retained in the defragment channel queue only for a limited time. When one half of the time before the first nondelivery notice is sent has elapsed, the various parts of a message will be sent on without being reassembled. This choice of time value eliminates the possibility of a nondelivery notification being sent about a message in the defragment channel queue.

The notices channel keyword controls the amount of time that can elapse before nondelivery notifications are sent, and hence also controls the amount of time messages are retained before being sent on in pieces. Set the notices keyword value to twice the amount of time you wish to retain messages for possible defragmentation. For example, a notices value of 4 would cause retention of message fragments for two days:

defragment notices 4
DEFRAGMENT-DAEMON

Automatic Fragmentation of Large Messages

Keywords: maxblocks, maxlines

Some email systems or network transfers cannot handle messages that exceed certain size limits. The MTA provides facilities to impose such limits on a channel-by-channel basis. Messages larger than the set limits are automatically split (fragmented) into multiple, smaller messages. The content type used for such fragments is message/partial, and a unique ID parameter is added so that parts of the same message can be associated with one another and, possibly, be automatically reassembled by the receiving mailer.

The maxblocks and maxlines keywords are used to impose size limits beyond which automatic fragmentation are activated. Both of these keywords must be followed by a single integer value. The keyword maxblocks specifies the maximum number of blocks allowed in a message. An MTA block is normally 1024 bytes; this can be changed with the BLOCK_SIZE option in the MTA option file. The keyword maxlines specifies the maximum number of lines allowed in a message. These two limits can be imposed simultaneously if necessary.

Message headers are, to a certain extent, included in the size of a message. Because message headers cannot be split into multiple messages, and yet they themselves can exceed the specified size limits, a rather complex mechanism is used to account for message header sizes. This logic is controlled by the MAX_HEADER_BLOCK_USE and MAX_HEADER_LINE_USE options in the MTA option file.

MAX_HEADER_BLOCK_USE is used to specify a real number between 0 and 1. The default value is 0.5. A message's header is allowed to occupy this much of the total number of blocks a message can consume (specified by the maxblocks keyword). If the message header is larger, the MTA takes the product of MAX_HEADER_BLOCK_USE and maxblocks as the size of the header (the header size is taken to be the smaller of the actual header size and maxblocks) * MAX_HEADER_BLOCK_USE.

For example, if maxblocks is 10 and MAX_HEADER_BLOCK_USE is the default, 0.5, any message header larger than 5 blocks is treated as a 5-block header, and if the message is 5 or fewer blocks in size it is not fragmented. A value of 0 causes headers to be effectively ignored insofar as message-size limits are concerned.

A value of 1 allows headers to use up all of the size that's available. Each fragment always contains at least one message line, regardless of whether or not the limits are exceeded by this. MAX_HEADER_LINE_USE operates in a similar fashion in conjunction with the maxlines keyword.

Imposing Message Line Length Restrictions

Keywords: linelength

The SMTP specification allows for lines of text containing up to 1000 bytes. However, some transfers may impose more severe restrictions on line length. The linelength keyword provides a mechanism for limiting the maximum permissible message line length on a channel-by-channel basis. Messages queued to a given channel with lines longer than the limit specified for that channel are automatically encoded.

The various encodings available in the MTA always result in a reduction of line length to fewer than 80 characters. The original message may be recovered after such encoding is done by applying an appropriating decoding filter.


Note

Encoding can only reduce line lengths to fewer than 80 characters. Specification of line length values less than 80 may not actually produce lines with lengths that comply with the stated restriction.


The linelength keyword causes encoding of data to perform “soft” line wrapping for transport purposes. The encoding is normally decoded at the receiving side so that the original “long” lines are recovered. For “hard” line wrapping, see the “Record, text” CHARSET-CONVERSION.


Size Limits on Messages, User Quotas and Privileges

This section describes keywords that set size limits on messages, user quotas, and privileges. It consists of the following sections:

Specifying Absolute Message Size Limits

Keywords: blocklimit, noblocklimit, linelimit, nolinelimit, sourceblocklimit

Although fragmentation can automatically break messages into smaller pieces, it is appropriate in some cases to reject messages larger than some administratively defined limit, (for example, to avoid service denial attacks).

The blocklimit, linelimit, and sourceblocklimit keywords are used to impose absolute size limits. Each of these keywords must be followed by a single integer value.

The keyword blocklimit specifies the maximum number of blocks allowed in a message. The MTA rejects attempts to queue messages containing more blocks than this to the channel. An MTA block is normally 1024 bytes; this can be changed with the BLOCK_SIZE option in the MTA option file.

The keyword sourceblocklimit specifies the maximum number of blocks allowed in an incoming message. The MTA rejects attempts to submit a message containing more blocks than this to the channel. In other words, blocklimit applies to destination channels; sourceblocklimit applies to source channels. An MTA block is normally 1024 bytes; this can be changed with the BLOCK_SIZE option in the MTA option file.

The keyword linelimit specifies the maximum number of lines allowed in a message. The MTA rejects attempts to queue messages containing more than this number of lines to the channel. The keywords, blocklimit and linelimit, can be imposed simultaneously, if necessary.

The MTA options LINE_LIMIT and BLOCK_LIMIT can be used to impose similar limits on all channels. These limits have the advantage that they apply across all channels. Therefore, the MTA servers can make them known to mail clients prior to obtaining message recipient information. This simplifies the process of message rejection in some protocols.

The nolinelimit and noblocklimit channel keywords are the default and mean that no limits are imposed, other than any global limits imposed via the LINE_LIMIT or BLOCK_LIMIT MTA options.

Retargeting Messages Exceeding Limit on Size or Recipients

Keywords: alternatechannel, alternateblocklimit, alternatelinelimit, alternaterecipientlimit

The MTA provides the ability to retarget messages that exceed a specified limit on the number of recipients, message size, or message lines to an alternate destination channel. This is implemented as a set of the following channel keywords alternatechannel, alternateblocklimit, alternatelinelimit, and alternaterecipientlimit that can be placed on any destination channel. The alternatechannel keyword takes a single argument specifying the name of the alternate channel to use. The other keywords each accept an integer argument specifying a corresponding threshold. A message that exceeds any of these thresholds will be enqueued to the alternate channel instead of the original destination channel.

In the following channel block example, large messages over 5,000 blocks, that would have gone out the tcp_local channel to the Internet, instead go out the tcp_big channel:

tcp_local smtp ... rest of keywords ... alternatechannel tcp_big alternateblocklimit 5
tcp-daemon


tcp_big smtp
...rest of keywords...
tcp-big-daemon

Here are some examples of how the alternate* channel keywords can be used:

Handling Mail Delivery to Over Quota Users

Keywords: holdexquota, noexquota

The noexquota and holdexquota keywords control the handling of messages addressed to Berkeley mailbox users (UNIX), that is, users delivered to uid the native channel, who have exceeded their disk quotas.

noexquota tells the MTA to return messages addressed to over quota users to the message’s sender. holdexquota tells the MTA to hold messages to over quota users; such messages remain in the MTA queue until they can either be delivered or they time out and are returned to their sender by the message return job.


File Creation in the MTA Queue

This section describes keywords that allow you to control disk resources by specifying file creation in the MTA queue. It consists of the following sections:

Controlling How Multiple Addresses on a Message are Handled

Keywords: multiple, addrsperfile, single, single_sys

The MTA allows multiple destination addresses to appear in each queued message. Some channel programs may only be able to process messages with one recipient, or with a limited number of recipients, or with a single destination system per message copy. For example, the SMTP channels master program establishes a connection only to a single remote host in a given transaction, so only addresses to that host can be processed (this, despite the fact, that a single channel is typically used for all SMTP traffic).

Another example is that some SMTP servers may impose a limit on the number of recipients they can handle at one time, and they may not be able to handle this type of error.

The keywords multiple, addrsperfile, single, and single_sys can be used to control how multiple addresses are handled. The keyword single means that a separate copy of the message should be created for each destination address on the channel. The keyword single_sys creates a single copy of the message for each destination system used. The keyword multiple, the default, creates a single copy of the message for the entire channel.


Note

At least one copy of each message is created for each channel the message is queued to, regardless of the keywords used.


The addrsperfile keyword is used to put a limit on the maximum number of recipients that can be associated with a single message file in a channel queue, thus limiting the number of recipients that are processed in a single operation. This keyword requires a single-integer argument specifying the maximum number of recipient addresses allowed in a message file; if this number is reached, the MTA automatically creates additional message files to accommodate them. (The default multiple keyword corresponds in general to imposing no limit on the number of recipients in a message file, however the SMTP channel defaults to 99.)

Spreading a Channel Message Queue Across Multiple Subdirectories

Keywords: subdirs

By default, all messages queued to a channel are stored as files in the directory
/imta/queue/channel-name, where channel-name is the name of the channel. However, a channel that handles a large number of messages and tends to build up a large store of message files waiting for processing, for example, a TCP/IP channel, may get better performance out of the file system if those message files are spread across a number of subdirectories. The subdirs channel keyword provides this capability: it should be followed by an integer that specifies the number of subdirectories across which to spread messages for the channel, for example:

tcp_local single_sys smtp subdirs 10


Configuring Logging and Debugging

This section describe logging and debugging keywords.

Logging Keywords

Keywords: logging, nologging

The MTA provides facilities for logging each message as it is enqueued and dequeued. The logging and nologging keywords control logging for messages on a per-channel basis. By default, the initial configuration turns on logging for all channels. You can disable logging for a particular channel by substituting the nologging keyword in the channel definition.

For more information about logging, see Chapter 20, "Logging and Log Analysis".”

Debugging Keywords

Keywords: master_debug, slave_debug, nomaster_debug, noslave_debug

Some channel programs include optional code to assist in debugging by producing additional diagnostic output. Two channel keywords are provided to enable generation of this debugging output on a per-channel basis. The keywords are master_debug, which enables debugging output in master programs, and slave_debug, which enables debugging output in slave programs. Both types of debugging output are disabled by default, corresponding to nomaster_debug and noslave_debug.

When activated, debugging output ends up in the log file associated with the channel program. The location of the log file may vary from program to program. Log files are usually kept in the log directory. Master programs usually have log file names of the form x_master.log, where x is the name of the channel. Slave programs usually have log file names of the form x_slave.log.

On UNIX, when master_debug and slave_debug are enabled for the l channel, users then receive imta_sendmail.log-uniqueid files in their current directory (if they have write access to the directory; otherwise, the debug output goes to stdout.) containing MTA debug information.

Setting Loopcheck

Keywords: loopcheck, noloopcheck

The loopcheck keyword places a string into the SMTP EHLO response banner in order for the MTA to check if it is communicating with itself. When loopcheck is set, the SMTP server advertises an XLOOP extension.

When it communicates with an SMTP server supporting XLOOP, the MTA’s SMTP client compares the advertised string with the value of its MTA and immediately bounce the message if the client is in fact communicating with the SMTP server.


Miscellaneous Keywords

This section describes miscellaneous keywords. It consists of the following sections:

Channel Operation Type

Keywords: submitsubmit

Messaging Server supports RFC 2476's Message Submission protocol. The submit keyword may be used to mark a channel as a submit-only channel. This is normally useful mostly on TCP/IP channels, such as an SMTP server run on a special port used solely for submitting messages; RFC 2476 establishes port 587 for such message submission use.

Pipe Channel

Keywords: user

The user keyword is used on pipe channels to indicate under what user name to run.

Note that the argument to user is normally forced to lowercase, but original case is preserved if the argument is quoted.

Specifying Mailbox Filter File Location

Keywords: filter, nofilter, channelfilter, nochannelfilter, destinationfilter nodestinationfilter, sourcefilter, nosourcefilter, fileinto, nofileinto)

The filter keyword may be used on the native and ims-ms channels to specify the location of user filter files for that channel. It takes a required URL argument describing the filter file location. nofilter is the default and means that a user mailbox filters are not enabled for the channel.

The sourcefilter and destinationfilter keywords may be used on general MTA channels to specify a channel-level filter to apply to incoming and outgoing messages, respectively. These keywords take a required URL argument describing the channel filter file location. nosourcefilter and nodestinationfilter are the defaults and mean that no channel mailbox filter is enabled for either direction of the channel.

The obsolete channelfilter and nochannelfilter keywords are synonyms for destinationfilter and nodestinationfilter, respectively.

The fileinto keyword, currently supported only for ims-ms channels, specifies how to alter an address when a mailbox filter fileinto operator is applied. For ims-ms channels, the usual usage is:

fileinto $U+$S@$D

The above specifies that the folder name should be inserted as a sub-address into the original address, replacing any originally present sub-address.



Previous      Contents      Index      Next     


Copyright 2004 Sun Microsystems, Inc. All rights reserved.