Re: [Exim] quotas on non-appendfile transports

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Philip Hazel
Date:  
À: Christian G. Warden
CC: exim-users
Sujet: Re: [Exim] quotas on non-appendfile transports
On Thu, 24 Jul 2003, Christian G. Warden wrote:

> I'd like to enforce quotas within Exim for a pipe transport.


What exactly do you mean? Do you mean "don't deliver messages over a
certain size to this transport"? If so, you can do that by looking at
the $message_size variable in the router that routes to the transport.

First router: check other conditions, check size, if OK, route to transport

Next router: check other conditions, (size must be bad), generate bounce
             with :fail: or defer (check $message_age?), or route to an
             autoreply transport to send a message


Just ideas...


--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book