2019-09-20 - hschneider, Admin
Cookie Disclaimer: This forum uses only essential, anonymous session cookies (xmailforum*), nothing to be scared of.
XMail Forum · Newbies read here ! All about SMTP,MX-Records,DNS etc. | Help Search Members Calendar |
Welcome Guest ( Log In | Register ) | Resend Validation Email |
meszi |
Posted: Jun 1 2004, 06:37 AM
|
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 |
hschneider |
Posted: Jun 1 2004, 06:47 AM
|
No - I'm not an answering script ... 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 |
meszi |
Posted: Jun 2 2004, 07:06 AM
|
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 |
meszi |
Posted: Jun 2 2004, 07:09 AM
|
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 |
hschneider |
Posted: Jun 2 2004, 07:48 AM
|
No - I'm not an answering script ... 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 |