
42 Chapter 1 Mail Service Setup
6 Select Enable Virtual Hosting.
You can now add or remove virtual hosts using the Add (+) or Remove (-) buttons.
7 Click Save.
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 41 for
more information.
To add or remove virtual hosts:
1 In Server Admin, select Mail in the Computers & Services pane.
2 Click Settings.
3 Select the Advanced tab.
4 Select Hosting.
5 Click the Add (+) button next to the Locally Hosted Virtual Domain box and type the
domain name of a virtual host for which you want your server to be responsible.
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.
6 Click Save.
Note: You should 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 will be returned.
Associating Users to the Virtual Host
Associating uses to a virtual host requires creating an alias in their user records which
the domain name of the mail server, but a virtual host).
There are two methods for creating aliases for virtual host users: Mac OS X Server-style,
and Postfix-style. Each one 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
what alias refers to which user. The downside of this kind of alias 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, are less obvious to audit.
However, the major benefit to using Postfix-style aliases is their use with Sieve scripting.
Only aliases generated Postfix-style can be acted upon by Sieve scripts.
Comentários a estes Manuais