Logout

Alt-N Discussion Groups > MDaemon Discussion Groups > MDaemon API > XML API UPDATE USER

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

XML API UPDATE USER

[Deus, Javier Meilán]
Javier Meilán …
Newbie
Newbie
Posts: 30
Javier Meilán Deus - 10:28am, Oct 20 2021

I continue with the development of the application and I have encountered a problem.

When you update a user, and we pass a new alias, it can contain any value, email address, a text string, or an alias to an unconfigured domain.

Log:

211020 170158714 I [00299C44] 0x4142005A Operation: UpdateUser
211020 170158714 D [00299C44] 0x41420066 Parameter: Domain: [commcenter.es]
211020 170158715 D [00299C44] 0x41420066 Parameter: Mailbox: [test]
211020 170158715 D [00299C44] 0x41420066 Parameter: Details
211020 170158715 D [00299C44] 0x41420066 Parameter: Details/AdminNotes: [Usuario Actualizado via XML API Contraseña: ]
211020 170158715 D [00299C44] 0x41420066 Parameter: Aliases operation='add'
211020 170158715 D [00299C44] 0x41420066 Parameter: Aliases/Alias: [asd]
211020 170158719 I [00299C44] 0x4142005C Modification: UpdateUser: commcenter.es\test
211020 170158904 D [00299C44] 0x41350001 Alias : asd = test@commcenter.es
211020 170159578 D [00299C44] 0x4142005E Sending 610 byte response to client
211020 170159579 I [00299C44] 0x41420030 Connection terminating

XML API
Show Foto

The biggest problem is that you can create aliases of existing email accounts or distribution lists, and these would conflict

version od Mdaemon
servidor SMTP/POP/IMAP: v21.0.3
  Webmail HTTP server: v21.0.3
  Webmail DLL: v21.0.3
  MDaemon Instant Messenger client: v21.0.2
  Content filter server: v21.0.3
  Content filter DLL: v21.0.3
  Content filter GUI: v21.0.3
  Calendar API (MDCalendar.dll): v21.0.3
  Mailing list API (MDList.dll): v21.0.3
  Original "Flat-File" API (MDUser.dll): v21.0.3
  COM/DCOM API (MDUserCOM.dll): v21.0.3
  LDAP API (MDUserLDAP.dll): v21.0.3
  ODBC/SQL API (MDUserODBC.dll): v21.0.3
  Cluster Service (64bit) for MDaemon Messaging Server (ClstrSvc.dll): 21.0.3.2
  Dynamic Screening (64bit) for MDaemon Messaging Server (DynScrn.dll): 21.0.3.4
  ActiveSync Mgmt Module (64bit) for MDaemon Messaging Server (MDASMgmt.dll): 21.0.3.6
  AutoDiscovery Service (64bit) for MDaemon Messaging Server (MDAutoDiscover.dll): 21.0.3.2
  Message Indexing (64bit) for MDaemon Messaging Server (MdMbSrch.dll): 21.0.3.2
  Management Web Service (64bit) for MDaemon Messaging Server (MDMgmtWS.dll): 21.0.3.3
  MDPGP (mdpgp.dll): 21.0.3
  MDOP (mdop.dll): 1.3.8
  ActiveSync (MDAirSync.dll): v21.0.3.6
  NT/2K/XP utility API (NTUtil.dll): v21.0.3
  DKIM API (LibDKIM.dll): v1.0.21
  AntiSpam server daemon (MDSpamD): v3.4.4
  CalDAV/CardDAV (MDWebDAV.dll): v21.0.3
  XMPP server (WCXMPPServer.exe): v21.0.3
MDaemon AntiVirus:
  AV overall system: v21.0.3
  Fuente del motor de AV: MDaemon Technologies, Ltd
  Última actualización de virus de AV: 2020-08-29 05:05
  Outbreak Protection (MDOP.dll): v1.3.8
MDaemon Connector:
  Plug-in: v7.0.4
Remote Administration Server:
  HTTP server: v21.0.3

Attachments:

sendAPI.PNG (17 KB)

 

captura3.PNG (27 KB)


  (older msg: 3)All MessagesOldest ItemsOlder ItemsNewer ItemsNewest Items

Javier Meilán Deus - Oct 21, 2021 8:58 am (#4 Total: 4)  

 

Photo of Author
Javier Meilán …
Newbie
Newbie
Posts: 30
It would be nice if we could send only the group we want to add without having to send all the groups to which it belongs, but knowing that this is so, I modify the code, to read the groups and send them back with the new group.

I have also verified that the remove action works the same way.

Thanks.

[Last Editor: Javier Meilán Deus, Oct 21, 2021 9:14 am. Total Edits: 1]



  All MessagesOldest ItemsOlder ItemsNewer ItemsNewest Items



 Content:

Read New | Search

 Guest:

Email to Admin



You are visiting as a Guest user.