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 existsCan'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
or passwords.
Most often, alias files are used to map postmaster users to a real account and give a
“firstname.lastname@example.com” mail address to a user with a short login account
name.
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
scripts.
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
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 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:
robert.fakeuser
If virtual hosting is enabled, enter the fully qualified mail address:
robert.fakeuser@example.com
5 Click Save.
As a result, mail to robert.fakeuser@example.com is sent to user bob, giving Bob two
effective mail addresses, bob@example.com and robert.fakeuser@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:
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 file changes.
or go to Apple - Mac OS X Server - Resources and look at the admin manual.
HodgeHi (12th February 2009)
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 %username%@school.com
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![]()
There are currently 1 users browsing this thread. (0 members and 1 guests)