Re: [Exim] Group Mailing (from LDAP)

Góra strony
Delete this message
Reply to this message
Autor: Martin Ritchie
Data:  
Dla: exim-users
Stare tematy: Re: [Exim] Group Mailing
Temat: Re: [Exim] Group Mailing (from LDAP)

Suresh Ramasubramanian wrote:
> Martin Ritchie [2/4/2004 8:47 PM] :
>
>> Hi all,
>> Forgive me if I've over looked this in the Docs.
>>
>> I was looking for a way to send mail to all members of a unix group.
>> i.e. team1, staff, etc. Is there a simple tweak to the local delivery
>> rules that I'm missing or is it not possible?
>
>
> /etc/aliases



are you saying that I have to manually maintain a copy of the users in a
group? such as:

staff: brian, betty, colin, .....

or use an include file?

or a command to read the group file such as

`grep "staff::" /etc/group |cut -d ":" -f 4-`


None of these approaches are suitable. Sorry, forgot to say we store our
users in a LDAP server so can't use simple file lookups.

Has anyone done such a lookup is there a system call to find out all
users for a particular group?

tia

--
Martin Ritchie

the Kelvin Institute
50, George Street
Glasgow
Scotland, UK
G1 1QE

www.kelvininstitute.com
+44 (0) 141 548 5719