Can it be done?
I hope so :)
Can it be done?
I hope so :)
Why would you want to?
They don't actually need to be email addresses. They could be aliases instead. We run a mail service on OS X and our AD users access their mail through this. The problem is though i need to be able to have one account set up for just emailing i.e. support, bookings etc. I could create the users but don't really want to go that way. I would prefer the mail that is sent to these inboxes to go to someone else instead.
I hope that makes sense. I have tried the aliases at the command line but they don't work. Either because they don't work for AD users or because i just didn't do it right. It'll most likely be the latter. If i could utilise the AD side then i wouldn't need to bother with this at all then.
Sorry I know nothing about OS X other than it exists :getmecoat: Can't you just forward mail sent to those accounts to the person you want to deal with them?
Email addresses depend on the email system/server that you use - AD has nothing to do with it apart from it has a field in LDAP which you may or may not use.
Creating Additional Mail Addresses for a User
Mail service allows each user to have more than one mail address, called an alias. Every
user has one mail address that’s formed from the short name of the user account. In
addition, you can define more names for any user account by creating an alias file. Each
additional name is an alternate mail address for the user at the same domain. These
additional mail addresses aren’t additional accounts and don’t require separate quotas
Most often, alias files are used to map postmaster users to a real account and give a
“firstname.lastname@example.org” mail address to a user with a short login account
There are two methods for creating mail aliases: Mac OS X Server–style, and Postfixstyle.
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 what alias refers to which user. The disadvantage of this is
that mail service’s Sieve functionality doesn’t understand Mac OS X Server–style
aliases and can’t 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, the major benefit to using Postfix-style aliases is their compatibility
with Sieve scripting. Only aliases generated Postfix-style can be acted upon by Sieve
If you are using this feature with virtual mail hosting and are using Mac OS X v10.4.3 or
later, you must enter a fully-qualified mail address (i.e. username@domain_name) in the
location indicated in Workgroup Manager.
To create a Mac OS X Server–style alias:
1 In Workgroup Manager, open the user account you want to work with, if it isn’t already
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 Basic tab.
3 Double-click under the last entry in the Short Names field.
4 Enter the alias.
For example, if your domain is example.com and you want to give user name bob an
alias of robert.fakeuser you should enter:
If virtual hosting is enabled, enter the fully qualified mail address:
5 Click Save.
As a result, mail to email@example.com is sent to user bob, giving Bob two
effective mail addresses, firstname.lastname@example.org and email@example.com.
To create a Postfix-style alias:
1 Create the file /etc/postfix/aliases, if none exists.
2 For each alias, make a line in the file with the following format:
For example, for your domain example.com, if you want to give user name bob”an alias
of robert.fakeuser you enter:
This takes mail sent to your mail server for firstname.lastname@example.org and sends it
to the real mail account, email@example.com.
3 Save your file changes.
or go to Apple - Mac OS X Server - Resources and look at the admin manual.
I missed this reply. Thanks for this. It just seems easier to read than the OS X Server manual or maybe i have learnt a little more since then???
I know it can be done on Server 2008 AD. select all users then right click properties. in the e-mail feild user soemthing like %firstname.lastname@example.org
Not quite what i meant. I have entered the email addresses in the email field for the users in server 2003. But there is only room for one. IIRC when exchange is installed additional tabs are added where you can specify aliases for the users. But since we aren't using Exchange then we cannot do it this way. But the aliases file worked great. The secretary now receives the enquiries post :D