[exim] RE: Archiving of outgoing mail

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Meyer, John
Data:  
Para: exim-users
Assunto: [exim] RE: Archiving of outgoing mail
Thank you for your reply. I get an error system_filter_file_transport is unset. How do I correct this.

Regards
John

-----Original Message-----
From: Philip Hazel [mailto:ph10@cus.cam.ac.uk]
Sent: 17 May 2005 10:24
To: Meyer, John
Subject: Re: Archiving of outgoing mail


On Mon, 16 May 2005, Meyer, John wrote:

> Please accept my apologies for sending to your personal mail.


You would probably have got a quicker answer from the mailing list
(especially if I had happened to be away, which I will be next week).

> I need to archive all outgoing mail on Exim. (Only outgoing mail.) I
> have found so many different ways of doing I am now confused. If you
> can point me in the right Direction I will appreciate it.


Write a system filter that specifies the conditions that recognize
whatever you mean by "outgoing" (e.g. source IP address). Having matched
the conditions, use "unseen save" to retain a copy. For example:

# Exim filter
if first_delivery and
  ${mask:$sender_host_address/24}
  is 192.168.34.0/24                                                       
then
  noerror unseen save
    /var/mail/archive/${substr_0_10:$tod_log}
endif     


#####################################################################################
Note:
This message is for the named person's use only. It may contain confidential,
proprietary or legally privileged information. No confidentiality or privilege
is waived or lost by any wrong transmission. If you receive this message in error,
please immediately delete it and all copies of it from your system, destroy any
hard copies of it and notify the sender. You must not, directly or indirectly,
use, disclose, distribute, print, or copy any part of this message if you are not
the intended recipient. Namzinc (Pty) Ltd and/or Skorpion Mine (Pty) Ltd and any of its subsidiaries each reserve
the right to monitor all e-mail communications through its networks.

Any views expressed in this message are those of the individual sender, except where
the message states otherwise and the sender is authorized to state them to be the
views of any such entity.

Thank You.
#####################################################################################