|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Victor Duchovni (Victor.Duchovni
MorganStanley.com)
Date: Thu Aug 02 2007 - 14:50:09 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Thu, Aug 02, 2007 at 04:19:52PM -0300, Andreas Hasenack wrote:
> I want to send email to all members of a posixGroup. The catch is that
> this is a rfc2307 group, i.e., members are just names and not DNs:
>
> cn=foo,ou=group,dc=example,dc=com
> cn: foo
> objectClass: posixGroup
> memberUid: user1
> memberUid: user2
> memberUid: user3
> ...
>
> uid=user1,ou=people,dc=example,dc=com
> uid: user1
> objectClass: inetOrgPerson
> mail: user1
test.com
> ...
>
> There is no DN pointing back to the user entry, nor is there something
> in the user entry hinting to which groups the user is part of, so I
> can't use special_result_attribute.
>
> With the above, is there a way I could have postfix, after getting the
> member list, to a subsequent query on each user to fetch their mail
> attribute? Or some other solution?
The unix user names will get
$myorigin appended to them, these are then
subject to further rewriting. It should just work.
result_attribute = memberUid
--
Viktor.
Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.
To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:majordomo
postfix.org?body=unsubscribe%20postfix-users>
If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]