<<< Date Index >>>     <<< Thread Index >>>

Re: Auto-complete address when sending email



This is what I got so far, it sort of works, no need of lbdb, just awk
and grep.

    grep luca ~/.mutt/cache/bodies/imap\:lmatteis\@smtpyserver.org/INBOX/* | 
awk -F \< '{print $2}' | awk -F \> '{print $1}'

Any help in cleaning it up a little?

On Wed, Jan 19, 2011 at 03:42:48PM +0100, Luca Matteis wrote:
> Maybe I can just use a combination of grep and awk to filter my imap
> cache/INBOX folder and use Mutts *query_command* tool, instead of all
> this lbdb confusion.
> 
> What does query_command need to return so that auto-complete works?
> 
> 
> On Wed, Jan 19, 2011 at 03:34:38PM +0100, Luca Matteis wrote:
> > On Wed, Jan 19, 2011 at 09:15:17AM -0500, Patrick Shanahan wrote:
> > > I use lbdb which iirc was included with the mutt package or at least
> > > recommended at one time way back; I plead oldtimers  :^)
> > 
> > Can I use this with IMAP? I don't have procmail.