Re: [Exim] Checking Quotas at SMTP time

Página Inicial
Delete this message
Reply to this message
Autor: Nico Erfurth
Data:  
Para: Heinz Ekker
CC: exim-users@exim.org
Assunto: Re: [Exim] Checking Quotas at SMTP time
On Thu, 28 Nov 2002, Heinz Ekker wrote:

> Hi!
>
> I'm trying to enable checking quotas when doing the verification for the
> SMTP RCPT command. I found the FAQ entry and acted according to it, but:
>
> It does work, either with ACLs with 'condition = ${run {...' or
> with a queryprogram-Router set to 'verify_rcpt=true', but I am only able
> to fail the message completely, not just temporarily reject it with a
> useful message. 'Temporary local problem' seems a bit misleading here.
>
> Is there any possibility to return a temporary error with a custom error
> message?


use a redirect-router and return :defer: if the quota is reached, ohh and
enable receiver verification :)

quota_check
driver = redirect
condition = ... the same as in the acl ...
allow_defer
data = :defer:
verify = recipient