[exim] Many recipient and many properties..

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Luca Bertoncello
Data:  
Para: Exim-Users ML
Asunto: [exim] Many recipient and many properties..
Hi, all!

I try to configure Exim 4.51 with Database-support (Postgres) for our
mailservers.

I configured Exim to use ClamAV (and, then, I'd like to configure it to use
SpamAssassin too) to scan the E-Mails if the recipient sayd that he wants
that.
No problem: all runs perfectly, IF I HAVE JUST A RECIPIENT!

Now I tryed to send an E-Mail to 2 recipients at the time, one with ClamAV-Scan on, and
the other without.

Unfortunately, Exim uses the Scan-Property of the one with Scan and set the
Headers (X-AV-Scan and X-Infected) for the other too...

This is the configuration of my Exim:

acl_check_rcpt:
(omissis)

  warn domains        = +local_domains
       condition = ${if and {\
                        {eq {${lookup pgsql {SELECT eximhasavscan('$local_part', '$domain')}}} {t}} \
                        {== {${lookup pgsql {SELECT eximavscantype('$local_part', '$domain')}}} {3}} \
                    }{yes}{no}}
       set              acl_m1 = true


acl_check_data:
(omissis)

  warn message    = X-AV-scan: yes
       condition  = ${acl_m1}


  warn malware    = ${acl_m1}
       message    = X-Infected: $malware_name


Now the question: how can I say Exim to process the E-Mail for the 2 recipient separately?

Thanks 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@???