FAQ about patches | More patches | Main Page | MD5 sum for this patch

Select messages by the content of an arbitrary header
Patch is available for version: alpine 0.82 alpine 0.83 alpine 0.98 alpine 0.99 alpine 0.999 alpine 0.9999 alpine snapshots alpine 0.99999 alpine 0.999999 alpine 1.99 alpine 1.999
 
This patch adds an option so that you can select messages that contain specific text in an arbitrary header.
 
In order to use this patch, you should select messages in the normal way you do. Press ; T to select messages by Text, then press H to indicate the name of the header. Once you have indicated the name of the header, enter the text in that header to match.
 
If you wish to select messages whose content in the specified header do not match the text that you are thinking of looking for, simply press ; ! H. This will tell Alpine to look for messages whose header that you will indicate later do not match the text specified by you. Unfortunately this also matches messages that do not contain the specified header.
 
Examples
  • To search for messages that contain the text Yes in the header X-Spam-Status press ; T H then you will see a prompt that says:
     
    Name of HEADER to match:
     
    enter X-Spam-Status, now you will see a prompt that says
     
    String in message X-Spam-Status to match :
     
    enter Yes.
  • To search for messages that DO NOT contain the text text/plain in the header Content-Type press ; T ! H then you will see a prompt that says:
     
    Name of HEADER to match:
     
    enter Content-Type, now you will see a prompt that says
     
    String in message Content-Type to NOT match :
     
    enter text/plain.

Last Updated 06:48:42 PDT Thu Aug 21 2008.