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 -> XQM-Cmd argues with me

Reply to this topicStart new topicStart Poll

> XQM-Cmd argues with me, NO_MAIL_ROOT
meszi
Posted: Jun 1 2004, 06:37 AM
Quote Post


Newbie
*

Group: Members
Posts: 9
Member No.: 1143
Joined: 31-May 04



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
PMEmail Poster
Top
hschneider
Posted: Jun 1 2004, 06:47 AM
Quote Post


No - I'm not an answering script ...
Group Icon

Group: Admin
Posts: 6631
Member No.: 195
Joined: 19-June 02



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.


--------------------
Bye,
Harald


-- Download XMail Queue Manager 1.46 NOW: XMail Server Tools
-- Cross platform remote queue management!
-- Message analyzing on the fly!
-- Builtin diagnostics knowledge base!
-- Manages multiple mail queues!

Sponsored by
CD-Produktion und DVD-Produktion and Homestaging Saarland - Immobilien schneller verkaufen in der Region Saarland, Rheinland-Pfalz und Luxembourg
PMEmail PosterUsers Website
Top
meszi
Posted: Jun 2 2004, 07:06 AM
Quote Post


Newbie
*

Group: Members
Posts: 9
Member No.: 1143
Joined: 31-May 04



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
PMEmail Poster
Top
meszi
Posted: Jun 2 2004, 07:09 AM
Quote Post


Newbie
*

Group: Members
Posts: 9
Member No.: 1143
Joined: 31-May 04



...btw, the export worked:

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


CU,
Meszi.

--

http://aboutme.meszi.de
PMEmail Poster
Top
hschneider
Posted: Jun 2 2004, 07:48 AM
Quote Post


No - I'm not an answering script ...
Group Icon

Group: Admin
Posts: 6631
Member No.: 195
Joined: 19-June 02



./xqm -qall or ./xqm --query=all



--------------------
Bye,
Harald


-- Download XMail Queue Manager 1.46 NOW: XMail Server Tools
-- Cross platform remote queue management!
-- Message analyzing on the fly!
-- Builtin diagnostics knowledge base!
-- Manages multiple mail queues!

Sponsored by
CD-Produktion und DVD-Produktion and Homestaging Saarland - Immobilien schneller verkaufen in der Region Saarland, Rheinland-Pfalz und Luxembourg
PMEmail PosterUsers Website
Top
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:
« Next Oldest | XMail Queue Manager | Next Newest »

Reply to this topicStart new topicStart Poll