Re: [Exim] copy all outgoing messages

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

> More specificaly, I want that Exim make a copy to a local mailbox for
> every mail sent by a local user of the localdomain to an external domain


System filter:

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


Untested. Regular expressions are your friend.

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