Re: [Exim] Questions using transport filter

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Patrice Fournier
Date:  
À: Alexander Sabourenkov
CC: exim-users
Sujet: Re: [Exim] Questions using transport filter
Quoting Alexander Sabourenkov <lxnt@???>:

> Yes. You're right here, especially taking into account troubles with
> preserving message envelope i've encountered just today. But for
> antivirus filtering on a busy host, router+transport model is not an
> option either, because even if average message contains 2-3
> recipients, the load increases two-threefold and the hardware just
> can't handle that. (because most load comes from virscanning same
> messages over and over again)


That's because you didn't batched your pipes. The message will pass the
router for each recipient, but you can run a pipe for each batch of X
recipients where X defaults to 1. If X is set to 100 (of course, if this
many recipients can be handle by your command at the same time), all
messages should be scanned only once if 100 is your maximum number of
recipients accepted by Exim.

--
Patrice Fournier
pfournier@???