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 Pa...@thomsonreuters.com on 2012/04/16 22:03:33 UTC

turning off unused services

I use james as a gateway to XMPP messaging. I don't need anything stored on the server, I just need to be able to send my mail and use mailets/matchers engine to process incoming mail (all incoming mail is either discarded or immediately converted to XMPP and sent to XMPP server). System works, but there are many components that are not used and I'd prefer to have them disabled. I disabled imap and pop3 in config files. How can I disable other components that (as far as I know (?)) are not used in my set-up i.e. jackrabbit, activemq, derby?

Thanks,
-Paul

This email was sent to you by Thomson Reuters, the global news and information company. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Thomson Reuters.

RE: turning off unused services

Posted by Pa...@thomsonreuters.com.
Thanks!
-Paul

-----Original Message-----
From: Eric Charles [mailto:eric@apache.org] 
Sent: Tuesday, April 17, 2012 3:13 AM
To: James Users List
Subject: Re: turning off unused services

Hi,

You can comment in spring-server.xml all the the "Maibox" section.
All the james-mailbox*.jar libs are then useless and you can remove them.

However, you still need the userrepository and recipientrewritetable to let spooling work, so depending on your configuration (userrepository.conf or recipientrewritetable.conf), you will need openjpa (or jcr). Default in openjpa with embedded derby.

You will need activemq for spool, and the mailet(container) libraries.

For now, you also need the mailrepository configuration that allow the mailet to store spam, virus in the var folder. It's a rest from 2.3 server architecture a we talked in a previous thread to remove this to use the mailbox (not the mailrepository) as unique storage system (read also http://james.apache.org/server/3/feature-persistence.html).

If you mailets really don't use the mailrepository compoments, you can try to remove/comment things out, but I'm pretty sure a class around will still ask for mailrepository injection.

Thx,

Eric

On 04/17/2012 12:01 AM, gabi.rosu@gmail.com wrote:
> Xv
> Sent from my BlackBerry device on the Rogers Wireless Network
>
> -----Original Message-----
> From:<Pa...@thomsonreuters.com>
> Date: Mon, 16 Apr 2012 20:14:50
> To:<se...@james.apache.org>
> Reply-To: "James Users List"<se...@james.apache.org>
> Subject: RE: turning off unused services
>
> Hello Ioan,
>
> I had in mind all the components which create entries in var directory. I don't think I need any of these.
>
> Thanks,
> -Paul
>
> -----Original Message-----
> From: Ioan Eugen Stan [mailto:stan.ieugen@gmail.com]
> Sent: Monday, April 16, 2012 4:12 PM
> To: James Users List
> Subject: Re: turning off unused services
>
> 2012/4/16<Pa...@thomsonreuters.com>:
>> I use james as a gateway to XMPP messaging. I don't need anything stored on the server, I just need to be able to send my mail and use mailets/matchers engine to process incoming mail (all incoming mail is either discarded or immediately converted to XMPP and sent to XMPP server). System works, but there are many components that are not used and I'd prefer to have them disabled. I disabled imap and pop3 in config files. How can I disable other components that (as far as I know (?)) are not used in my set-up i.e. jackrabbit, activemq, derby?
>>
>> Thanks,
>> -Paul
>>
>> This email was sent to you by Thomson Reuters, the global news and information company. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Thomson Reuters.
>
>
> Hello Paul,
>
> I think you could comment out the respective configs. I will have to test to give you specifics. Could you be more precise as to which components are you referring?The mail-store and spam things come to my mind.
>
> Thanks,
>
> --
> Ioan Eugen Stan
> http://ieugen.blogspot.com/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
>
>
> This email was sent to you by Thomson Reuters, the global news and information company. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Thomson Reuters.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org

--
eric | http://about.echarles.net | @echarles

---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


This email was sent to you by Thomson Reuters, the global news and information company. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Thomson Reuters.

---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


Re: turning off unused services

Posted by Eric Charles <er...@apache.org>.
Hi,

You can comment in spring-server.xml all the the "Maibox" section.
All the james-mailbox*.jar libs are then useless and you can remove them.

However, you still need the userrepository and recipientrewritetable to 
let spooling work, so depending on your configuration 
(userrepository.conf or recipientrewritetable.conf), you will need 
openjpa (or jcr). Default in openjpa with embedded derby.

You will need activemq for spool, and the mailet(container) libraries.

