| Article: |
More LDAP in Mac OS X Server | |
| Subject: | Groups? | |
| Date: | 2004-11-28 17:26:35 | |
| From: | bripakes | |
|
I'm at the stage where I've enabled the Directory Inspector and entered user information... but I am missing one last piece... groups!
|
||
Showing messages 1 through 2 of 2.
-
Groups?
2004-11-28 18:19:57 tonywilliams [View]
-
Groups?
2006-04-25 00:43:07 gkjapan [View]
Can I use the above method if I am not hosting my own mail? Currently just hosting AFP, DNS and OD on 10.4.5 Server, and mail is outsourced. I just want to have the ability to have users send mail to a group of other users. Isn't there a way to do this? Has anything changed since the article was written?
Thanks for any help,
Gary



Unfortunately the mail system in OS X doesn't use the groups in the LDAP directory and it is a non-trivial exercise to get it to use them.
However groups are merely an instance of a mailing list and there are a few ways you can get mailling lists working. you can use Mailman, built into OS X or they can be in the alias file.
TYou can find the alias file as /etc/aliases and you can either enter the list straight into this file so :
group-address: member1@example.com, member2@example.com, member3@example.comor you can have the addresses in a separate file included like so
group-address: include /path/to/fileand then put each member of the list on a separate line in the file.
With a little thought you could write a Perl script that wrote the files for you.
Once you have the files done then run
sudo postaliases /etc/aliases so that the mailer can rebuild its internal database and you are done.Tony