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 |
| radus |
Posted: Mar 11 2004, 08:41 AM
|
|
Newbie ![]() Group: Members Posts: 17 Member No.: 944 Joined: 20-February 04 |
Hello
For the first time xmail runs it creates the spool directories and only then starts working ( it's a couple of seconds interval ). I would like xmail to start only after those dirs were created. Also for the moment is it ok if i to wait for the last directory spool to be created (22/22) ? |
| hschneider |
Posted: Mar 11 2004, 09:05 AM
|
![]() No - I'm not an answering script ... Group: Admin Posts: 6631 Member No.: 195 Joined: 19-June 02 |
The spool structure is created only the 1st time you run XMail. Also keep in mind, that it runs slower in debug mode.
-------------------- 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 |
| radus |
Posted: Mar 13 2004, 04:10 PM
|
|
Newbie ![]() Group: Members Posts: 17 Member No.: 944 Joined: 20-February 04 |
ok
but how do i check when it's finished ? I can't use ctrlclnt when it's building spool's. I have a script that does sleep() but that's not good. |
| hschneider |
Posted: Mar 13 2004, 08:11 PM
|
![]() No - I'm not an answering script ... Group: Admin Posts: 6631 Member No.: 195 Joined: 19-June 02 |
The spool folder stuct is created, when it did not exist, which takes a few seconds.
Sorry ... what exactly is the problem you are hunting ??? -------------------- 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 |
| radus |
Posted: Mar 13 2004, 08:21 PM
|
|
Newbie ![]() Group: Members Posts: 17 Member No.: 944 Joined: 20-February 04 |
I just want to know when the spool directory is created. In a script
|
| hschneider |
Posted: Mar 13 2004, 08:41 PM
|
![]() No - I'm not an answering script ... Group: Admin Posts: 6631 Member No.: 195 Joined: 19-June 02 |
On the very first start of Xmail, it creates the spool and THEN it starts to accept messages and processing scripts. So at the time the script runs, the spool exists.
There is absolutely no need to check this from your script - never! -------------------- 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 |
| radus |
Posted: Mar 13 2004, 08:49 PM
|
|
Newbie ![]() Group: Members Posts: 17 Member No.: 944 Joined: 20-February 04 |
I am sorry. It's really my fault
I am packaging xmail and i ran into this problem (stated above ) when doing initial configuration Now i am using while [ ! -d $MAILROOTl/spool/22/22/ ] ; do sleep 1; done to see when the spool creation is done and i was wondering if that's ok |
| hschneider |
Posted: Mar 13 2004, 08:51 PM
|
![]() No - I'm not an answering script ... Group: Admin Posts: 6631 Member No.: 195 Joined: 19-June 02 |
No .. please forget about this. No need for that.
-------------------- 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 |
| radus |
Posted: Mar 13 2004, 08:52 PM
|
|
Newbie ![]() Group: Members Posts: 17 Member No.: 944 Joined: 20-February 04 |
It doesn't work otherwise.
CtrlClnt returns an error |
| bim |
Posted: Mar 14 2004, 02:33 PM
|
||
|
Advanced Wizard ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 489 Member No.: 297 Joined: 6-October 02 |
hschneider: I think he's talking about a script that starts XMailserver and not a script that is started by XMailserver... I think what he wants is something like this:
|
||
| hschneider |
Posted: Mar 14 2004, 06:47 PM
|
![]() No - I'm not an answering script ... Group: Admin Posts: 6631 Member No.: 195 Joined: 19-June 02 |
OOOps ... thanks! I see ... :-)
In this case I would create a file named .psync-trigger inside MailRoot before starting XMail. When the file is gone, XMail is ready to go. Alternatively you can check when port 25 is open, but this requires a special tool. -------------------- 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 |