著者: Christian Froemmel 日付: To: Joachim Wieland, exim-users 題目: Re: [Exim] Scanning mail with exim4
At 00:00 16.02.02, Joachim Wieland wrote:
Hello,
> -> write the mails to the hard disk and reinject them after the scan
Well, the virusscanner has to write files anyway. But that solution comes
close to the exiscan-principle.
> -> I think queue_only_load would not solve the problem since
> local_scan() would be called for queueing as well.
Thats correct. I took a look at the source and local_scan() is called
directly in receive_msg(), and queue_only_load is checked afterwards in the
main receive-loop. I think thats a tricky thing to solve, since a
load-check at smtp-time could only insert a delay in the communication with
the client. And adding a flag to the mail (to check it later) and write it
to the queue would break the "reject at smtp-time"-principle.
>If you are an ISP you can't take any of the first two solutions. You can't
>slow down your customers and you cannot just refuse connections on your
>SMTP port.
Correct. But then you cannot reject messages at smtp-time, IMO.
regards,
Christian
--
Mailadministrator of the Clinic of Medicine "Benjamin Franklin" Berlin.