Re: lbdb and m_muttalias usage issue
* Mun Johl on Monday, July 23, 2007 at 15:00:04 -0700
> I've installed and configured lbdb-0.35.1 on my SPARC/Solaris 8 system
> and am not having any luck querying my mutt alias files.
>
> When I execute lbdbq, it always returns "no matches".
Had the same problem on MacOS X.
> I validated (via 'set -x') that m_muttalias is being called, and that my
> MUTTALIAS_FILES are being grep'd. But apparently nothing is
> returned--even though there should be matches. My alias entries
> are of the following format:
>
> alias aliasname "First Last" <user@xxxxxxxxxx>
>
> Anyone have any debug hints as to why lbdbq may not be working? If not,
> I guess I'll delve into m_muttalias's regexs.
I found out that sed shipped with MacOS can't cope with
m_muttalias. Perhaps it's similar for Solaris. Installing GNU sed
solved the problem. -- I didn't have the nerve to try and adapt
m_muttalias to the sed on my machine. Some day when I have time
...
c
--
Python Mutt utilities <http://www.blacktrash.org/hg/muttils/>