Re: [Exim] Quota Not on some users

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Philip Hazel
Fecha:  
A: Scott Stavretis
Cc: Exim Users
Asunto: Re: [Exim] Quota Not on some users
On Tue, 13 Nov 2001, Scott Stavretis wrote:

> At the momment I am running a quota set-up using the following method.
>
> local_delivery:
> driver = appendfile
> file = /var/spool/mail/$local_part
> delivery_date_add
> envelope_to_add
> return_path_add
> quota = 10M
> quota_warn_threshold = 75%
>
>
> Now I have a small list of users who NEED either no mail box quota size or a very large mail box size? What is the best and easiest way to do this? I couldnt find it in the doc's.


The quota option is expandable. Stick your users in a file:

biguser:     100M
noquotauser: 0
mediumuser:  20M
....


Then set

quota = ${lookup{$local_part}{/the/file}{$value}{10M}}


-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.