You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by Serge Knystautas <se...@lokitech.com> on 2001/10/31 19:58:59 UTC

Re: Stopping James

Josh,

Comments below (copying this to james-user listserv).
----- Original Message -----
From: "Josh Reeves" <j....@lycos.com>


> Good day!
>
> Sorry for the intrusion, but, I guess, I need your help.
>
> run -help reports unknown option -h :
> Error: Unknown option -h.
>
> Same holds true for -stop:
> Error: Unknown option -s.
>
> The least thing I need to know is how to stop
> James gracefully. There are other things that aren't clear,
> but let's take one at a time.
>
> If you can point me to the users' guide, where most of the
> issues covered - great!
>
> Best regards,
> JB
>
> PS.: One more Q: what should I use to test James, as
> described in:
> "... try sending mail to one of them @localhost with SMTP (port 25)."
> ?

James doesn't support graceful shutdown yet (should by 2.0 final).  You can
do a "kill" or "ctrl-c" depending on your OS.  I'm not sure about how/if
run -stop is supposed to work as Avalon has only recently begun supporting
this (or I've only recently begun to realize it).  However, Avalon does
detect the JVM stopping (as the JDK 1.3 supports shutdown hooks), and so
we'll be implementing shutdown procedures for the spool manager (which will
shutdown mailets) and possibly the SMTP/POP3/NNTP handlers as well so it
shuts down gracefully.

As for testing, doing sendmail to an account @localhost is the best way to
test SMTP receiving and POP3 delivery.  If you want to test remote delivery,
you'll need to pick some remote address and send to that via JAMES.  Note
that out of the box, James will not relay a message to a remote address, so
you would need to connect to James from localhost.

Serge Knystautas
Loki Technologies - Unstoppable Websites
http://www.lokitech.com/


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>