Re: [Exim] Retry Section and Quotas

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Warren Baker
Data:  
Para: robert rotman
CC: exim-users
Assunto: Re: [Exim] Retry Section and Quotas
No I meant in the retry section so that if a users mailbox does reach
his/her size limit then it would bounce the message.

For example its like this at the moment:
# Domain               Error       Retries
# ------               -----       -------
*@domain.com               quota
*                      *           F,2h,15m; G,16h,1h,1.5; F,4d,8h


could I use something like this (if its a MySQL lookup):
# Domain               Error       Retries
# ------               -----       -------
*@{${lookup mysql {MYSQL_DOMAIN}{$value}}    quota
*        *              F,2h,15m; G,16h,1h,1.5; F,4d,8h


Where is MYSQL_DOMAIN is an sql statement selecting a distinct domain.
The reason being is because I have a large number of domains that I would
need to add.

Thanks,
Warren




On Mon, 21 May 2001, robert rotman wrote:

>
> Yes you can,
> put on a transport somthing like
> quota = ${lookup some_lookup_here...
>
>
> robert
>
>
> On Mon, 21 May 2001, Warren Baker wrote:
>
> > Hi there,
> >
> >
> > Instead of adding *@domain.com    quota, is it possible to have a lookup
> > there to replace domain.com, for example:

> >
> > *@some_query_lookup    quota

> >
> >
> > Where some_query_lookup is either an SQL statement, lsearch or a dbm
> > query. What the lookup will return is a domain name which matches the
> > current message been processed.
> >
> >
> > Thanks,
> > Warren
> >
> >
> >
> >
> > --
> > ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##
> >
>
> ---
> di. robert rotman                                   inode.graz
> phone -> ++43-(0)316 813141       ++43-(0)316 818600/15 <- fax
> rotman@???                      http://www.graz.inode.at/
> --
> while (!sleep) { $sheep++ }

>
>
>
> --
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##
>