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 18:39]: writing on the subject '[Exim] Per virtual user quotas?'
| Hello all,
| 
| I am doing virtual domains with exim with the following:
| virtual_localuser:
|    driver = aliasfile
|    transport = virtual_localdelivery
|    domains = lsearch;/mail/conf/domains
|    file = /mail/conf/$domain/passwd
|    search_type = lsearch
| 
| virtual_localdelivery:
|   driver = appendfile
|   file = /mail/spool/${domain}/${local_part}
| 
| The virtual domain password file looks something like:
| username:Nt3AixExJlFZE:
| 
| Since all my mail accounts do not have actual system accounts,
| I cant use operating system quotas. Is there an expansion expression
| that I can use so I could have password file entries like:
| username:Nt3AixExJlFZE:10M
| that state  that user username has a quota of 10megs?
| 
| Thanks in advance,


Exim can impose it's own quotas independent of the OS qoutas.
Try this transport and also see spec.txt - I have not tested
this but I guess it can work.


virtual_localdelivery:
  driver = appendfile
  file = /mail/spool/${domain}/${local_part}
  quota_warn_threshold = 75%
  quota_is_inclusive = false
  quota_warn_message = "\
                To: $local_part@$domain\n\
                Subject: Your mailbox\n\n\
                This message is automatically created \
                by mail delivery software.\n\n\
                The size of your mailbox has exceeded \
                a warning threshold that is\n\
                set by the system administrator.\n"
  quota = 10M
  delivery_date_add
  envelope_to_add
  return_path_add
  group = mail
# mode = 0660
  mode = 0600




HTH

-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     /////"                  
                                        _///"                      


+++
"Even nowadays a man can't step up and kill a woman without feeling
just a bit unchivalrous ..."
        -- Robert Benchley