Well, I feel like a fool... I tested another command out and found that CtrlClnt outputs all its error messages this way, and not according to the administrative protocol specification.
----- Original Message ----- From: "Robert J. Lebowitz" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, November 23, 2002 9:10 AM Subject: [xmail] Possible bug (coding error) in server > > According to the administrative command documentation, the usergetmproc > command is supposed to return a RESSTRING of the format: > > "-DDDDD ErrorString"<CR><LF> > > if the command fails. > > While working on an application library, I kept getting errors whenever I > tried to issue this command. I then tried using the CtrlClnt application > using the following bash script: > > #!/bin/bash > CtrlClnt -s localhost -u root -p ciao \ > "usergetmproc" "211-mn.org" "testuser" > > Instead of the properly formatted RESSTRING, the client displayed these > three lines instead. > > ErrCode = -148 > ErrString = Controller response error > ErrInfo = User mail processing file not present > > I was testing my application to see how it would respond if a mail > processing file was not present. The output is accurate, but I suspect that > this is a minor oversight; the output should have been formatted as a > RESSTRING. > > Rob > > > > - > To unsubscribe from this list: send the line "unsubscribe xmail" in > the body of a message to [EMAIL PROTECTED] > For general help: send the line "help" in the body of a message to > [EMAIL PROTECTED] > - To unsubscribe from this list: send the line "unsubscribe xmail" in the body of a message to [EMAIL PROTECTED] For general help: send the line "help" in the body of a message to [EMAIL PROTECTED]
