I'm writing a script to create and remove mailboxes and I wanted to know if there was a place where I could activate the "auto" check box for the "Display Name" or even better, a global setting to have it on by default?

Currently I do the following command (empty password is because authentication is done on a separate ldap server)
zmprov ca test_email_acc@foobar.com '' givenname "John" sn "Doe" displayName "John Doe" zimbraCOSid a047b1d6-bc66-47da-bd70-7ce1237316f8
Is this correct?

Thanks for your help!