Re: Re[2]: [Exim] Urgent! How to redirect all mail for one …

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Ray Vermey
CC: yann.golanski, exim-users
Subject: Re: Re[2]: [Exim] Urgent! How to redirect all mail for one domain to 2 users outside domain ?
On Thu, 23 Sep 1999, Ray Vermey wrote:

> Hi yann,
>
> Tuesday, September 21, 1999, 3:10:31 PM, you wrote:
>
> > Main filter file:
>
> > if $header_to: contains "mydomain.com"
> > then deliver doe@??? jdoe2@???
>
> Great! But...... the syntax seems to be incorrect, i get errormessages
> in the eximlogfile One user works oke but "user1 user2" behind deliver
> is not correct, deliver user1,user2 doesn't work too...
> Any idea how to fix this ?


The correct syntax is

  if
    $header_to: contains "mydomain.com"
  then 
    deliver doe@??? 
    deliver jdoe2@???
  endif   


see TFM - which in this case is the separate description of filter file
formats in doc/filter.txt.

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.