Re: [Exim] Per virtual user quotas?

Etusivu
Poista viesti
Vastaa
Lähettäjä: Elwood Blues
Päiväys:  
Vastaanottaja: Odhiambo Washington
Kopio: exim-users
Aihe: Re: [Exim] Per virtual user quotas?
> | Thats what I was originally thinking, but we dont want every users
> | quota to be the same. We want something like:
> | prez:Nt3AixExJlFZE:50M
> | techgurut3AixExJlFZE:25M
> | salesdroid:Nt3AixExJlFZE:5M
> |
> |     -F

>
> Okay, I am not an expert on these things and so this is a wild guess (i haven't
> even checked the spec.txt or other source) and untested.
>
> quota = ${lookup{$3}lsearch{/path/to/your_file}{$value}}


Quite close. I hit apon this yesterday:
  quota = ${extract{2}{:}{${lookup{${local_part}}\
          lsearch{/mail/conf/${domain}/passwd}{$value}{3M}}}}


The only thing that doesnt seem to work is setting a default if no
value is listed (the {$value}{3M} part). If no quota is listed in
the file, the user doesnt get limited at all. Am running Exim version 3.31

Thanks for your help,

    -F