[exim] Little problem by forwarding to another user

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Luca Bertoncello
Date:  
À: Exim-Users ML
Sujet: [exim] Little problem by forwarding to another user
Hi, all!

If I have an user on a local domain, who has in the forwarddata a "delivery
<anotheruser@anotherlocaldomain>", Exim saves a copy of the same E-Mail in the
Mailbox of anotheruser@anotherlocaldomain.

The problem is that, if user@localdomain has other Spam-/Virus config as
anotheruser@anotherlocaldomain, the copy of the E-Mail on the Mailbox of
anotheruser@anotherlocaldomain has the same Spam-/Virus properties of
user@localdomain...

I'd like to force Exim to requeue the E-Mail sent with "delivery", in order to
re-scan (with other config) the delivered E-Mail.

Is it possible? How can I do it?

Now I have this router:

virtual_forward:
driver = redirect
check_local_user = false
allow_filter
user = exim
group = exim
domains = +local_domains
data = ${lookup pgsql {SELECT replace(eximdata('$local_part', '$domain'), '\\\\n', '\n\\\\n')}}
condition = ${if eq {data} {''} {no}{yes}}
skip_syntax_errors
reply_transport = autoresponder
pipe_transport = forwarder
file_transport = address_file
directory_transport = address_file

and this transports:

forwarder:
driver = pipe
user = exim
group = exim

address_file:
driver = appendfile
delivery_date_add
envelope_to_add
return_path_add
user = exim
group = exim
mode = 640
check_string = ""
maildir_format = true
directory_mode = 770
message_suffix = ""
message_prefix = ""

autoresponder:
driver = autoreply
user = exim
group = exim

Thanks a lot in advance!
--
_______________________________
Luca Bertoncello
-Programmierung / Mailserver-

IMS Internet-Media-Service GmbH
Bärensteiner Straße 7
01277 Dresden

Fon: +49 351 2112034
Fax: +49 351 2112020
email: bertoncello@???