Re: [Exim] copy all outgoing messages

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Philip Hazel
Ημερομηνία:  
Προς: Raphaël Berghmans
Υ/ο: exim-users
Αντικείμενο: Re: [Exim] copy all outgoing messages
On 23 Jan 2003, Raphaël Berghmans wrote:

> Error in system filter: unexpected "(" in line 4 of filter file


Oh, sorry. I forgot that you need to quote filter items if they contain
parentheses. Try this:

   if first_delivery and
      $recipients matches "\\N@(?!your\\.local\\.domain(\\s|$))\\N"
   then
     unseen deliver copybox@???
   endif


I was trying to avoid having to double all the backslashes.


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