Jump to content

Multiple email addresses for ad users without an exchange server


Recommended Posts

Posted

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.

Posted
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?
Posted
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.
Posted

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

[email protected]” 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:

[email protected]

5 Click Save.

As a result, mail to [email protected] is sent to user bob, giving Bob two

effective mail addresses, [email protected] and [email protected].

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 [email protected] and sends it

to the real mail account, [email protected].

3 Save your file changes.

 

or go to Apple - Mac OS X Server - Resources and look at the admin manual.

  • Thanks 1
  • 2 months later...
Posted
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???
Posted
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
Posted
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...