Re: multiple query for addresses
- To: mutt-users@xxxxxxxx
- Subject: Re: multiple query for addresses
- From: Javier Rojas <jerojasro@xxxxxxxxx>
- Date: Mon, 29 Oct 2007 21:32:39 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:date:from:to:subject:message-id:mail-followup-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; bh=hBPORiX0X3ZiRDw2CW0D/rKWvLgjUKnoamqp3UuheX0=; b=sv8t32JebUGeSr3K94NMhmJfxdUibyTOC9xWwU1/m2MZV8i/kBAfegbZTCMYScK4CD4HVAHgu1Xx3cX9fhh2isGPUgbVgISeL4qj8aigHGetxbI6zjNR3UMWlh2+qEoIZvFBgJYQHeNMor1+FAQxAel2PFIsZIF3Qo8SRbrCfpQ=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:from:to:subject:message-id:mail-followup-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=J1OeGB/5Rdv1vTUu+N8ulaXZoQkl9eHlWfzA7JK2BePP8UzGNR8iGYle4MW5dMG2Y/LTRay+omMwuF0vyB/CH8Mk0cW+aNzLij0E9/5hv+XyADeVbXjUeNVwmi/tz2vxs84C0I3RbO4GyHqcSw1eVvR32UCHz0IXQeGELDkA2EY=
- In-reply-to: <20071029150144.GA32702@xxxxxxxxxxxxxxxxxxxxxxx>
- List-post: <mailto:mutt-users@mutt.org>
- List-unsubscribe: send mail to majordomo@mutt.org, body only "unsubscribe mutt-users"
- Mail-followup-to: mutt-users@xxxxxxxx
- References: <20071029090118.GB9720@xxxxxxxxxxxxxxxxxxxxxxx> <20071029132353.GB6027@xxxxxxxxxxxxxxxxxxx> <20071029150144.GA32702@xxxxxxxxxxxxxxxxxxxxxxx>
- Sender: owner-mutt-users@xxxxxxxx
- User-agent: Mutt/1.5.16 (2007-06-09)
On Mon, Oct 29, 2007 at 04:01:44PM +0100, Anton Achatz wrote:
> Thanks very much for the answer. Very helpful, but i use the
> mutt-ldap.pl not mutt_ldap_query.pl and i am not smart enought to make
> changes which works.
first, the ~/.lbdbrc. This is mine
SORT_OUTPUT="yes"
MODULES_PATH="/usr/local/lib /home/jerojasro/bin"
METHODS="m_abook mutt_ldap"
and, in the module file ("/home/jerojasro/bin/mutt_ldap" in my case)
#!/bin/bash
mutt_ldap_query () {
mutt-ldap.pl $@
}
make sure the module file is executable. make sure that mutt-ldap.pl is
in the path. That should do it
AFAIK, the "method" is the name of the script to look for. In the script
you should define a function named like the method, plus _query. Sorry
for stating the (maybe not so) obvious.
--
Javier Rojas
GPG Key ID: 0xA1C57061
Attachment:
pgpurYdW3hBk7.pgp
Description: PGP signature