Updates (self-answered):

 ---------------------
Re: Q1. To search my Claws Mail Sent folder (i.e. my /home/victoria/Mail/sent/ 
directory):

Unsuccessful trials:

victoria@victoria:~$ mairix p:/sent/ s:"cancer,stem"
Can't match patterns longer than 31 characters or empty

victoria@victoria:~$ mairix p:home p:victoria p:Mail p:Sent s:"cancer,stem"
Matched 0 messages

Success!

victoria@victoria:~$ mairix p:"home/victoria/Mail/Sent" s:"cancer,stem"
Matched 312 messages

 ---------------------
Re: Q2. "AND" searches:

Unsuccessful trial:

victoria@victoria:~$ mairix s:cancer+stem
Matched 0 messages

Success!

victoria@victoria:~$ mairix s:cancer,stem
Matched 312 messages

victoria@victoria:~$ mairix s:"cancer,stem"
Matched 312 messages

Tip: Add time before the command, i.e. 

time mairix s:cancer,stem

to see the execution time.

Include threaded messages, in above search:

 ---------------------
Re Q3. Remove duplicate messages

Tip: In a Claws Mail directoruy (e.g. my a_mairix output directory), type

Ctrl-Alt-U

to refresh the a_mairix output folder view

In Claws Mail, the two commands

Tools menu  > Delete duplicated messages > In selected folder
Tools menu  > Delete duplicated messages > In all folders

appear on top of one another, as shown.  As I NEVER want to delete duplicates 
(carefully saved, filed into separate folders, depending on the topic), I added 
a shortcut, to minimize my risk of accidentally clicking the second (all 
folders') option!  [However, if that happens, I do backup my home directory - 
including ~/Mail, 4x daily using rsnapshot/rsync.]

Quit Claws Mail. Edit /home/victoria/.claws-mail/menurc (using geany, or Gedit).

Uncomment (removed the leading semicolon ; ) and added the Ctrl-Shift-D command 
to the "Tools > Delete duplicated messages > In selected folder" menu selection:

i.e. change

; (gtk_accel_path "<Actions>/Menu/Tools/DeleteDuplicates/SelFolder" "")

to

(gtk_accel_path "<Actions>/Menu/Tools/DeleteDuplicates/SelFolder" 
"<Primary><Shift>d")

[Though not necessary, I also also removed <Primary><Shift>d from

; (gtk_accel_path "<Actions>/Menu/Book/NewVCard" "<Primary><Shift>d")

that now / remains commented out (;) as

; (gtk_accel_path "<Actions>/Menu/Book/NewVCard" "") ]

 ===============================================================

----- Original Message(s): -----
Date: 2014 Apr 28 (Mon) 20:42
From: "Victoria S." <[email protected]>
To: "Mairix-users (maillist)" <[email protected]>
Subject: "And" searches?  Remove duplicates in results list? Specify source 
folder? Extended search expressions?

Hello!  I am a new mairix user!  :-)

I am using Claws Mail 3.9.3 on Ubuntu 14.04 LTS; mairix 0.22

I read the guide (http://wfw.de/~ingo/mairix.html) plus various other web posts.

A few quick questions (apologies in advance if these are FAQ, or if I 
overlooked something in the guide, and for asking several separate questions in 
a single post/thread):

1. Can I specify specify the query folder; i.e. if I want to search only my 
"Sent" mail folder?

2. Re: (from Section 3.5 of the guide,):

  * A disjunction, e.g. `s:pointer/dereference'. This matches all messages with 
one or both of the words `pointer' and `dereference' in their subject lines.

  * Each disjunction may be a conjunction, e.g. `s:null,pointer/dereference=2' 
matches all messages whose subject lines either contain both the words `null' 
and `pointer', or contain the word `dereference' with up to 2 errors (or both). 

... can I do "AND" searches, e.g. (conceptionally stated): s:cancer AND s:stem ?

3. I have lots of copies of messages, saved in various folders.  So when I run 
mairix searches, I typically get multiple (identical) results in my output 
folder ("a_mairix).  Is there any way to parse/remove the duplicates?

4. Can I implement extended (e.g. "regex-type") searches: 'find this here and 
that there but not this there,' etc.?

Thanks - much appreciated!  This program looks very useful: fast and powerful!  
:D

 ===============================================================

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.  Get 
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Mairix-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mairix-users

Reply via email to