Apple 10.6 Server User Manual


 
To create a Postx-style alias:
1 Create the le /etc/postx/aliases, if none exists.
2 For each alias, make a line in the le with the following format:
alias:localaddress1,localaddress2,...
For example, for your domain example.com, if you want to give user name bob”an alias
of robert.fakeuser you enter:
robert.fakeuser: bob
This takes mail sent to your mail server for robert.fakeuser@example.com and sends it
to the real mail account, bob@example.com.
3 Save your le changes.
4 In the Terminal application, enter the following command:
postalias /etc/postfix/aliases
The text le is processed into a database for faster access.
5 At the prompt, enter the following command:
newaliases
The alias database will reload.
As a result, mail to robert.fakeuser@example.com is sent to user bob, giving Bob two
eective mail addresses, bob@example.com and robert.fakeuser@example.com.
For further information about creating and maintaining mail aliases, see /etc/postx/
aliases.
Setting Up Forwarding Mail Addresses for a User
You can use forwarding to provide a mail redirection service for users. Any mail sent to
a user’s mail account is forwarded to the specied account.
There is an additional method of mail forwarding using Sieve scripting. To learn more
about that method, see “Server-Side Mail Rules” on page 39.
To forward a user’s mail:
1 In Workgroup Manager, open the user account you want to work with, if it isn’t open.
To open the account, click the Accounts button, click the globe icon below the toolbar
menu and open the directory domain where the account resides. Click the lock to be
authenticated. Select the user in the user list.
2 Click the Mail tab.
3 Select Forward.
4 Enter the forwarding mail address in the Forward To eld.
You can enter multiple addresses but they must be separated by a comma.
78 Chapter 3 Mail Service Advanced Conguration