David B Funk wrote: > 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. >
But it also only gives you the first email address... -- Bowie