Re: [Exim] how to duplicate sending messages

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Antal Kovacs
Fecha:  
A: Thomas Baumann, exim-users@exim.org
Asunto: Re: [Exim] how to duplicate sending messages
On sze, 2003-07-23 at 17:53, Thomas Baumann wrote:
> hello list,
>
> my problem: I want to duplicate
> all messages sent from the sender tom@??? to
> any recipient automagically send to tom@???
> How can this easily be done ?
> (i.e. how can I add an second recipient when sending
> with $sender_address=tom@???)


Hi,

At Exim 4.X you can make it easy with system_filter.

Insert in /etc/exim4/conf.d/main/02_exim4-config_options:

system_filter = /your/path/my_filter
system_filter_user = mail


And in the /my/path/my_filter insert the next lines:

if first_delivery and
        $sender_address matches "\\Ntom@mydom\\.org\\N"
    then
        unseen deliver tom@???
endif


Bye
--
Antal Kovacs <anti@???>
Areco Systems Ltd.