Logout

Alt-N Discussion Groups > MDaemon Discussion Groups > MDaemon API > XML API Mailpath

 [F] Alt-N Discussion Groups  / MDaemon Discussion Groups  / MDaemon API  /

XML API Mailpath

[CISS, ifst]
ifst CISS
Newbie
Newbie
Posts: 2
ifst CISS - 02:20am, Apr 22 2021

Good morning,

in the future, we like to use more the API of MDaemon for user creation and administration and one crucial point for us is to set the maildirectory of the user.

Neither on creation nor on update can we set it.
One thought, as already explained in this forum, is to use the account template. But as far as I can see, this works only for the default template. So creating multiple templates with different folders is not possible. In addition it would not let us update an account.

Is there any way to get this done?
Or are there plans to make this available soon?

Best regards,
RS

  All MessagesOldest ItemsOlder ItemsNewer ItemsNewest Items

Keith Personett (apparently) - Apr 22, 2021 10:59 am (#1 Total: 2)  

via email  

Photo of Author
Keith Personett
Newbie
Newbie
Posts: 76

RS,

 

That is currently by design. The Mailbox Path is only reported to those with Global Admin permissions, as doing so to domain admins would be a security violation, exposing the structure of the underlying file system.

 

I will add a request for this functionality to the XML API wish list, while maintaining security requirements. I estimate that I can likely get it implemented no later than MD v22.5. While it MIGHT be possible for MD 21.5, it is unlikely, as my workload for 21.5 is quite heavy at this time. Likely target version is MD 22.0.

 

Most likely, the implementation would be based on the domain of the account being created, however, there are some other options I am considering. Prior to enabling the use of the New Account Template, there was a way to direct individual domains to specific locations. That was superseded by the use of the New Account Template. I believe I can implement something that will satisfy the best of both worlds.

 

Moving a mailbox from one location to another (an update) would be something else entirely, as that is a time consuming process depending upon the size of the mailbox. Not saying that it won’t be included, but its inclusion would depend upon numerous factors, as doing so would require disabling the mailbox, moving all of the content and re-enabling the mailbox. Which could, if the disk subsystem was either slow or already being worked hard, would take a substantial amount of time. Most likely, it would have to be submitted to a background thread and provide a means of checking on the status of the move operation.

 

Keith Personett

Senior Software Developer, Cerebro Calibration Specialist, Agent of S.H.I.E.LD., Helicarrier Systems Analyst

MDaemon Technologies http://www.mdaemon.com/ or on Facebook

Sent using Outlook 2013 via ActiveSync Services for MDaemon Messaging Server.

I 16 1018

"You get hurt, hurt 'em back. You get killed... walk it off!"

                - Steve Rogers/Captain America


--MD-API-------------------------------------------------------------
This list is for questions and discussions regarding MDAEMON's API.
To unsubscribe from this mailing list send an email to
md-api-unsubscribe@mdaemon.com .
--POWERED BY MDAEMON!------------------------------------------------

---------------------------------------------------------------------
These forums are provided by MDaemon Technologies for user-to-user
support and discussion.  MDaemon staff members may participate in the
forums periodically but please recognize that this is not the official
method of receiving technical support. To receive personal technical
support please use the form here:
http://www.mdaemon.com/support/request_support.asp
---------------------------------------------------------------------

ifst CISS - Apr 29, 2021 9:02 am (#2 Total: 2)  

 

Photo of Author
ifst CISS
Newbie
Newbie
Posts: 2
Dear Keith Personett,

thank you for your quick answer.

I see the problems around this.

We will be happy if you manage to implement it.

Best regards,
RS



  All MessagesOldest ItemsOlder ItemsNewer ItemsNewest Items



 Content:

Read New | Search

 Guest:

Email to Admin



You are visiting as a Guest user.