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

Re: exim amd .forward



On Mon, Aug 13, 2001 at 01:02:38PM -0500, will trillich wrote:
> the main snafu here is all the extra "\\\\" involved in the
> bizarre quoting mechanismo...

I pretty well avoid that by using "contains" instead of "matches".
e.g.,

if $h_X-Mailing-List: contains "ebian-" then
  save $home/Mail/deb
endif

Not quite as precise as your

> if $h_X-Mailing-List matches "^<debian-(.*)@lists\\\\.debian\\\\.org>"

but it's a lot simpler and seems to work just as well.  I haven't
gotten a false hit off it yet.

-- 
With the arrest of Dimitry Sklyarov it has become apparent that it is not
safe for non US software engineers to visit the United States. - Alan Cox
"To prevent unauthorized reading..."         - Adobe eBook reader license



Reply to: