Re: [exim] .forward (filtering) everyting matches first filt…

Pàgina inicial
Delete this message
Reply to this message
Autor: David Woodhouse
Data:  
A: Andreas Metzler
CC: exim-users
Assumpte: Re: [exim] .forward (filtering) everyting matches first filter
On Sat, 2004-09-11 at 15:03 +0200, Andreas Metzler wrote:
> At first glance you are obviously missing some "finish". A mail with
> "Subject: Cron Daemon is ok." will match all three rules and will be
> delivered in an all three listed mailboxes. You also seem not to be
> aware of the fact that "matches" is a regex-match, i.e. "vanilla"
> matches "[exim]". (The "i" in vanilla matches the "i" in the set gven
> in square brackets).


Also, you'll match mail which was sent to you directly, not just the
mailing lists. If you want to catch just the mailing list traffic you
should use something like:

if "$sender_address" matches "exim-users-.*@???" then
        save Maildir/.lists.exim/
        finish
endif


--
dwmw2