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

Re: double trouble with exim filter



You have neglected the "finish" after your rules. WHat is happening is
that it processes the first rule ... which is true. Then it processes the
second rule, which is ALSO true.

Put a 

finish

before the 

endif

On Mon, 30 Aug 1999, esoR ocsirF wrote:

> Greetings all,
> I have been playing around with exim and its filter capabilities and I
> ran into a problem I didn't find a solution for in the docs.
> 
> 
> # Exim filter
> if $h_Resent-From: contains "ebian-user" or
> 	    $h_Cc: contains "ebian-user" or
> 	    $h_To: contains "ebian-user"
> then save $home/Mail/debian-user
finish
> endif
> if $h_Resent-From: contains "debian" or
> 	    $h_Cc: contains "debian" or
> 	    $h_To: contains "debian"
> then save $home/Mail/debian
finish
> endif
> 
> if $h_Resent-From: contains "mutt" or
> 	    $h_Cc: contains "mutt" or
> 	    $h_To: contains "mutt"
> then save $home/Mail/mutt
finish
> endif
> 
> OK, so the idea is to send stuff from debian-user to its own mailbox and
> stuff from all other subscribed debian lists to debian. Problem is that
> I am getting debian-user in both places, which totally defeats the
> purpose of limiting the email traffic in my debian mailbox. Any help
> would be greatly appresiated, TIA
> -- 
> 
> Frisco Rose	rosef@eou.edu	
> 
> Science Journal Ed. 		scijou@scijou.eou.edu
> Hoke Center 307			Ph# 2-3787
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
> 
> 
> 

George Bonser

"When someone annoys you, it takes 32 muscles to frown, but it only
takes 4 muscles to extend your arm and smack them in the head."



Reply to: