Frankly, the right solution is to make this distribution group
addressable through SMTP.
-- 
Thomas Roessler   <[EMAIL PROTECTED]>






On 2007-03-20 16:53:36 -0700, Ray Van Dolson wrote:
> From: Ray Van Dolson <[EMAIL PROTECTED]>
> To: mutt-users@mutt.org
> Date: Tue, 20 Mar 2007 16:53:36 -0700
> Subject: Advice on query_command technique.
> X-Spam-Level: 
> X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.1.5
> 
> Hi all, I am a mutt user trying to happily co-exist in an Exchange
> environment.  For the most part all is well.  I wrote a small Python program
> to act as my query_command to look up addresses via AD (LDAP) so I could have
> access to the company address book.  The problem is that Distribution Groups
> are giving me problems.
> 
> For example, we have a fictitious distribution group called Solaris Admins.
> >From Outlook, I can send an email to its address [EMAIL PROTECTED] and my
> message is delivered to all "member" objects within this distribution group.
> 
> However, if I attempt to send an email via SMTP to the Exchange server to this
> [EMAIL PROTECTED] email address, it gets bounced back with user unknown.
> I understand this is because Outlook is actually expanding the list of members
> from this group and sending to them individually.  In other words this
> Distribution Group isn't like an alias in the sendmail world.
> 
> No problem though, right?  I expanded my LDAP querying utility to determine
> whether or not the address I am searching for is a distribution group, and if
> so, it expands each member dn into an email address and name and returns them
> all in mutt query_command format.
> 
> Now I get a nice list of member users when I search for 'solarisadm'.
> However, this is kind of a pain when we're talking about a list with 100's of
> users in it.  I typically tag all of the users then start a new message to all
> of the tagged users.  This results in a very large To: list :)
> 
> Can someone see a better way to do this?  Is there a way to "tag" search
> resulst and then start a new mail with all the users in the Bcc field?  Maybe
> I could have my query_command automatically create a mutt alias with all the
> users in question as members and get mutt to load this alias in automatically
> somehow...
> 
> Anyways, just looking for some brainstorming.  TIA!
> 
> Ray
> 
> 

Reply via email to