help with lbdb
Michael
bsd4me at cableone.net
Thu Oct 8 21:04:10 CEST 2009
I can't get lbdbq to work alone, inside mutt, or with lbdb-fetchaddr. Here is what I get when I type "lbdbq mike":
ksh: lbdbq: No such file or directory
In my .procmaillog, I have this with every entry:
/bin/sh: lbdb-fetchaddr: No such file or directory
Subject: delete
Folder: inbox/new/1255025883.9735_0.box.my.domain 1779
I tried adding "SHELL=/usr/bin/ksh" to .procmailrc, but that didn't help.
I then tried adding LD_LIBRARY_PATH="/usr/local/lib:/usr/lib:$LD_LIBRARY_PATH" to .procmailrc. Didn't help.
If I use the "Q" command in mutt, I get:
Waiting for response...sh: lbdbq: No such file or directory
Here are settings and files:
$ grep lbdb .muttrc
set query_command="lbdbq '%s'"
macro alias Q "!lbdbq ." "lbdb query"
In .procmailrc, I have:
:0hc
| lbdb-fetchaddr -a
In /usr/local/bin, I have:
-rwxr-xr-x 1 root bin 2770 Mar 2 2009 /usr/local/bin/lbdb-fetchaddr
-rwxr-xr-x 1 root bin 12444 Mar 2 2009 /usr/local/bin/lbdb_dotlock
-rwxr-xr-x 1 root bin 2981 Mar 2 2009 /usr/local/bin/lbdbq
In /usr/local/lib/lbdb, I have:
-rwxr-xr-x 1 root bin 18517 Mar 2 2009 fetchaddr
-rwxr-xr-x 1 root bin 1666 Mar 2 2009 lbdb-munge
-rw-r--r-- 1 root bin 1075 Mar 2 2009 lbdb_bbdb_query.el
-rwxr-xr-x 1 root bin 2095 Mar 2 2009 lbdb_lib
-rwxr-xr-x 1 root bin 2001 Mar 2 2009 m_bbdb
-rwxr-xr-x 1 root bin 1044 Mar 2 2009 m_fido
-rwxr-xr-x 1 root bin 1681 Mar 2 2009 m_finger
-rwxr-xr-x 1 root bin 1301 Mar 2 2009 m_getent
-rwxr-xr-x 1 root bin 1962 Mar 2 2009 m_gnomecard
-rwxr-xr-x 1 root bin 1214 Mar 2 2009 m_inmail
-rwxr-xr-x 1 root bin 1846 Mar 2 2009 m_muttalias
-rwxr-xr-x 1 root bin 1280 Mar 2 2009 m_palm
-rwxr-xr-x 1 root bin 1267 Mar 2 2009 m_passwd
-rwxr-xr-x 1 root bin 4225 Mar 2 2009 m_pine
-rwxr-xr-x 1 root bin 1224 Mar 2 2009 m_wanderlust
-rwxr-xr-x 1 root bin 1300 Mar 2 2009 m_yppasswd
-rwxr-xr-x 1 root bin 1093 Mar 2 2009 munge
-rwxr-xr-x 1 root bin 1195 Mar 2 2009 munge-keeporder
-rwxr-xr-x 1 root bin 2256 Mar 2 2009 palm_lsaddr
-rwxr-xr-x 1 root bin 17760 Mar 2 2009 qpto8bit
-rwxr-xr-x 1 root bin 1062 Mar 2 2009 tac
My lbdbrc file under .lbdb/ is this:
METHODS="m_inmail m_muttalias m_gpg"
MUTT_DIRECTORY="$HOME/.mutt"
MUTTALIAS_FILES="aliases"
MODULES_PATH="/usr/local/lib/lbdb"
SORT_OUTPUT=address
KEEP_DUPES=no
Permissions on that file are 600.
I have lbdb running fine on other OpenBSD boxes, but can't get it working on this machine.
I've compared good lbdb setting on other machines to what I have on this one, and see no difference.
What am I missing?
More information about the Openbsd-newbies
mailing list