[exim] Problem with Exim and Kaspersky Antivirus

Top Page
Delete this message
Reply to this message
Author: Israel Cardenas
Date:  
To: exim-users
Subject: [exim] Problem with Exim and Kaspersky Antivirus
Hi!

I'm using a configuration with two Exim process. This configuration is
recomended in Kaspersky documentation:

- First Exim process runs as a daemon, and it works with Kaspersky
antivirus. It only has a 'router', and all mails received have sended to
Kaspersky SMTPScanner. It scans mails for malware, and then it sends safe
mails two the second Exim process, through LMTP 'transport'.

- Second Exim process doesn't run as a daemon. It is executed locally from
Kaspersky SMTPScanner. This Exim has some 'routers' and 'transports', and it
receives mails through LMTP.

When the second Exim process fails to deliver a mail (the Maildir filesystem
is NFS, and sometimes it has problems like "Stale NFS file handle"), this
second Exim process waits any time until sends the mail to the queue. If
this time is longer than Kaspersky timeout, the first Exim process sends the
mail to the queue too. When it appens, the final user receives the mail
twice.

Can I force to second Exim process to return OK before it writes the mail to
the Maildir? I want only the second Exim process sends mails to the queue if
it has any problem.

Or maybe, can I disable the queue in the first Exim process? How can I do
it?

Thanks!