Feb 05

How to changes all account mail quota on ZImbra

 For single account

 – You need to login as zimbra user

 #su zimbra

– then find out how musch  is your account quota

$ zmprov ga test@test.com | grep zimbraMailQuota
zimbraMailQuota: 104857600

 

104857600 is bytes it is comes from 1 MB = 1024 1 kb = 1024 byte So
100 MB = 1024 * 1024 * 100 = 104857600 Bytes

to changes the quota from 100 mb to 1 gb

$ zmprov ma test@test.com zimbraMailQuota 1048576000

now checked it

$ zmprov ga test@test.com | grep zimbraMailQuota
zimbraMailQuota: 1048576000

For all user account

We can also changes all of the mail account quota or even length of password on Class of service (CoS), and this time it is easier to use zimbra admin gui, go to your zimbra admin gui at http://yourzimbraaddress.com:7071 and login with your username and password

go to Class of service option on the left side

 you will see kind of cos there , by default there are only default cos

You can create or copy another cos then assigned the user to use your new cos. , go to Accounts -> clicked the account / edit -> look om the General Information -> Account Setup -> Class of service:

Back to COS setting, after we clicked default. It should show this

go to advanced to set the mail account quota, there are other option that you can set also such as

– Attachment Settings

– Password

– Failed Login Policy

– Timeout Policy

– Email Retention Policy

 

Now all of your account under COS : default quota has been changes

Dec 03

 How to add list of email to Zimbra using Zmprov

What is Zimbra ?

Zimbra is open source server and client software for messaging and collaboration – email, group calendaring, contacts, and web document management and authoring

What is Zmprov ?

Zmprov is a Zimbra tool performs all provisioning tasks in Zimbra LDAP, including creating accounts, aliases, domains, distribution lists, and calendar resources. Each operation is invoked through command-line options, each of which has a long name and a short name.

To use zmprov you must login as zimbra user first from the shell first

# su zimbra

you can create one account with a password that is assigned to the default COS.

$ zmprov ca name@domain.com password

  • Ca= Create Account

You can also add a bunch of email account using this steps :

1. The Zmprov command will accept commands from a file (or stdin) as input. Create a text file ("commands.zmp" for example) with the zmprov subcommands each on a line.

$ vim commands.zmp

and enter this format :

CreateDomain (Domain Name)
createAccount (Email Namel) (Password) displayName ‘(Owner name)’ givenName (Front Name) sn (Last Name)

Example :

  createDomain binus.ac.id
  createAccount andy@binus.ac.id test321 displayName 'Andy Anderson' givenName Andy sn Anderson
  createAccount adit@binus.ac.id test321 displayName 'Adit Pramono' givenName Adit sn Pramono
  createAccount betty@domain.com bety567 displayName 'Betty Brown' givenName Betty sn Brown

then save it as commands.zmp files

2.Then send the contents of the file to zmprov. By the way You can use zimbra or root user to execute it.

As Zimbra:

 $ zmprov < commands.zmp

As Root:

 # cat commands.zmp | su - zimbra -c zmprov
 

Now you can checked the account using this command :

$ zmprov gaa binus.ac.id
andy@binus.ac.id
adit@binus.ac.id
betty@binus.ac.id

You can also use zmprov da to delete an email account

$zmprov da user@domain.com

 

How to reset client mail account password

To reset the administrative password:

$su zimbra
$zmprov sp <admin email address> <new password>

To get a list of all administrators:

$su zimbra
$zmprov gaaa

How to changes Zimbra Logon picture

Just put your custom logo .mg files on /opt/zimbra/jetty-6.1.5/webapps/zimbra/skins/_base/logos/LoginBanner.png , don’t forget to changes the files owner to zimbra:zimbra

 if you want to edit logo url or page you can edit the skin.properties go to
/opt/zimbra/jetty-6.1.5/webapps/zimbra/skins/_base/base/skin.properties

edit this line :
LogoImgDir        = /zimbra/skins/@SkinName@/logos
LogoURL            = http://www.yourcompany.com
 

You can also changes the other modifcation on the login pages on /opt/zimbra/jetty-6.1.5/webapps/zimbra/WEB-INF/classes/messages/ZmMsg.properties

How to changes all account mail quota

you can go to

here

 

Referer : http://wiki.zimbra.com/index.php?title=Zmprov