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 Gabor Kincses <np...@yahoo.com> on 2005/01/26 01:57:25 UTC
Phoenix startup
Is there a reliable way to detect when Phoenix has
completed startin up all configured components? Like
James?
Thanks,
Gabor
=====
Gabor Kincses
Running Mandrake Linux 10.0
__________________________________
Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.
http://promotions.yahoo.com/new_mail
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org
Re: Verification of sent mails
Posted by Serge Knystautas <se...@lokitech.com>.
Christophe Laumond wrote:
> Are there any way to verify that the emails has been
> sent succesfully so I can create a receipt email like
> this? I thougt a bit about modifying the LocalDelivery
> and RemoteDelivery mailets and store the state
> information there but I am not really sure whether
> this is the way to go.
Yes, this would be the way to do it. There is currently no hook
capability to run code upon successful delivery completion.
--
Serge Knystautas
Lokitech >> software . strategy . design >> http://www.lokitech.com
p. 301.656.5501
e. sergek@lokitech.com
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org
Verification of sent mails
Posted by Christophe Laumond <cl...@motet.dk>.
Hi,
We have created a mailet for sending bulk mails. When
all mails have been sent via the bulk mailet it should
respond with a receipt email containing a list of the
recipients and whether each recipient 'received' the
email or not. By 'received' I mean sent from the mail
server succesfully.
Are there any way to verify that the emails has been
sent succesfully so I can create a receipt email like
this? I thougt a bit about modifying the LocalDelivery
and RemoteDelivery mailets and store the state
information there but I am not really sure whether
this is the way to go.
Does anyone have any suggestions on how to create this
receipt email?
Thanks.
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org
Re: Phoenix startup
Posted by Gabor Kincses <np...@yahoo.com>.
RTFM: org.apache.avalon.phoenix.ApplicationListener.
--- Gabor Kincses <np...@yahoo.com> wrote:
> I guess I was not sufficiently clear. I'm
> bootstrapping Phoenix as part of my own application
> startup sequence. What I really wanted to know is
> if
> there is an Observable object that notifies clients
> when Phoenix managed components (like modules of
> James) reach a new lifecycle state. The netstat -rn
> hack might work as a quick work around.
>
> Thanks,
> Gabor
>
> --- Caroline Jen <ji...@yahoo.com> wrote:
>
> > We maybe able to help more if you could be more
> > specific about your question. Here are what I
> did:
> >
> > - run build.bat in the
> C:\javamail-1.3.1\demo\webapp
> > before you start Phoenix. This will compile all
> the
> > James classes and creates a SAR-file (Server
> > ARchive)
> > for Phoenix.
> > - set both the CLASSPATH and the JAVA_HOME
> > environment
> > variables. Do not have to set CLASSPATH for
> James.
> > James is an application that runs inside a
> > container.
> > It's the job of the container to startup james.
> If
> > you have downloaded the binary distribution you
> will
> > find a run.bat file in the bin directory.
> > - unpack james-x.x.tar.gz (or the -with-phoenix
> > variant) into a folder
> > - open a Command prompt and cd to the folder where
> > you
> > extracted James
> > - > cd dist\james-x.x\bin
> > - > run (Phoenix should start and load James)
> > Running an "netstat -an" reports if there's a
> > port
> > 25 LISTENING, or there is another program (for
> > example, tomcat, WebLogic) on this port.
> >
> > James will startup and you should see the
> > following on your console:
> >
> > Using PHOENIX_HOME: F:\dev\james-2.1\james-2.1
> > Using PHOENIX_TMPDIR:
> > F:\dev\james-2.1\james-2.1\temp
> > Using JAVA_HOME: F:\system\jdk\1.4.2
> >
> > Phoenix 4.0.1
> >
> > James 2.1
> > Remote Manager Service started plain:4555
> > POP3 Service started plain:110
> > SMTP Service started plain:25
> > NNTP Service Disabled
> > Fetch POP Disabled
> >
> > Use ^C (control-C) to halt the server. In the
> apps
> > directory you will find the configuration info for
> > james in the directory
> apps\james\SAR-INF\config.xml
> >
> > where you can modify things like DNS entries,
> > passwords for remote adminstration, host names,
> etc.
> >
> > To restart james - just go back to the bin
> directory
> > and execute the run command.
> >
> >
> >
> > --- Gabor Kincses <np...@yahoo.com> wrote:
> >
> > > Is there a reliable way to detect when Phoenix
> has
> > > completed startin up all configured components?
> > > Like
> > > James?
> > >
> > > Thanks,
> > > Gabor
> > >
> > > =====
> > > Gabor Kincses
> > > Running Mandrake Linux 10.0
> > >
> > >
> > >
> > >
> > > __________________________________
> > > Do you Yahoo!?
> > > Yahoo! Mail - You care about security. So do we.
>
> > > http://promotions.yahoo.com/new_mail
> > >
> > >
> >
>
---------------------------------------------------------------------
> > > To unsubscribe, e-mail:
> > > server-user-unsubscribe@james.apache.org
> > > For additional commands, e-mail:
> > > server-user-help@james.apache.org
> > >
> > >
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam? Yahoo! Mail has the best spam
> > protection around
> > http://mail.yahoo.com
> >
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > server-user-unsubscribe@james.apache.org
> > For additional commands, e-mail:
> > server-user-help@james.apache.org
> >
> >
>
>
> =====
> Gabor Kincses
> Running Mandrake Linux 10.0
>
>
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail - You care about security. So do we.
> http://promotions.yahoo.com/new_mail
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> server-user-unsubscribe@james.apache.org
> For additional commands, e-mail:
> server-user-help@james.apache.org
>
>
=====
Gabor Kincses
Running Mandrake Linux 10.0
__________________________________
Do you Yahoo!?
The all-new My Yahoo! - Get yours free!
http://my.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org
Re: Phoenix startup
Posted by Gabor Kincses <np...@yahoo.com>.
I guess I was not sufficiently clear. I'm
bootstrapping Phoenix as part of my own application
startup sequence. What I really wanted to know is if
there is an Observable object that notifies clients
when Phoenix managed components (like modules of
James) reach a new lifecycle state. The netstat -rn
hack might work as a quick work around.
Thanks,
Gabor
--- Caroline Jen <ji...@yahoo.com> wrote:
> We maybe able to help more if you could be more
> specific about your question. Here are what I did:
>
> - run build.bat in the C:\javamail-1.3.1\demo\webapp
> before you start Phoenix. This will compile all the
> James classes and creates a SAR-file (Server
> ARchive)
> for Phoenix.
> - set both the CLASSPATH and the JAVA_HOME
> environment
> variables. Do not have to set CLASSPATH for James.
> James is an application that runs inside a
> container.
> It's the job of the container to startup james. If
> you have downloaded the binary distribution you will
> find a run.bat file in the bin directory.
> - unpack james-x.x.tar.gz (or the -with-phoenix
> variant) into a folder
> - open a Command prompt and cd to the folder where
> you
> extracted James
> - > cd dist\james-x.x\bin
> - > run (Phoenix should start and load James)
> Running an "netstat -an" reports if there's a
> port
> 25 LISTENING, or there is another program (for
> example, tomcat, WebLogic) on this port.
>
> James will startup and you should see the
> following on your console:
>
> Using PHOENIX_HOME: F:\dev\james-2.1\james-2.1
> Using PHOENIX_TMPDIR:
> F:\dev\james-2.1\james-2.1\temp
> Using JAVA_HOME: F:\system\jdk\1.4.2
>
> Phoenix 4.0.1
>
> James 2.1
> Remote Manager Service started plain:4555
> POP3 Service started plain:110
> SMTP Service started plain:25
> NNTP Service Disabled
> Fetch POP Disabled
>
> Use ^C (control-C) to halt the server. In the apps
> directory you will find the configuration info for
> james in the directory apps\james\SAR-INF\config.xml
>
> where you can modify things like DNS entries,
> passwords for remote adminstration, host names, etc.
>
> To restart james - just go back to the bin directory
> and execute the run command.
>
>
>
> --- Gabor Kincses <np...@yahoo.com> wrote:
>
> > Is there a reliable way to detect when Phoenix has
> > completed startin up all configured components?
> > Like
> > James?
> >
> > Thanks,
> > Gabor
> >
> > =====
> > Gabor Kincses
> > Running Mandrake Linux 10.0
> >
> >
> >
> >
> > __________________________________
> > Do you Yahoo!?
> > Yahoo! Mail - You care about security. So do we.
> > http://promotions.yahoo.com/new_mail
> >
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > server-user-unsubscribe@james.apache.org
> > For additional commands, e-mail:
> > server-user-help@james.apache.org
> >
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam
> protection around
> http://mail.yahoo.com
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> server-user-unsubscribe@james.apache.org
> For additional commands, e-mail:
> server-user-help@james.apache.org
>
>
=====
Gabor Kincses
Running Mandrake Linux 10.0
__________________________________
Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.
http://promotions.yahoo.com/new_mail
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org
Re: Phoenix startup
Posted by Caroline Jen <ji...@yahoo.com>.
We maybe able to help more if you could be more
specific about your question. Here are what I did:
- run build.bat in the C:\javamail-1.3.1\demo\webapp
before you start Phoenix. This will compile all the
James classes and creates a SAR-file (Server ARchive)
for Phoenix.
- set both the CLASSPATH and the JAVA_HOME environment
variables. Do not have to set CLASSPATH for James.
James is an application that runs inside a container.
It's the job of the container to startup james. If
you have downloaded the binary distribution you will
find a run.bat file in the bin directory.
- unpack james-x.x.tar.gz (or the -with-phoenix
variant) into a folder
- open a Command prompt and cd to the folder where you
extracted James
- > cd dist\james-x.x\bin
- > run (Phoenix should start and load James)
Running an "netstat -an" reports if there's a port
25 LISTENING, or there is another program (for
example, tomcat, WebLogic) on this port.
James will startup and you should see the
following on your console:
Using PHOENIX_HOME: F:\dev\james-2.1\james-2.1
Using PHOENIX_TMPDIR:
F:\dev\james-2.1\james-2.1\temp
Using JAVA_HOME: F:\system\jdk\1.4.2
Phoenix 4.0.1
James 2.1
Remote Manager Service started plain:4555
POP3 Service started plain:110
SMTP Service started plain:25
NNTP Service Disabled
Fetch POP Disabled
Use ^C (control-C) to halt the server. In the apps
directory you will find the configuration info for
james in the directory apps\james\SAR-INF\config.xml
where you can modify things like DNS entries,
passwords for remote adminstration, host names, etc.
To restart james - just go back to the bin directory
and execute the run command.
--- Gabor Kincses <np...@yahoo.com> wrote:
> Is there a reliable way to detect when Phoenix has
> completed startin up all configured components?
> Like
> James?
>
> Thanks,
> Gabor
>
> =====
> Gabor Kincses
> Running Mandrake Linux 10.0
>
>
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail - You care about security. So do we.
> http://promotions.yahoo.com/new_mail
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> server-user-unsubscribe@james.apache.org
> For additional commands, e-mail:
> server-user-help@james.apache.org
>
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org