You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by Danny Angus <da...@thought.co.uk> on 2002/02/14 10:42:08 UTC

Startup scripts

Morning,
There's  been a fair few examples of startup/shutdown scripts on this list
in the last few days that knock the existing one into a cocked hat, and I
think it'd be a good idea to use this opportunity to improve on the one we
currently distribute.
If anyone would like to send their scripts, whole as attachments, to this
list or the developers list I'll pick one, or combine some, and commit it.
(The author(s) will be credited for their contribution, naturally)

Rauno's looks good but it seems to have lost all its line endings
somewhere..

If anyone has a nice script for any other OS's, including windows, that'd be
welcome too.

d.


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


Re: Startup scripts

Posted by Serge Knystautas <se...@lokitech.com>.
FYI: for your information

Serge Knystautas
Loki Technologies - Unstoppable Websites
http://www.lokitech.com/
----- Original Message -----
From: "Lucas Gonze" <lu...@gonze.com>
To: "James Users List" <ja...@jakarta.apache.org>
Sent: Thursday, February 14, 2002 12:59 PM
Subject: RE: Startup scripts


> Phew, I seem to be acronym happy.  As penance I now spell out all the
> acronyms:
> * IMO: in my opinion
> * FYI: really don't know what this stands for
> * PIA: pain in the ass
> * EG: for example
>
> On Thu, 14 Feb 2002, Lucas Gonze wrote:
>
> > True, though I don't know if it's a huge difference.  Just run in the
> > background (&) and detach the tty.  In any event I'm not volunteering to
> > write the thing so this is pure backseat driving, and since IMO backseat
> > driving in open source projects is nothing but a time waster, I will
leave
> > my comment as just an FYI for people who _do_ plan to write a launcher.
> >
> > Seems like a good starter for java programs might be a useful Strut.  I
> > have found this to be one of those PIA that crops up on every project.
> > EG, finding the JVM executable is a picky bit of code.
> >
> > On Thu, 14 Feb 2002, Danny Angus wrote:
> >
> > > but you dont't run ant as a daemon process..



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


RE: Startup scripts

Posted by Lucas Gonze <lu...@gonze.com>.
Phew, I seem to be acronym happy.  As penance I now spell out all the
acronyms:
* IMO: in my opinion
* FYI: really don't know what this stands for
* PIA: pain in the ass
* EG: for example

On Thu, 14 Feb 2002, Lucas Gonze wrote:

> True, though I don't know if it's a huge difference.  Just run in the
> background (&) and detach the tty.  In any event I'm not volunteering to
> write the thing so this is pure backseat driving, and since IMO backseat
> driving in open source projects is nothing but a time waster, I will leave
> my comment as just an FYI for people who _do_ plan to write a launcher.
>
> Seems like a good starter for java programs might be a useful Strut.  I
> have found this to be one of those PIA that crops up on every project.
> EG, finding the JVM executable is a picky bit of code.
>
> On Thu, 14 Feb 2002, Danny Angus wrote:
>
> > but you dont't run ant as a daemon process..
>
>
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>
>
>


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


RE: Startup scripts

Posted by Lucas Gonze <lu...@gonze.com>.
True, though I don't know if it's a huge difference.  Just run in the
background (&) and detach the tty.  In any event I'm not volunteering to
write the thing so this is pure backseat driving, and since IMO backseat
driving in open source projects is nothing but a time waster, I will leave
my comment as just an FYI for people who _do_ plan to write a launcher.

Seems like a good starter for java programs might be a useful Strut.  I
have found this to be one of those PIA that crops up on every project.
EG, finding the JVM executable is a picky bit of code.

On Thu, 14 Feb 2002, Danny Angus wrote:

> but you dont't run ant as a daemon process..


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


RE: Startup scripts

Posted by Danny Angus <da...@thought.co.uk>.
but you dont't run ant as a daemon process..

> -----Original Message-----
> From: Lucas Gonze [mailto:lucas@gonze.com]
> Sent: Thursday, February 14, 2002 3:47 PM
> To: James Users List
> Cc: James Developer List
> Subject: Re: Startup scripts
>
>
> FWIW the Ant startup script is quite well done and might be a good source
> for cannibalization.
>
> On Thu, 14 Feb 2002, Danny Angus wrote:
>
> > Morning,
> > There's  been a fair few examples of startup/shutdown scripts
> on this list
> > in the last few days that knock the existing one into a cocked
> hat, and I
> > think it'd be a good idea to use this opportunity to improve on
> the one we
> > currently distribute.
> > If anyone would like to send their scripts, whole as
> attachments, to this
> > list or the developers list I'll pick one, or combine some, and
> commit it.
> > (The author(s) will be credited for their contribution, naturally)
> >
> > Rauno's looks good but it seems to have lost all its line endings
> > somewhere..
> >
> > If anyone has a nice script for any other OS's, including
> windows, that'd be
> > welcome too.
> >
> > d.
> >
> >
> > --
> > To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> > For additional commands, e-mail:
> <ma...@jakarta.apache.org>
> >
> >
> >
> >
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


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


