[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Exim filter question



All,
 
I use a exim filter to divide all my email is into alphabetic order.
 
In other words sorting every email into the folders A, B, C...X, Y, Z. based upon the first letter of the "From:"  "variable"...
For instance "From: Mark <mark@menem.mine.nu>" would be sorted in to the "M" folder.
 
Now for the fun:
 
Outlook and other email sending programs, send: "From: "Mark" <mark@menem.mine;nu>".
 
See the difference? Mark and "Mark", so when the sorting hits my filters, my filters see a ", and does not get filtered...
 
My filter is:
 
if $h_From: begins "a"
    then save Maildir/.Alphabetic.A/new/
   
elif $h_From: begins "b"
    then save Maildir/.Alphabetic.B/new/
 
endif
 
What do I need to correct this?
 
Mark

Reply to: