Previous | Contents | Index |
The first step in installing the directory
channel is to
add the channel entry towards the bottom of your PMDF configuration
file. The entry should be of the form:
directory DIRECTORY-DAEMON |
domain $U%domain@DIRECTORY-DAEMON |
domain
supported onto the
directory channel. For example, if example.com
and
a1.example.com
are pseudo domains to be handled by the
directory channel, rewrite rules of the form:
example.com $U%example.com@DIRECTORY-DAEMON a1.example.com $U%a1.example.com@DIRECTORY-DAEMON |
More than one pseudo domain can be accommodated by the same directory channel; in general, there is no need to have separate channels for each domain. Simply add additional rewrite rules for any new pseudo domains and configure them as the following sections describe.
Alternatively, separate directory_*
channels can be used
for separate pseudo domains if desired, a typical reason being to allow
specifying distinct postmaster return addresses for the different
pseudo domains. In this case, define separate channels, each with their
own rewrite rules, and use the returnaddress
keyword on
each channel to specity the desired postmaster address. For instance,
channel definitions could be:
directory returnaddress postmaster@example.com DIRECTORY-DAEMON directory_a1 returnaddress postmaster@a1.example.com DIRECTORY-A1 |
example.com $U%example.com@DIRECTORY-DAEMON a1.example.com $U%a1.example.com@DIRECTORY-A1 |
Previous | Next | Contents | Index |