To get a feel for ClearDDTS, you can install the product to test its features, but you should return to the planning step before you are ready to implement your live version. To install ClearDDTS:
To upgrade from a previous release:
If you have multiple installations, consider whether they are on the same or different networks. To have multiple installations under the same NIS server:
If you share a common mail spool (NFS mounted), all servers will try to read the mail spool at the same time, causing contention. To fix this, redirect all incoming mail for one of the "ddts" users to another userid (say, ddtstest). This new user account "ddtstest" is a pseudo user and is only used to resolve the incoming mail folder conflict. Create the new account by creating a user account 'ddtstest' with the same uid and gid as the user ddts on the same machine.
After configuring one of the "ddts" users to read incoming mail from the pseudo account "ddtstest", inform ClearDDTS to expect incoming mail from /usr/spool/mail/ddtstest, instead of /usr/spool/mail/ddts. The daemon that reads incoming mail is mail.in. The method by which you inform mail.in to read incoming mail from an alternate mailbox depends on the version of ClearDDTS you are using (use the command whichddts to determine the installed version).
First, rename mail.in to mail.in.bin. Then write a shell script called mail.in, which contains the following:
#! /bin/sh <path to ddts_home>/bin/mail.in.bin -b /usr/spool/mail/ddtstest
Then run chmod +x on mail.in.
In version 3.2 and later, you can create a file called conf/mailfile that specifies which mailbox to use. For example, the file would contain just one line:
/usr/spool/mail/ddtstest
Redirecting mail raises two issues:
You can fix this by reconfiguring sendmail to rewrite the Sender and Recipient fields for ClearDDTS. This is done by adding the following to the sendmail.cf file on the second ClearDDTS server (note that the white space on these lines MUST BE tab characters):
# Sender Field Pre-rewriting S1 Rddts $@ddtstest Rddts<@testmach> $@ddtstest # Recipient Field Pre-writing S2 Rddts $@ddtstest Rddts<@testmach> $@ddtstest
Note: If the two "ddts" users do not have the mail spool nfs mounted, then you only need to do one thing: prevent ClearDDTS from being aliased for mail going to that second machine. You can do that by changing the sendmail.cf file on the mail host and adding the following line to ruleset 1:
Rddts<@testmach> $@ddts<@testmach>
Please note that a tab (NOT spaces) should be used as the white space between the lines:
"Rddts" and "$@ddtstest" && "Rddts<@testmach>" and "$@ddtstest".
[TOC] [Step 1: Planning] [Step 2: Installation] [Step 3: Customization] [Step 4: User Access] [Step 5: Distribution]