Unable to create mail rule

I'm attempting to create a mail rule via SOAP, and while the rule seems like it is created without error, I can't see it when accessing the user's mailbox.

Here's the request XML:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:t="http://schemas.novell.com/2005/01/GroupWise/types" xmlns:m="http://schemas.novell.com/2005/01/GroupWise/methods">
<t:item type="Rule">
<t:types>Appointment Mail Note PhoneMessage Task</t:types>
<t:subject>Forwarded email</t:subject>
<t:subjectPrefix>Fwd: </t:subjectPrefix>

The response looks like this:

<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<gwm:createItemResponse xmlns:gwm="http://schemas.novell.com/2005/01/GroupWise/methods" xmlns:gwt="http://schemas.novell.com/2005/01/GroupWise/types">

If I look in the PO log file, I can see the SOAP command for this user:

12:31:02 0AE0 SOAP command:[createItemRequest] requested from a.b.c.d User session(Test User1)
12:31:02 0AE0 SOAP command:[createItemRequest] requested from a.b.c.d User session(Test User1) Elapsed Time (0.278)Secs

But if I log in as Test User1 and view Tools -> Rules, I see nothing.

Two questions:

1. Is the rule actually being created?

2. Is there some kind of object browser I can use to look for item 5FDCA106.Domain.PO.100.1743772.1.6D.1@10?


  • Sorry, I won't be into work until after the start of the new year. I can look at it then. Are you saying the getRuleListRequest does not return the newly created rule?


  • Verified Answer

    I figured it out. The users for whom I was created the rules had previously been deleted and recreated with the same usernames. It appears that the rules actually were being created successfully, they were just associated with the deleted users instead of the active ones. I created some new test users and found the same code to work just fine.

    I'd still like to know if there is some kind of object browsing tool that would let me search for 5FDCA106.Domain.PO.100.1743772.1.6D.1@10 and find the user to which it belongs. There was no obvious way for me to locate the problem in this case.

  • There is not such a tool. The only concept we have is the ability to use a trusted application. With a trusted application name and key, you can log in any user without knowing that user's password. You can also get the list of users on a particular post office. With the list of users, you can loop through the users and access each user and access whatever you need.

    Other than that, there is no way to globally search over the post office. The database files are based per user and not per post post office (for the most part). There is the concept where message / email files can be shared. (I can explain that, if you need.)