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 -> xmail first run

Reply to this topicStart new topicStart Poll

> xmail first run
radus
Posted: Mar 11 2004, 08:41 AM
Quote Post


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) ?
PMEmail Poster
Top
hschneider
Posted: Mar 11 2004, 09:05 AM
Quote Post


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

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
PMEmail PosterUsers Website
Top
radus
Posted: Mar 13 2004, 04:10 PM
Quote Post


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.
PMEmail Poster
Top
hschneider
Posted: Mar 13 2004, 08:11 PM
Quote Post


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

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
PMEmail PosterUsers Website
Top
radus
Posted: Mar 13 2004, 08:21 PM
Quote Post


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
PMEmail Poster
Top
hschneider
Posted: Mar 13 2004, 08:41 PM
Quote Post


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

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
PMEmail PosterUsers Website
Top
radus
Posted: Mar 13 2004, 08:49 PM
Quote Post


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
PMEmail Poster
Top
hschneider
Posted: Mar 13 2004, 08:51 PM
Quote Post


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

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
PMEmail PosterUsers Website
Top
radus
Posted: Mar 13 2004, 08:52 PM
Quote Post


Newbie
*

Group: Members
Posts: 17
Member No.: 944
Joined: 20-February 04



It doesn't work otherwise.

CtrlClnt returns an error
PMEmail Poster
Top
bim
Posted: Mar 14 2004, 02:33 PM
Quote Post


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:
CODE
Start XMailserver
Wait Untill XMailserver is completely started
Do something with CtrlClnt

PM
Top
hschneider
Posted: Mar 14 2004, 06:47 PM
Quote Post


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

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
PMEmail PosterUsers Website
Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
« Next Oldest | XMail Server | Next Newest »

Reply to this topicStart new topicStart Poll