How To Change the Nym Welcome Message

Freedom Mail System Documentation

Author: Roger McFarlane <roger@zks.net>
Revision: $Revision: 1.2 $
Last Modified: $Date: 2001/04/19 19:28:20 $

Contents

This document outlines the necessary steps and procedures required to modify the automatically generated message that is sent to a nym upon activation of a new Freedom Mail account.

  1. Changing the sender's identity
  2. Changing the subject
  3. Changing the message contents

1. Changing the sender's identity

The welcome message can be configured to originate from whatever e-mail address is desired. While the mail will always be delivered using the internet-to-nym delivery path, the originating e-mail address can also be configured with a freedom nym address.

On each mail system POP host:

  1. Become the superuser (i.e., root)
  2. Open to edit the following file:
    /freedom/qmail/bin/send-welcome-message.sh
  3. Change line 5 to:
    SENDER={nym}@$DOM

    where {nym} is the sender you want to use.
  4. If you wish the sending address to NOT be a nym address, you can also replace $DOM with the domain of your choice. Otherwise, the welcome message will originate from the given nym at the default freedom network domain.
  5. Save the file.

2. Changing the subject

The welcome message can be configured have whatever subject line is desired.

On each mail system POP host:

  1. Become the superuser (i.e., root)
  2. Open to edit the following file:
    /freedom/qmail/bin/send-welcome-message.sh
  3. Change line 12 to contain the desired subject line. If you wish to include the name of the new nym, you can include the environment variable $1.
  4. Save the file.

3. Changing the message contents

The welcome message can be configured to say whatever is desired. This includes changing both the body (i.e., content) as well as the format (i.e., text vs. html) of the message.

As deployed from the package, the welcome message is assumed to be plain text. To edit the body of the message, just modify and save the following text file on each POP server host. You must be the superuser on the host in order to edit this file.

/freedom/qmail/control/welcome-message.txt

If you wish to change the format of the message then, as root:

  1. Open to edit the following file:
    /freedom/qmail/bin/send-welcome-message.sh
  2. Delete the blank line (line 13) which terminates the e-mail headers
  3. You can (optionally) also delete the subject line
  4. Save the file
  5. Open to edit the following file:
    /freedom/qmail/control/welcome-message.txt
  6. Replace the contents with the new e-mail message. Please note that this message should start with the relevant headers (omitting To, From, Date) followed by a blank line and the message body. If you removed the Subject line in the preceding steps, you should add one to this file.
  7. Save the file

Copyright © 2000 Zero-Knowledge Systems Inc.
All Rights Reserved