[toaster] Quota problem
I know this is not toaster related but i think there are people here that may be of help. I have a huge problem. I'm responsible for mail service of 35-40 clients each of them with a virtual domain. I searched the qmailadmin mailing list in hopes of an answer but i couldn't find any. The problem is, i cannot offer access to the qmailadmin interface to my clients because, by default, qmailadmin does not offer quota limits management per domain. What i need to do is set a quota for the entire domain and after that the client can manage his mail accounts how he pleases. So, if a client has access to qmailadmin he can create a mailbox of say 5gb although the hosting contract was signed for 2Gb. At the moment i use a system quota method but i realized that this is not the correct way to do it although vpopmail allows it, other programs like maildrop and spamassassin have problems with the permissions mangling necessary to do system quota. On the qmailadmin list i've read some threads about different patches regarding the same problem i have but all the referrences pointed to unavailable locations and outdated resources. I also found out about the Antonio Nati's approach, the domain pool, but his links were also outdated.
Re: [toaster] Quota problem
At 14.18 26/03/2007, you wrote: I know this is not toaster related but i think there are people here that may be of help. I have a huge problem. I'm responsible for mail service of 35-40 clients each of them with a virtual domain. I searched the qmailadmin mailing list in hopes of an answer but i couldn't find any. The problem is, i cannot offer access to the qmailadmin interface to my clients because, by default, qmailadmin does not offer quota limits management per domain. What i need to do is set a quota for the entire domain and after that the client can manage his mail accounts how he pleases. So, if a client has access to qmailadmin he can create a mailbox of say 5gb although the hosting contract was signed for 2Gb. At the moment i use a system quota method but i realized that this is not the correct way to do it although vpopmail allows it, other programs like maildrop and spamassassin have problems with the permissions mangling necessary to do system quota. On the qmailadmin list i've read some threads about different patches regarding the same problem i have but all the referrences pointed to unavailable locations and outdated resources. I also found out about the Antonio Nati's approach, the domain pool, but his links were also outdated. I have a more recent version of the pooled quota patch, actually working on my systems. Pooled quota works this way, basically. If enabled for the domain, you give a quota to postmaster, and each mailbox quota is subtracted from postmaster quota when you create a new email. All changes of quota are added/subtracted to postmaster's quota. If you want I may send it to you, and if someone find it interesting, I cand send again to qmailadmin team (the last time pooled quota was rejected because they preferred to include the fallimentary domain quota patch). Ciao, Tonino
Re: [toaster] Quota problem
At 14.18 26/03/2007, you wrote: I know this is not toaster related but i think there are people here that may be of help. I have a huge problem. I'm responsible for mail service of 35-40 clients each of them with a virtual domain. I searched the qmailadmin mailing list in hopes of an answer but i couldn't find any. The problem is, i cannot offer access to the qmailadmin interface to my clients because, by default, qmailadmin does not offer quota limits management per domain. What i need to do is set a quota for the entire domain and after that the client can manage his mail accounts how he pleases. So, if a client has access to qmailadmin he can create a mailbox of say 5gb although the hosting contract was signed for 2Gb. At the moment i use a system quota method but i realized that this is not the correct way to do it although vpopmail allows it, other programs like maildrop and spamassassin have problems with the permissions mangling necessary to do system quota. On the qmailadmin list i've read some threads about different patches regarding the same problem i have but all the referrences pointed to unavailable locations and outdated resources. I also found out about the Antonio Nati's approach, the domain pool, but his links were also outdated. I have a more recent version of the pooled quota patch, actually working on my systems. Pooled quota works this way, basically. If enabled for the domain, you give a quota to postmaster, and each mailbox quota is subtracted from postmaster quota when you create a new email. All changes of quota are added/subtracted to postmaster's quota. If you want I may send it to you, and if someone find it interesting, I cand send again to qmailadmin team (the last time pooled quota was rejected because they preferred to include the fallimentary domain quota patch). Ciao, Tonino I saw your description on the qmailadmin list and i thought that was exactly what i was looking for and i was disapointed that the link you posted was not available. I will be gratefull if you can send me the patch to try it out and see if it matches my need although i think it will. Thanks for the help !
Re: [toaster] Quota problem
At 15.10 26/03/2007, you wrote: I saw your description on the qmailadmin list and i thought that was exactly what i was looking for and i was disapointed that the link you posted was not available. I will be gratefull if you can send me the patch to try it out and see if it matches my need although i think it will. qmailadmin version: 1.2.9 Complete tar can be downloaded from : http://www.interazioni.it/opensource/qmailadmin/download/archives/qmailadmin-pooled-public.tar.bz2 Compile instructions: Add these qualifier to .configure, using your preferred VPOPMAIL flags: ./configure CFLAGS=-DQUOTA_FLAG=V_USER0 -DUNPOOLED_QUOTA_FLAG=V_USER1 Within my_configure.sh you may find my example of configuration. Set the V_USER1 flag (or your preferred flag) on postmasters which are enabled to use pooled quota. Set the V_USER0 flag (or your preferred flag) on postmasters which are enabled to use quota without any limit. I feel it should be easy to make a diff againt a clean 1.2.9 and apply the difference on a newer qmailadmin version (I can be interested too). This version should also resolve the problem of 2GB limit, as I've updated all 32 bit variables, and currently I have customers with more than 2GB quota. Let me know! Ciao, Tonino Thanks for the help !
Re: [toaster] Quota problem
tonix (Antonio Nati) wrote: This version should also resolve the problem of 2GB limit, as I've updated all 32 bit variables, and currently I have customers with more than 2GB quota. Do you have patches for other Maildir++ programs? Like courier-imap, and maildrop? And also my patch for qmail-local (based on deliverquota)? Last I heard, the courier author was not planning to fix the 2GB limit in the maildirquota code, but that might not be true anymore. Thanks, Bill
Re: [toaster] Quota problem
At 18.00 26/03/2007, you wrote: tonix (Antonio Nati) wrote: This version should also resolve the problem of 2GB limit, as I've updated all 32 bit variables, and currently I have customers with more than 2GB quota. Do you have patches for other Maildir++ programs? Like courier-imap, and maildrop? And also my patch for qmail-local (based on deliverquota)? Last I heard, the courier author was not planning to fix the 2GB limit in the maildirquota code, but that might not be true anymore. Sorry, I only modified qmailadmin. Tonino Thanks, Bill