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

Re: a little [OFF-TOPIC] Exim .forward files



*- On 10 Jun, Peter Ludwig wrote about "a little [OFF-TOPIC] Exim .forward files"
> 
> Also, how can I shrink down the three or four email filters which all do
> the same thing (search the header for debian-user@lists.debian.org, and
> transfer the email to my debian-user mailbox), into the one filter?  Is
> this even possible?
> 

Us 'or'

if $header_Resent-From: contains debian-user@lists.debian.org or
     $header_Resent-To: contains debian-user@lists.debian.org or
     $header_To: contains debian-user@lists.debian.org then
   save $home/mail/debian-user
endif

I use the following and have never had a mail not get into the correct
box.

if $h_X-Mailing-List: contains debian-user then 
   save /home/servis/Mail/debian 
endif

-- 
Brian 
---------------------------------------------------------------------
Mechanical Engineering                              servis@purdue.edu
Purdue University                   http://www.ecn.purdue.edu/~servis
---------------------------------------------------------------------


Reply to: