2019-09-20 - hschneider, Admin
Cookie Disclaimer: This forum uses only essential, anonymous session cookies (xmailforum*), nothing to be scared of.
Printable Version of Topic
Click here to view this topic in its original format |
XMail Forum > XMail Queue Manager > Problem Listing Messages |
Posted by: gEoTa Mar 23 2005, 04:58 AM |
Hi all! I now have the agent installed on server (win32) and queue manager in another machine. Queue manager is configured for remote mode and it connects and asks to query. I query and it returns 0 messages. At the same time XPAI tells me there are about 20 messages frozen. I tried both local and remote management. 0 messages on all cases and in various occasions. What the hell am i doing wrong?? I mean they both (XPAI, Agent) use ctrl commands... or don't they? |
Posted by: hschneider Mar 23 2005, 07:38 AM |
No - XQM searches the spool tree recursively. Only so it can catch sending and resending messages too. Are you sure that both point to the same MailRoot ? Any hints in the system's event logs ? Which Agent version do you use ? |
Posted by: gEoTa Mar 23 2005, 01:44 PM | ||||||||
So why do i need to configure ctrl connection in Agent?
There is only one. So it should be pointing to it...
None.
The latest (1.40). Is there any way the program works in debug mode? |
Posted by: hschneider Mar 23 2005, 01:55 PM |
It only uses CTRL access when flushing the queue. If you have set FORCE_MAIL_ROOT in the Agent's .conf file, it will overwrite all other system settings. To debug, simply execute debug.bat. |
Posted by: gEoTa Mar 23 2005, 02:24 PM |
Ok. With the debug i found the error. I allways jail my programs with some user i create, for some reason i couldn't make Agent run with the same user as for xmail. So i've tried to overwrite permissions to everyone so that at least i could get Agent to work and figure out later how to jail mail dir again. Again for some reason the spool dir (and subdirs) didn't set the overwrite of permissions and was denying access to Agent. If you've some requirements regarding jailing in win32 i would appreciate a hint. Many thanks, you're really some answering *machine*... |
Posted by: hschneider Mar 23 2005, 02:29 PM |
Huh - jailing? If you just mean setting file access permission, you might have forgot to propagade them to the spool's sub folders. |
Posted by: gEoTa Mar 23 2005, 11:40 PM |
Jailing is like chrooting. BIND for windows does it by default in the latest releases. Anyway it would be nice to do the same to the Agent since it's a service exposed to the internet. But i'm not being able to do it... Is there any library that requires admin rights? |
Posted by: hschneider Mar 24 2005, 07:26 AM |
None, that I know of. It's possible, that parts of the runtime environment, which packs the compiled Python code into an executable requires some special permissions. |