Apple 10.6 manual Adding or Removing Virtual Hosts, Associating Users to the Virtual Host

Models: 10.6

1 134
Download 134 pages 4.38 Kb
Page 74
Image 74

Adding or Removing Virtual Hosts

Before you can enable virtual hosting, you must add a list of locally hosted virtual domains to your mail server. Virtual hosting must be enabled to add or remove virtual hosts. If virtual hosting is not enabled, see “Enabling Virtual Hosting” on page 73.

If you enable virtual host domains, all mail aliases, addresses for local host aliases, and mail addresses associated with the virtual name must be fully qualified. This means that additional mail user names entered into the Short Names field of a user’s Workgroup Manager must contain the user name as well as the @domainname portion.

If you enable virtual domains, you must include the full mail address for user aliases and virtual users.

To add or remove virtual hosts:

1In Server Admin, select a computer in the Servers list, then select Mail.

2Click Settings.

3Select the Advanced tab.

4Select Hosting.

5Click the Add (+) button next to the Locally Hosted Virtual Domain box and enter the domain name of a virtual host you want your server to be responsible for.

To change a virtual domain, select it and click the Edit (/) button.

To remove an item from the list, select it and click the Remove (-) button.

6Click Save.

Note: Set up MX records for each virtual domain. If a domain name in this list doesn’t have an MX record, only your Mail service recognizes it. External mail sent to this domain name is returned.

Associating Users to the Virtual Host

Associating users to a virtual host requires creating an alias in their user records that contain the entire mail address (such as bob@example.com, where example.com isn’t the domain name of the mail server, but a virtual host).

There are two types of creating aliases for virtual host users: Mac OS X Server-style, and Postfix-style. Each has its advantages and disadvantages:

ÂÂ Mac OS X Server–style aliases are easy to make, and are listed with a user’s login name. You can easily see the alias that refers to each user. The downside is that Mail service’s Sieve functionality doesn’t understand Mac OS X Server-style aliases and will not filter mail based on the Mac OS X Server-style alias.

ÂÂ Postfix-style aliases require command-line administration and are less obvious to audit. However, Postfix-style aliases are compatible with Sieve scripting. Only aliases generated by the Postfix-style method can be acted upon by Sieve scripts.

74

Chapter 3    Mail Service Advanced Configuration

Page 74
Image 74
Apple 10.6 manual Adding or Removing Virtual Hosts, Associating Users to the Virtual Host, To add or remove virtual hosts