On Wed, 28 Apr 2010, Frank Heydlauf wrote: > Hi, > > On Wed, Apr 28, 2010 at 08:05:27PM +0100, Martin Gregorie wrote: [snip..] > >> Or could I just use a rule like: > >> > >> header From =~ /\...@.*\@/ > > This regex matches i.e. > > From: u...@example.com <u...@example.com> > > which is a common "auto expansion" of many MUAs when > no sender real-name is configured. > Just try on your on mailfolder.
There's an easy fix for that FP, just use the 'From:addr =~ ' varient of the header rule. That ignores the "comment" part of the 'From:' address and only examines the stuff inside the '<b...@blah.blah>' part. -- Dave Funk University of Iowa <dbfunk (at) engineering.uiowa.edu> College of Engineering 319/335-5751 FAX: 319/384-0549 1256 Seamans Center Sys_admin/Postmaster/cell_admin Iowa City, IA 52242-1527 #include <std_disclaimer.h> Better is not better, 'standard' is better. B{