Mike Manders wrote: > > I've read a few people discussing the possibilities of forwarding emails > based on the groupofnames attribute in an ldap group. I've read that > the main way of doing mailing list groups is to add multiple instances > of 'mailForwardingAddress' to a qmailUser with the mail set to the group > email address.
Wait until next week when we introduce true qmail-group functionality into qmail-ldap (20030901). -- Andre > The only problem I have with this is that there are now two email > addresses to manage in my ldap directory. This is not necessarily a > problem, but it will cause a few conflicts every once in a while. Other > than those few posts, I haven't found too much information with regards > to this situation. > > I've written a script in perl that will connect to the ldap directory, > and retrieve all the members dn's on the first search. And then do a > search for each member of the group to get their 'mail' attribute. I > feel like this is too much searching, but it works. > > Here is the main problem. Since I'm not able to send the email > addresses back for qmail to forward the message off nicely. How should > I look at resending this message? Most of the qmail-command examples I > see are simply to either send a new message back to original > sender(vacation) or to pass a value back to qmail, so that it knows to > reject/accept the message. > > What would be the right way to use the list of email addresses extracted > from the LDAP database to get qmail to forward the mail off? Do I have > to do the sending in perl? Or is there a way to get qmail to send to > the new email addresses? > > Thanks!
