Netra j 2.0 Administrator's Guide

Mail Directories

The first choice concerns where users' incoming mail is kept. To users, the mailboxes appear to be in the directory /var/mail, but if space on the relevant disk partition is limited, it may be preferred for /var/mail to be a link to another directory. Previous versions of Netra linked /var/mail to /export/mail. Now the form asks whether mailboxes should be kept under /var/mail or whether /var/mail should be linked to another directory. If /var/mail is currently linked to another directory on the server, the user is informed of this, and there is a third option to keep this setup.

If the location of the mailboxes is changed, the mailboxes are moved to the new location from the current mail directory unless the /var/mail directory was mounted onto the Netra server from another server. In this case, the remote directory is simply unmounted, and the form displays a message indicating this action.

Directory Sharing

The second choice concerns whether the mailbox directory should be shared so that it can be mounted onto other computers. If the directory is to be shared, other computers can mount the Netra server's /var/mail directory so that it appears to be part of their own file system. The directory /var/mail can be mounted even if it is actually linked to another directory.

Mail Return Address Path Format

The third choice determines the format of the return address on outgoing mail, which can be either user@host.domain or user@domain. For example, suppose the Netra server's host name is stimpy and that the domain name is tv.net (as in Figure 3-1 ). With the user@host.domain format, mail from the user setup goes out as from the sender setup@stimpy.tv.net, while with the user@domain format it is stimpy@tv.net.

Figure 3-1 LAN That Uses the Netra Server as a Router

Graphic

The return address is used when people reply to messages sent out by the Netra server. For mail using the user@domain format to find its way back, the domain name server needs to know that the Netra server deals with mail, so that it can be passed on. This is accomplished by adding an MX record to the DNS database. If the Netra server is acting as the primary domain name server, the MX record can be added through the Name Service module (See "Name Service Administration "). To add an MX record for stimpy, modify the primary domain by adding a line to the Mail Servers box, with Mail Addresses set to tv.net. (note the trailing dot), Preference set to 1 and Mail Server set to stimpy.

The Netra server supports both the imap4 and the pop3 mail protocols, and for mail services to work correctly, the name service must have an entry for each network interface on the server.

The choices made when activating the mail services can be changed at a later time. If the Mail Administration page is loaded when Netra mail services are active, the following links: "Modify the mail services" and "Disable the Netra mail services configuration" are displayed. The first link shows the same form as for the initial configuration, while the latter link restores the mail services to the state they were in before Netra mail services were activated.

To Configure a Server to Provide Mail Services
  1. From the Main Administration page, under "Network Services Administration," click Mail, then click Configure this server as mailhost and a mailserver.

    The Mail Services Administration page is displayed.

  2. Complete the form using the information in Table 3-2.

    Table 3-2 Mail Administration
    • Store mail in /var/mail

    • Link /var/mail to the directory: newdirectory

    The users' mailboxes are kept in either olddirectory, /var/mail, or newdirectory, yet appear to be /var/mail

    Do you want the mail directory to be shared? 

    Determine whether other computers can mount to the mailbox directory. Select yes or no. 

    Mail return address path format is: user@host.domain

    The return address on mail includes the host name of the Netra server. 

    Mail return address path format is: user@domain

    The return address on mail does not include the host name of the Netra server. For the mail format of user@domain to be used, the DNS primary server must have a mail server record (MX record) added to its database.

To Modify Mail Services
  1. From the Main Administration page, under "Network Services Administration," click Mail, then click Modify the mail services.

    The Mail Services Administration page is displayed.

  2. Complete the form using the information in Table 3-2.

To Disable Mail Services
  1. From the Main Administration page, under "Network Services Administration," click Mail, then click Disable the Netra mail services configuration.

    The Mail Services Administration page is displayed.

  2. Click OK to confirm the operation.