How to automatically create custom folders each time new user created

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Post Reply
senyapsudah
Posts: 27
Joined: Thu Jul 21, 2016 12:49 am

How to automatically create custom folders each time new user created

Post by senyapsudah »

Hi Guys,

i would like to find out on how can i automatically create custom folders inside user account when a new user being created. Instead of having standard folders inbox and so on. we would like to add additional custom folder being created for them automatically. so they will not have to login to their account and manually create it. Please help.

thanks.
User avatar
L. Mark Stone
Ambassador
Ambassador
Posts: 2796
Joined: Wed Oct 09, 2013 11:35 am
Location: Portland, Maine, US
ZCS/ZD Version: 10.0.6 Network Edition
Contact:

Re: How to automatically create custom folders each time new user created

Post by L. Mark Stone »

Have you looked at zmmailbox?

https://wiki.zimbra.com/wiki/Zmmailbox

Hope that helps,
Mark
___________________________________
L. Mark Stone
Mission Critical Email - Zimbra VAR/BSP/Training Partner https://www.missioncriticalemail.com/
AWS Certified Solutions Architect-Associate
senyapsudah
Posts: 27
Joined: Thu Jul 21, 2016 12:49 am

Re: How to automatically create custom folders each time new user created

Post by senyapsudah »

L. Mark Stone wrote:Have you looked at zmmailbox?

https://wiki.zimbra.com/wiki/Zmmailbox

Hope that helps,
Mark
hi Mark,

to be frank i haven't look at this yet. so far i can see that it can be used. just a quick question. assume that i'm going to use this. is there a way for me to fork/hook this command as soon as email account being created?
User avatar
L. Mark Stone
Ambassador
Ambassador
Posts: 2796
Joined: Wed Oct 09, 2013 11:35 am
Location: Portland, Maine, US
ZCS/ZD Version: 10.0.6 Network Edition
Contact:

Re: How to automatically create custom folders each time new user created

Post by L. Mark Stone »

You may also want to reference the bulk provisioning wiki, which shows you how to feed commands into zmprov via a single file. zmprov can call zmmailbox. There are also a number of scripts around that leverage zmmailbox directly (Google is your friend...).

I am not a programmer although I took a few programming courses in college. Like Fortran... With punch cards... On an IBM 360 mainframe. :-) I can however generally make sense of simple scripts and I've supervised software development teams, so I understand what you want to accomplish, it's just not in my wheelhouse.

Here are two links that perhaps will help further your journey beyond my expertise:
viewtopic.php?t=12921
https://wiki.zimbra.com/wiki/Bulk_Provisioning

Hope that helps,
Mark
___________________________________
L. Mark Stone
Mission Critical Email - Zimbra VAR/BSP/Training Partner https://www.missioncriticalemail.com/
AWS Certified Solutions Architect-Associate
Post Reply