Page 1 of 1

How to automatically create custom folders each time new user created

Posted: Fri Oct 12, 2018 12:40 am
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.

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

Posted: Fri Oct 12, 2018 1:11 am
by L. Mark Stone
Have you looked at zmmailbox?

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

Hope that helps,
Mark

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

Posted: Fri Oct 12, 2018 2:38 am
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?

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

Posted: Fri Oct 12, 2018 3:24 pm
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