LET ME CLARIFY: Multiple Domains/Virtual Hosting

Posted by Phase Communcations <ma...@phase.ws>.
I have read through the archives and have seen a few people who have offered
up some virtual hosting and/or multiple domain solutions that truly seperate
the domains.  I need a solution that would allow for mail@abc.com and
mail@xyz.com on the same james server. Are there any particular solutions
that work well? I am looking for recommendations.

Brandon Goodin
Phase Web and Multimedia
P (406) 862-2245
F (406) 862-0354
mail@phase.ws
http://www.phase.ws



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



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


Mulitple Domains / Virtual Hosting

Posted by Phase Communcations <ma...@phase.ws>.
I have read through the archives and have seen a few people who have offered
up some virtual hosting and/or multiple domain solutions. Are there any
particular solutions that work well? I am looking for recommendations.

Brandon Goodin
Phase Web and Multimedia
P (406) 862-2245
F (406) 862-0354
mail@phase.ws
http://www.phase.ws



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


RE: James as a mail proxy

Posted by Danny Angus <da...@thought.co.uk>.
yes it is, thats exactly the kind of thing james is good at :-)

> -----Original Message-----
> From: Diego Castillo [mailto:diego.castillo@inexbee.com]
> Sent: Thursday, February 14, 2002 4:36 PM
> To: 'James Users List'
> Subject: James as a mail proxy
> 
> 
> Hi all,
> 
> I am new to James and have spent some time reading the documentation and
> the mail archives, but unfortunately I have not found the answer to my
> question.
> 
> My scenario is as follows:
> I have an application that sends mail to undetermined recipients via my
> ISP mail server. I need to *make up* the content of some mails before
> they reach my ISP, but I can't do this by modifying or configuring the
> application.
> 
> Basically, the idea would be to:
> 1. Install James close to my application.
> 2. Set my application to use James as SMTP server.
> 3. Use the Mailet API to intercept outgoing mails and perform the
> content transformation I require (e.g. HTML -> text).
> 4. Set James so that it forwards the resulting mail to my ISP's SMTP
> server.
> 
> Is this scenario feasible?
> 
> All suggestions are welcome!
> 
> 
> Diego
> 
> 
> --
> To unsubscribe, e-mail:   
> <ma...@jakarta.apache.org>
> For additional commands, e-mail: 
> <ma...@jakarta.apache.org>
> 

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


James as a mail proxy

Posted by Diego Castillo <di...@inexbee.com>.
Hi all,

I am new to James and have spent some time reading the documentation and
the mail archives, but unfortunately I have not found the answer to my
question.

My scenario is as follows:
I have an application that sends mail to undetermined recipients via my
ISP mail server. I need to *make up* the content of some mails before
they reach my ISP, but I can't do this by modifying or configuring the
application.

Basically, the idea would be to:
1. Install James close to my application.
2. Set my application to use James as SMTP server.
3. Use the Mailet API to intercept outgoing mails and perform the
content transformation I require (e.g. HTML -> text).
4. Set James so that it forwards the resulting mail to my ISP's SMTP
server.

Is this scenario feasible?

All suggestions are welcome!


Diego


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


Re: Startup scripts

Posted by Lucas Gonze <lu...@gonze.com>.
FWIW the Ant startup script is quite well done and might be a good source
for cannibalization.

On Thu, 14 Feb 2002, Danny Angus wrote:

> Morning,
> There's  been a fair few examples of startup/shutdown scripts on this list
> in the last few days that knock the existing one into a cocked hat, and I
> think it'd be a good idea to use this opportunity to improve on the one we
> currently distribute.
> If anyone would like to send their scripts, whole as attachments, to this
> list or the developers list I'll pick one, or combine some, and commit it.
> (The author(s) will be credited for their contribution, naturally)
>
> Rauno's looks good but it seems to have lost all its line endings
> somewhere..
>
> If anyone has a nice script for any other OS's, including windows, that'd be
> welcome too.
>
> d.
>
>
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>
>
>


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


Re: Startup scripts

Posted by Lucas Gonze <lu...@gonze.com>.
FWIW the Ant startup script is quite well done and might be a good source
for cannibalization.

On Thu, 14 Feb 2002, Danny Angus wrote:

> Morning,
> There's  been a fair few examples of startup/shutdown scripts on this list
> in the last few days that knock the existing one into a cocked hat, and I
> think it'd be a good idea to use this opportunity to improve on the one we
> currently distribute.
> If anyone would like to send their scripts, whole as attachments, to this
> list or the developers list I'll pick one, or combine some, and commit it.
> (The author(s) will be credited for their contribution, naturally)
>
> Rauno's looks good but it seems to have lost all its line endings
> somewhere..
>
> If anyone has a nice script for any other OS's, including windows, that'd be
> welcome too.
>
> d.
>
>
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>
>
>


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