Re: Using Mairix
On 2007.10.18 16:55:37 +0000, Eyolf strem wrote:
> On 17.10.2007 (20:50), Rem P Roberti wrote:
> > I just installed Mairix, and the program works fine, except that I don't
> > seem to be able to access the mfolder from within Mutt. When I do a
> > search Mairix creates the requiste "mfolder" containing cur, new, and
> > tmp, and the result of the search is placed in the "new" subdirectory.
> > But I am unable to access the results of the search in the Mutt index.
> > The mfolder shows up in the index, but it is empty. Anyone tell me what
> > I am doing wrong?
>
> I remember having the same kind of problem in the beginning, but I
> can't remember how I solved it. I *think* it was down to having a bad
> syntax in my search terms, so that the search didn't catch anything.
> Perhaps also because I hadn't set the search areas properly.
> Here's what I have in my .mairixrc:
>
> base=~/Mail
> maildir=*...
> omit=spam
> omit=trash
> omit=mairix
> database=~/.mutt/mairix-db
> mfolder=mairix
>
> And the macros in .muttrc:
>
> macro index,pager \em "<shell-escape>mairix " "Run a Mairix search"
> macro index,pager \ef "<change-folder-readonly>=mairix\n" "Search results"
>
> On that note: can someone tell me if there is a way to combine the two
> into one? I would like to go automatically to the mairix folder once
> the search is over, instead of having to go there manually. Is that
> possible?
>
> Eyolf
Thanks for the macros, but something is still wrong. Mairix
successfully carries out its search, but when I try to retrieve the
results I get this message:
You asked search results to go to the folder '/home/rem/Mail/mfolder'.
That folder appears to be one of the indexed mail folders!
For your own good, I refuse to output search results to an indexed mail
folder.
Press any key to continue...
The result does indeed go into one of the subdirectories of mfolder, but
nothing shows up in Mutt's index.
Rem