XMailforum is a readonly knowledge archive now.

Registering as a new user or answering posts is not possible anymore.

Might the force be with you, to find here what you are looking for.

2019-09-20 - hschneider, Admin

Cookie Disclaimer: This forum uses only essential, anonymous session cookies (xmailforum*), nothing to be scared of.

XMail Forum [Powered by Invision Power Board]
Printable Version of Topic
Click here to view this topic in its original format
XMail Forum > XMail Queue Manager > XQM-Cmd argues with me


Posted by: meszi Jun 1 2004, 06:37 AM
Hello over there!

As the graphical interface seemed to be a nice solution to me i also wanted to check the command line tool to insert some commands to my own "central config script"...

But when I run a command like this I get error messages...

HeikePC:/opt/xqm # ./xqm -q all
Traceback (most recent call last):
File "<string>", line 40, in ?
File "<string>", line 36, in __init__
File "/root/work/lib/xmaillib.py", line 239, in __init__
File "/root/work/lib/xmaillib.py", line 149, in get_rootpath
NO_MAIL_ROOT


Can anyone give me a suggestion what I made wrong?


CU,
Meszi.

--

http://aboutme.meszi.de

Posted by: hschneider Jun 1 2004, 06:47 AM
Just enter
export MAIL_ROOT=/var/MailRoot

before starting XQM/CMD.

You can wrap the export statement in a script or put it generally into your /etc/profles.

Posted by: meszi Jun 2 2004, 07:06 AM
So I tried it that way...

HeikePC:/opt/xqm # export MAIL_ROOT=/var/MailRoot
HeikePC:/opt/xqm # ./xqm -q all
Traceback (most recent call last):
File "<string>", line 83, in ?
File "<string>", line 52, in _stat
TypeError: not all arguments converted


...do I use XQM in a false way?


CU,
Meszi.

--

http://aboutme.meszi.de

Posted by: meszi Jun 2 2004, 07:09 AM
...btw, the export worked:

HeikePC:/opt/xqm # set | grep MAIL_ROOT
MAIL_ROOT=/var/MailRoot


CU,
Meszi.

--

http://aboutme.meszi.de

Posted by: hschneider Jun 2 2004, 07:48 AM
./xqm -qall or ./xqm --query=all


Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)