Defragmentation channel configuration

From Messaging Server Technical Reference Wiki
Jump to: navigation, search


A defragmentation channel is normally generated as part of an initial configuration.

In legacy configuration, the defragmentation channel definition consists of a channel entry, at its most minimal perhaps merely:


defragment 
defragment-daemon 

or as of 8.0:


defragment receivedstate "convert/defragment" 
defragment-daemon 

and rewrite rules of the form:


defragment                $U@defragment.localhostname@defragment-daemon 
defragment.localhostname  $U@defragment.localhostname@defragment-daemon 

where localhostname should be replaced by the name of the local host.

In Unified Configuration, the equivalent would be:


msconfig> show channel:defragment.*
role.channel:defragment.official_host_name = defragment-daemon
msconfig> show rewrite.rule * defragment*
role.rewrite.rule = defragment $U%defragment.domain.com@defragment-daemon
role.rewrite.rule = defragment.&/IMTA_HOST/ $U%defragment.domain.com@defragment-daemon

(with domain.com being replaced by a site's own domain name).

Once such a defragment channel and rewrite rules are in the configuration, then an address of the form

user%host@defragment.localhostname

will be routed through the defragmentation channel. (Sending anything other than a message/partial message to the defragmentation channel causes the channel to simply requeue the message for normal delivery.)


See also: