Tool for editing domain databases

Recently I checked the database entries for my MTAs, Internet Agents and POAs, because i saw a path in a log, which does not exist since years.

In this case it was the UNC-path (attribute-ID 59003), which is totally wrong for this agent, because it points to a server, which was removed several years ago. I know, that one could set this attribute via C1 as long as the groupwise system was integrated into eDir, but now, I don't see any tool to change this value. Although that value seems to be not used any more I see this value still popuated in a newly installed internet agent, but it does not show an UNC-path - it simply shows the linux filesystem-path to the internet agent.

How can I get rid of those irritating entries, because if someone has to take over the administration of this system, this will at least lead to unneccessary thoughts. And I hate carrying along wrong entries - even, if they do not harm and apparently are not used.

Parents Reply Children
  • 0 in reply to   

    The REST API for this Internet agent (the mtas are ok) shows for the url:

    https://GWIAserver.x.x:9710/gwadmin-service/domains/DOM-NAME/gwias/GWIA-NAME

    the line

    "path": "\\\\Pc_burghardt_d\\C\\grpwise\\INETDOM\\WPGATE\\GWINAG", in JSON style
    in XML translation it would be <path>\\Pc_burghardt_d\C\grpwise\INETDOM\WPGATE\GWINAG</path>
    which is completely nonsense as it is a Windows path, for a machine, which was retired more than 10 years ago and the rest of the path is incorrect, too - with the exception of WPGATE.

    the entry for the

    "smtpQueuesDirectory": "/media/nss/VOL03/DOM-directory/wpgate/GWIA-NAME", in JSON sytle,
    which would be in XML <smtpQueuesDirectory>/media/nss/VOL03/DOM-directory/wpgate/GWIA-NAME</smtpQueuesDirectory>
    is correct and seems to be the correct value for the "path" entry, too. At least a newly installed GWIA shows a corresponding value
    The issue is only cosmetic, as everything is working since more than 10 years without problems.
  • 0 in reply to   

    You think, that if I do a GET of https://gwiaserver.x.x:9710/gwadmin-service/domains/DOM-NAME/gwias/GWIA-NAME

    and afterwards change in the body the "path" entry and then do a PUT of the changed body to the same uri as above, the entry is changed accordingly?

    I have no experience with the groupwise RestAPI and how reliable it is. I only use RestAPIs for Databases, where I have the full control over the database itself and use the RestAPI to provide limited access to other users.

    For being on the safe side, which files should i backup before changing anything, so that I can go back to a working configuration, if anything goes wrong? Is it just the wpdomain.db or does it include gwdom.dc and wpdomain.dc and wphost.dc. And is it sufficient to backup this(those) files on the domain server, where the gwia runs, or do I have to backup the primary domain database, too.

    Regards