How to automatically create custom folders each time new user created

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

How to automatically create custom folders each time new user created

Postby senyapsudah » Fri Oct 12, 2018 12:40 am

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
Elite member
Elite member
Posts: 1864
Joined: Wed Oct 09, 2013 11:35 am
Location: Portland, Maine
ZCS/ZD Version: 8.8.8 Patch 6 Network Edition
Contact:

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

Postby L. Mark Stone » Fri Oct 12, 2018 1:11 am

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/
Zeta Alliance http://www.zetalliance.org/
senyapsudah
Posts: 14
Joined: Thu Jul 21, 2016 12:49 am

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

Postby senyapsudah » Fri Oct 12, 2018 2:38 am

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
Elite member
Elite member
Posts: 1864
Joined: Wed Oct 09, 2013 11:35 am
Location: Portland, Maine
ZCS/ZD Version: 8.8.8 Patch 6 Network Edition
Contact:

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

Postby L. Mark Stone » Fri Oct 12, 2018 3:24 pm

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/
Zeta Alliance http://www.zetalliance.org/

Return to “Administrators”

Who is online

Users browsing this forum: vavai and 26 guests