View Single Post
  #2 (permalink)  
Old 05-28-2009, 02:19 PM
cPanelDavidG's Avatar
cPanelDavidG cPanelDavidG is offline
cPanel Technical Sales
 
Join Date: Nov 2006
Location: Houston, TX
Posts: 8,117
cPanelDavidG is on a distinguished road
Quote:
Originally Posted by cteinternet View Post
Hi.

I'm looking for the command to set up the quota to an email address. I'm writing a script to convert a qmail/vpopmail system to cPanel. I have just found the /scripts/addpop command to create an email account but it doesn't support any quota option.

If anybody is SURE that I just need to set up the quota in ~user/etc/domain.dom.br/quota file AND ~user/mail/domain.dom.br/any-email-account/maildirsize, PLEASE, confirm. This way I'll be able to adjust my script to set up these files easily.

Thank You very much.
Instead of trying to set up quotas that way, I recommend placing the accounts and quotas in a CSV file and then using the cPanel interface's "Import Addresses/Forwarders" feature to import that information into cPanel.
__________________
Need technical assistance? You can find your best avenue for support at: http://support.cPanel.net
-- cPanel David G., Lead Forum Administrator & cPanel Technical Sales Representative
Reply With Quote