Enabling Mail Lists


Mac OS X Server includes Mailman as its mailing list service. Mail lists are used to provide automated mail distribution to a group of electronic mail addresses. Subscribers to the list don't have to have mail accounts on your server; most mail lists allow users to subscribe or unsubscribe themselves via mail messages sent to your server. All an administrator has to do is create the mail lists and select list administrator accounts that are based on any email address.

You can use the Server Admin tool to enable the Mailman service initially. Once enabled, Mailman sports a variety of advanced mail-list organization and management features beyond those available in Server Admin. Typically, mail lists are managed via a Web browser interface or through an exchange of mail messages with the mail list server.

Because Mailman relies on Web and SMTP relay services, you must configure Apache and Postfix on your server before enabling mailing lists. See Chapter 9 for detailed instructions on how to enable a Web site. You can also refer to "Configuring Mail Services," earlier in this chapter, to learn how to enable the SMTP service.

To enable mail lists:

1.

Launch the Server Admin tool located in /Applications/Server, and authenticate as the administrator (Figure 8.50).

Figure 8.50. Launch the Server Admin tool, and authenticate.


2.

Select the Mail service for your server in the Computers & Services list.

Click the Settings button and then the Mailing Lists tab (Figure 8.51). You can see that initially, the Mailman service isn't configured or enabled.

Figure 8.51. The Mail service is selected in the Computers & Services list, and the Settings button and the Mailing Lists tab are shown.


3.

Select the "Enable mailing lists" check box.

A dialog appears in which you can configure the first, and required, Mailman list (Figure 8.52). Enter an administrator password and as many administrator email accounts as you want, separated by carriage returns.

Figure 8.52. In this dialog, configure the initial Mailman list.


4.

Click the OK button , and verify that the mail list Mailman has been created (Figure 8.53).

Figure 8.53. The Mailman list is required, although you can unsubscribe all the accounts.


You've now created the initial list. You can't delete this list, but you can remove all but one administrative account and ignore the list by not posting anything to it.

To create additional mailing lists:

1.

Complete the previous task, "To enable Mail lists," and keep the Server Admin tool open to the Mail service, Settings tab, Mailing Lists tab (Figure 8.54).

Figure 8.54. Begin adding additional mailing lists by selecting the Mailing Lists tab of the Settings button.


2.

Click the Add button below the Lists list.

A dialog appears in which you can give the new list a name (Figure 8.55). Select the "Users may self-subscribe" check box if you want users to be able to subscribe or unsubscribe from this list without administrator intervention.

Figure 8.55. Enter additional mailing lists with this dialog.


3.

To add accounts to a list, select the list name, and do one of the following:

  • To add any email account, click the Add button below the Members list. A dialog appears in which you can enter as many email accounts as you want, separated by carriage returns (Figure 8.56). You can specify the accounts' mail list settings by selecting the appropriate check boxes (see step 4).

    Figure 8.56. Enter mailing-list member accounts and options in this dialog.


  • To add a locally hosted email account, click the Users button to reveal the Users & Groups drawer (Figure 8.57). Click and drag any user account from the drawer to the Members list (Figure 8.58).

    Figure 8.57. From this drawer, you can select local user accounts.


    Figure 8.58. Drag and drop local user accounts into the Members list.


4.

To modify an account's mail-list settings, select or deselect any of the following options next to the account name in the Members list (Figure 8.59):

Subscribe Mail messages distributed by the list will be sent to this account.

Post This account is allowed to send new messages to the list to be distributed to the other members.

Admin This account can modify the advanced settings for the list.

Figure 8.59. Select or deselect any member list options.


5.

To modify an account or list name, double-click its entry in the list (Figure 8.60).

Figure 8.60. Double-click any member account or list name entry to edit it.


You can also delete an account or list by selecting it in the list and clicking the Delete button at the bottom of the list.

6.

When you've finished making changes, click the Save button .

7.

Click the Overview button , and verify that the mailing-list service is running (Figure 8.61).

Figure 8.61. The mailing-list service is enabled on this server.


As with any service change, you should thoroughly test the configuration before going live.

Tips

  • Considerably more detailed options for your mail lists are available at http://serverhostname/mailman/listinfo/ (Figure 8.62).

    Figure 8.62. You can configure mailing-list settings from any Web browser.


  • You should always stop the Mail service prior to making changes and restart it only after saving your changes.


Mailman Advanced Configuration and Files

Mailman has been around for a while, and many Unix administrators are familiar with its associated command-line utilities and configuration files. Although the Server Admin interface is fine, some options are still available only from the command line.

The /usr/share/mailman/bin/ directory holds all the advanced Mailman configuration utilities. Most of the utilities in this directory display their help pages when you enter the command's name with no options.

It may also help you to know that Mailman stores all of its configuration data in the /var/mailman/data/ directory.




    Mac OS X 10. 3 Server Panther. Visual QuickPro Guide
    Mac OS X Server 10.3 Panther: Visual QuickPro Guide
    ISBN: 0321242521
    EAN: 2147483647
    Year: 2004
    Pages: 105

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net