[Exim] errors_to and batch deliveries

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Patrice Fournier
Date:  
À: exim-users
Sujet: [Exim] errors_to and batch deliveries
Hi all,

I've got a router that set errors_to = postmaster as it's calling the
virus scanner, I'm the one who should know if there is a problem and it
should accept any address thus not needing to send anything to the sender.

Now, I want to scan every mail only once as scanning the same mail 100
times is quite superflous (and anyway, the current Linux ulimit setup does
not allow this and I've got many exec failures when doing so... but
that's another story)

The batch mode documentation as this to say:

Batched addresses must also have the same errors address (where to send
delivery errors), the same header additions and removals, the same user
and group for the transport, and if a host list is present, the first host
must be the same.

As I set errors_to to postmaster for every mail that goes to amavis, I
expect it to work in batch mode but it doesn't. As soon as I set my
errors_to = postmaster, Exim stops batching the calls to the pipe... :(
That's Exim 4.02 btw. I consider this to be a bug (at least in
documentation but hopefully, it will be fixed so the code follows the
current documentation).


--
Patrice Fournier
pfournier@???