Re: [Exim] Per virtual user quotas?

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Odhiambo Washington
Dátum:  
Címzett: exim-users
CC: fernando
Tárgy: Re: [Exim] Per virtual user quotas?
* Elwood Blues <fernando@???> [20011024 19:33]: writing on the subject 'Re: [Exim] Per virtual user quotas?'
| > virtual_localdelivery:
| >   driver = appendfile
| >   file = /mail/spool/${domain}/${local_part}
| <SNIP>
| >   quota = 10M
| 
| 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}}


If that works lemme know so that I can also selectively apply quotas.
If it doesn't I'm sure someone in this list will give a 'brighter' answer ;-)



-Wash

S y s t e m s   A d m i n i s t r a t o r
--
                                              ~\\_                 
 Odhiambo Washington                            \\\\               
 Wananchi Online Ltd.,                          `\\\\\             
 1st Flr Loita Hse, Loita Street                 |\\\\\            
 PO Box 10286,00100-NAIROBI,KE.                   \\\\\|__.--~~\   
 Fax: 254 2 313985-9                           _--~            /   
 Fax: 254 2 313922                           /~ //////  _-~~~~'    
 E-mail: wash@???                  ('-//////-//           
 URL    : http://www.wananchi.com            //////(((-)           
 GSM: 254 72 743 223 / 254 733 744 121     /////"                  
                                        _///"                      


+++
Conservative, n.:
    One who admires radicals centuries after they're dead.
        -- Leo C. Rosten