For now, you also need the mailrepository configuration that allow the 
mailet to store spam, virus in the var folder. It's a rest from 2.3 
server architecture a we talked in a previous thread to remove this to 
use the mailbox (not the mailrepository) as unique storage system (read 
also http://james.apache.org/server/3/feature-persistence.html).

If you mailets really don't use the mailrepository compoments, you can 
try to remove/comment things out, but I'm pretty sure a class around 
will still ask for mailrepository injection.

Thx,

Eric

On 04/17/2012 12:01 AM, gabi.rosu@gmail.com wrote:
> Xv
> Sent from my BlackBerry device on the Rogers Wireless Network
>
> -----Original Message-----
> From:<Pa...@thomsonreuters.com>
> Date: Mon, 16 Apr 2012 20:14:50
> To:<se...@james.apache.org>
> Reply-To: "James Users List"<se...@james.apache.org>
> Subject: RE: turning off unused services
>
> Hello Ioan,
>
> I had in mind all the components which create entries in var directory. I don't think I need any of these.
>
> Thanks,
> -Paul
>
> -----Original Message-----
> From: Ioan Eugen Stan [mailto:stan.ieugen@gmail.com]
> Sent: Monday, April 16, 2012 4:12 PM
> To: James Users List
> Subject: Re: turning off unused services
>
> 2012/4/16<Pa...@thomsonreuters.com>:
>> I use james as a gateway to XMPP messaging. I don't need anything stored on the server, I just need to be able to send my mail and use mailets/matchers engine to process incoming mail (all incoming mail is either discarded or immediately converted to XMPP and sent to XMPP server). System works, but there are many components that are not used and I'd prefer to have them disabled. I disabled imap and pop3 in config files. How can I disable other components that (as far as I know (?)) are not used in my set-up i.e. jackrabbit, activemq, derby?
>>
>> Thanks,
>> -Paul
>>
>> This email was sent to you by Thomson Reuters, the global news and information company. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Thomson Reuters.
>
>
> Hello Paul,
>
> I think you could comment out the respective configs. I will have to test to give you specifics. Could you be more precise as to which components are you referring?The mail-store and spam things come to my mind.
>
> Thanks,
>
> --
> Ioan Eugen Stan
> http://ieugen.blogspot.com/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
>
>
> This email was sent to you by Thomson Reuters, the global news and information company. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Thomson Reuters.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org

-- 
eric | http://about.echarles.net | @echarles

---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


Re: turning off unused services

Posted by ga...@gmail.com.
Xv
Sent from my BlackBerry device on the Rogers Wireless Network

-----Original Message-----
From: <Pa...@thomsonreuters.com>
Date: Mon, 16 Apr 2012 20:14:50 
To: <se...@james.apache.org>
Reply-To: "James Users List" <se...@james.apache.org>
Subject: RE: turning off unused services

Hello Ioan,

I had in mind all the components which create entries in var directory. I don't think I need any of these.

Thanks,
-Paul

-----Original Message-----
From: Ioan Eugen Stan [mailto:stan.ieugen@gmail.com] 
Sent: Monday, April 16, 2012 4:12 PM
To: James Users List
Subject: Re: turning off unused services

2012/4/16  <Pa...@thomsonreuters.com>:
> I use james as a gateway to XMPP messaging. I don't need anything stored on the server, I just need to be able to send my mail and use mailets/matchers engine to process incoming mail (all incoming mail is either discarded or immediately converted to XMPP and sent to XMPP server). System works, but there are many components that are not used and I'd prefer to have them disabled. I disabled imap and pop3 in config files. How can I disable other components that (as far as I know (?)) are not used in my set-up i.e. jackrabbit, activemq, derby?
>
> Thanks,
> -Paul
>
> This email was sent to you by Thomson Reuters, the global news and information company. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Thomson Reuters.


Hello Paul,

I think you could comment out the respective configs. I will have to test to give you specifics. Could you be more precise as to which components are you referring?The mail-store and spam things come to my mind.

Thanks,

--
Ioan Eugen Stan
http://ieugen.blogspot.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


This email was sent to you by Thomson Reuters, the global news and information company. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Thomson Reuters.

---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


RE: turning off unused services

Posted by Pa...@thomsonreuters.com.
Hello Ioan,

I had in mind all the components which create entries in var directory. I don't think I need any of these.

Thanks,
-Paul

-----Original Message-----
From: Ioan Eugen Stan [mailto:stan.ieugen@gmail.com] 
Sent: Monday, April 16, 2012 4:12 PM
To: James Users List
Subject: Re: turning off unused services

2012/4/16  <Pa...@thomsonreuters.com>:
> I use james as a gateway to XMPP messaging. I don't need anything stored on the server, I just need to be able to send my mail and use mailets/matchers engine to process incoming mail (all incoming mail is either discarded or immediately converted to XMPP and sent to XMPP server). System works, but there are many components that are not used and I'd prefer to have them disabled. I disabled imap and pop3 in config files. How can I disable other components that (as far as I know (?)) are not used in my set-up i.e. jackrabbit, activemq, derby?
>
> Thanks,
> -Paul
>
> This email was sent to you by Thomson Reuters, the global news and information company. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Thomson Reuters.


Hello Paul,

I think you could comment out the respective configs. I will have to test to give you specifics. Could you be more precise as to which components are you referring?The mail-store and spam things come to my mind.

Thanks,

--
Ioan Eugen Stan
http://ieugen.blogspot.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


This email was sent to you by Thomson Reuters, the global news and information company. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Thomson Reuters.

---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


Re: turning off unused services

Posted by Ioan Eugen Stan <st...@gmail.com>.
2012/4/16  <Pa...@thomsonreuters.com>:
> I use james as a gateway to XMPP messaging. I don't need anything stored on the server, I just need to be able to send my mail and use mailets/matchers engine to process incoming mail (all incoming mail is either discarded or immediately converted to XMPP and sent to XMPP server). System works, but there are many components that are not used and I'd prefer to have them disabled. I disabled imap and pop3 in config files. How can I disable other components that (as far as I know (?)) are not used in my set-up i.e. jackrabbit, activemq, derby?
>
> Thanks,
> -Paul
>
> This email was sent to you by Thomson Reuters, the global news and information company. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Thomson Reuters.


Hello Paul,

I think you could comment out the respective configs. I will have to
test to give you specifics. Could you be more precise as to which
components are you referring?The mail-store and spam things come to my
mind.

Thanks,

-- 
Ioan Eugen Stan
http://ieugen.blogspot.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org