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 Airton <ai...@unitau.br> on 2002/08/13 19:00:27 UTC

limits and features

hi

1. how to limit the message size?
2. is it possible to inform the sender (with a back message) that his
message reached the destination box and when that user open it (like
m$exchange, lotus etc) ?
3. james is able to run as a service on windows?

thanks


(sorry for my english: it is not my native language)



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


RE: Where can I find James packages ??!§

Posted by Danny Angus <da...@apache.org>.
Or download the current source distribution, which is what it is there
for...

> -----Original Message-----
> From: Noel J. Bergman [mailto:noel@devtech.com]
> Sent: 14 August 2002 15:47
> To: James Users List
> Subject: RE: Where can I find James packages ??!§
>
>
> You need the source.  If you are going to build, you probably want to use
> CVS, and copy the project out of the Jakarta CVS server.  See the web-site
> for details.
>
> 	--- Noel
>
>
> --
> 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: Where can I find James packages ??!§

Posted by "Noel J. Bergman" <no...@devtech.com>.
You need the source.  If you are going to build, you probably want to use
CVS, and copy the project out of the Jakarta CVS server.  See the web-site
for details.

	--- Noel


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


Where can I find James packages ??!§

Posted by Bicnic <mo...@laposte.net>.
I try to use some classes & method from James packages

eg : org.apache.james.Constants.SERVER_NAMES

But I can't compil my program because it don't find the packages. Iwould
like to configure my $CLASSPATH but I don't find the packages on my computer
!!

Must I download them ? and where, I didn't find them on the Apache site !!

thanks
Bicnic


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


Re: limits POP3

Posted by Matt Lachance <ma...@cs-live.com>.
At 04:01 PM 8/14/2002 +0200, you wrote:
> > once you perform the calculation and determine that an incoming email will
> > exceed your space limit, call
> >
> >          mail.setState(Mail.GHOST)
>
>what ?
>I didn't find this method. (not in the James API, Javamail and J2EE API..)

mailet API


> > to consume the mail.
> > if you want, you can even send a reply to the sender first.
> >
> > in other words, you have to write a mailet. :-)
>
>I don't understand very well what is mailet.... (i'm a newbie in James).

a mailet is a "plug-in" which extends the functionality of James.
please read the documentation at the site, FAQs and previous messages in 
this user group.
a good start on the site is Documentation|Configuration|Mailets.
i'm not aware of any better documentation other than what's on the site.

you can also download the src and look at LocalDelivery.java as a good example.
good luck.

>What can I do with it ?
>How to create a new mailet ? Must I write it in the config.xml file ?
>
>Thanks
>
>
>--
>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: limits POP3

Posted by Bicnic <mo...@laposte.net>.
> once you perform the calculation and determine that an incoming email will
> exceed your space limit, call
>
>          mail.setState(Mail.GHOST)

what ?
I didn't find this method. (not in the James API, Javamail and J2EE API..)

> to consume the mail.
> if you want, you can even send a reply to the sender first.
>
> in other words, you have to write a mailet. :-)

I don't understand very well what is mailet.... (i'm a newbie in James).
What can I do with it ?
How to create a new mailet ? Must I write it in the config.xml file ?

Thanks


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


Re: limits POP3

Posted by Matt Lachance <ma...@cs-live.com>.
At 03:32 PM 8/14/2002 +0200, you wrote:
> > i needed this functionality also but couldn't find anything in James.
> > so i implemented myself in mailet by executing a "SUM(LENGTH(" query.
> >
> > i did this every 10th email received (or so) for the mail account in
>question.
>
>
>But how do you stop a new email in the server when the user has more than
>the authorized limit ?
>That's the question.....

once you perform the calculation and determine that an incoming email will 
exceed your space limit, call

         mail.setState(Mail.GHOST)

to consume the mail.
if you want, you can even send a reply to the sender first.

in other words, you have to write a mailet. :-)



>--
>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: limits POP3

Posted by Bicnic <mo...@laposte.net>.
> i needed this functionality also but couldn't find anything in James.
> so i implemented myself in mailet by executing a "SUM(LENGTH(" query.
>
> i did this every 10th email received (or so) for the mail account in
question.


But how do you stop a new email in the server when the user has more than
the authorized limit ?
That's the question.....


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


RE: limits POP3

Posted by "Noel J. Bergman" <no...@devtech.com>.
This feature is not yet in James.  There are plans to do it after revising
the UserRepository, but if someone wants to volunteer to help ...

	--- Noel


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


Re: limits POP3

Posted by Matt Lachance <ma...@cs-live.com>.
i needed this functionality also but couldn't find anything in James.
so i implemented myself in mailet by executing a "SUM(LENGTH(" query.

i did this every 10th email received (or so) for the mail account in question.

not pretty and not without effort.

At 03:00 PM 8/14/2002 +0200, you wrote:

>Ah, you mean the total size of the whole mailbox. I'm sorry I 
>misunderstood. I'm afraid I can't figure that one out at the moment. Anyone?
>
>- Christian
>
>
>
>
>Bicnic wrote:
>
>>*This message was transferred with a trial version of CommuniGate(tm) Pro*
>>
>>>Well the SMTP server recieves and sends mail for the POP3 mailboxes. So
>>>that's all you need I think.
>>
>>>>><!-- This sets the maximum allowed message size for the smtphandler
>>>>>in KBytes. The value defaults to 0, which means no limit. -->
>>>>>
>>>>><maxmessagesize>10000</maxmessagesize>
>>And this is not just for one message ?
>>The limit size of one file is 10Mbytes but how much files can I have ? This
>>is not limited ?
>>I have the impression to be lost...
>>
>>--
>>To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
>>For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>
>--
>
>-- Christian Myrvold --
>
>email    mailto:christian@myrvold.info
>web      http://www.myrvold.info/
>
>- Mircosoft who?
>
>--
>
>
>--
>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: limits POP3

Posted by Christian Myrvold <ch...@myrvold.info>.
Ah, you mean the total size of the whole mailbox. I'm sorry I 
misunderstood. I'm afraid I can't figure that one out at the moment. Anyone?

- Christian




Bicnic wrote:

> *This message was transferred with a trial version of CommuniGate(tm) Pro*
> 
>>Well the SMTP server recieves and sends mail for the POP3 mailboxes. So
>>that's all you need I think.
>>
> 
>>>><!-- This sets the maximum allowed message size for the smtphandler
>>>>in KBytes. The value defaults to 0, which means no limit. -->
>>>>
>>>><maxmessagesize>10000</maxmessagesize>
>>>>
> 
> And this is not just for one message ?
> The limit size of one file is 10Mbytes but how much files can I have ? This
> is not limited ?
> I have the impression to be lost...
> 
> 
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
> 


-- 

-- Christian Myrvold --

email    mailto:christian@myrvold.info
web      http://www.myrvold.info/

- Mircosoft who?

--


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


Re: limits POP3

Posted by Airton <ai...@unitau.br>.
I've sent messages with more than a hundred of files but the total message
size hasn't reached the limit I've set on config, i.e., the sum of file
sizes attached to the message was less than that set on config...

But I'd like to know about a mailbox size limit, too...


----- Original Message -----
From: "Bicnic" <mo...@laposte.net>
To: "James Users List" <ja...@jakarta.apache.org>
Sent: Wednesday, August 14, 2002 9:51 AM
Subject: Re: limits POP3


> > Well the SMTP server recieves and sends mail for the POP3 mailboxes. So
> > that's all you need I think.
>
> > >><!-- This sets the maximum allowed message size for the smtphandler
> > >>in KBytes. The value defaults to 0, which means no limit. -->
> > >>
> > >><maxmessagesize>10000</maxmessagesize>
>
> And this is not just for one message ?
> The limit size of one file is 10Mbytes but how much files can I have ?
This
> is not limited ?
> I have the impression to be lost...
>
>
>
> --
> 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: limits POP3

Posted by Bicnic <mo...@laposte.net>.
> Well the SMTP server recieves and sends mail for the POP3 mailboxes. So
> that's all you need I think.

> >><!-- This sets the maximum allowed message size for the smtphandler
> >>in KBytes. The value defaults to 0, which means no limit. -->
> >>
> >><maxmessagesize>10000</maxmessagesize>

And this is not just for one message ?
The limit size of one file is 10Mbytes but how much files can I have ? This
is not limited ?
I have the impression to be lost...



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


Re: limits POP3

Posted by Christian Myrvold <ch...@myrvold.info>.
Well the SMTP server recieves and sends mail for the POP3 mailboxes. So 
that's all you need I think.

- Christian




Bicnic wrote:

> *This message was transferred with a trial version of CommuniGate(tm) Pro*
> 
>><!-- This sets the maximum allowed message size for the smtphandler
>>in KBytes. The value defaults to 0, which means no limit. -->
>>
>><maxmessagesize>10000</maxmessagesize>
>>
> 
> But this is for the SMTP server, not POP3 ?
> 
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
> 


-- 

-- Christian Myrvold --

email    mailto:christian@myrvold.info
web      http://www.myrvold.info/

- Mircosoft who?

--


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


Re: limits POP3

Posted by Bicnic <mo...@laposte.net>.
> <!-- This sets the maximum allowed message size for the smtphandler
> in KBytes. The value defaults to 0, which means no limit. -->
> 
> <maxmessagesize>10000</maxmessagesize>

But this is for the SMTP server, not POP3 ?


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


Re: limits POP3

Posted by Airton <ai...@unitau.br>.
Look for this on config.xml:


<!-- This sets the maximum allowed message size for the smtphandler
in KBytes. The value defaults to 0, which means no limit. -->

<maxmessagesize>10000</maxmessagesize>



----- Original Message -----
From: "Bicnic" <mo...@laposte.net>
To: "James Users List" <ja...@jakarta.apache.org>
Sent: Wednesday, August 14, 2002 9:25 AM
Subject: limits POP3


> How can I limit the POP3's box to 10Mbytes for each user?
> I don't find the line in the config.xml file.
>
> Thanks you
> Bicnic
>
>
> --
> 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: limits POP3

Posted by Danny Angus <da...@apache.org>.
Can't be done at present.
The maxmessagesize won't limit the size of mailboxes, only the maximum size
of an individual message entering the system

> -----Original Message-----
> From: Bicnic [mailto:moimoi.toi@laposte.net]
> Sent: 14 August 2002 13:26
> To: James Users List
> Subject: limits POP3
>
>
> How can I limit the POP3's box to 10Mbytes for each user?
> I don't find the line in the config.xml file.
>
> Thanks you
> Bicnic
>
>
> --
> 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>


limits POP3

Posted by Bicnic <mo...@laposte.net>.
How can I limit the POP3's box to 10Mbytes for each user?
I don't find the line in the config.xml file.

Thanks you
Bicnic


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


RE: limits and features

Posted by "Peter M. Goldstein" <pe...@yahoo.com>.

Aiden,

> 1. how to limit the message size?

This can be done by using the maxmessagesize parameter in the James
configuration under the SMTP server section.

> 2. is it possible to inform the sender (with a back message) that his
> message reached the destination box and when that user open it (like
> m$exchange, lotus etc) ?

You're referring to read and delivery receipts here.

Read receipts are a client generated phenomenon and interpreted
phenomenon.  The sending client program (i.e. Microsoft Outlook)
attaches a header to request a receipt and the receiving client program
generates a reply.  So in theory, and in the test I ran just now, that
all works.

Delivery receipts are another kettle of fish entirely.  As I understand
it, delivery receipts are processed by the server.  James doesn't do any
delivery receipt processing, and my recent test failed to elicit a
delivery receipt.

> 3. james is able to run as a service on windows?

Yep.  Please see the FAQ on the James site.  It describes the process of
setting up James to run as a service on Windows.

--Peter



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


RE: limits and features

Posted by Lindsay Smith <li...@wapdat.com>.
Another alternative is talked about a lot in the mail archives - look
through the James User mail archives for "javaservice".  You need to get a
copy of the "javaservice" program - I just checked and the web site where
you download it seems to be down.  If you can't get hold of the javaservice
program and want it, let me know and I'll check if I still have a copy at
work.

eg
http://www.mail-archive.com/james-user@jakarta.apache.org/msg01354.html



-----Original Message-----
From: sean@sentia.ie [mailto:sean@sentia.ie]
Sent: 14 August 2002 04:21
To: 'Airton'; 'James Users List'
Subject: RE: limits and features


my sieve like memory fails me again,

looks like its just called 'the java service wrapper'

sourceforge page is

http://sourceforge.net/projects/wrapper/

I've used it for a few small apps and it does the trick,
it also supports unix, restarting the jvm in the event of a crash and such.

Sean

-----Original Message-----
From: Airton [mailto:airton@unitau.br]
Sent: 13 August 2002 11:17
To: James Users List; sean@sentia.ie
Subject: Re: limits and features


i couldn't find neither on sourceforge or on google for "jsrvnt".
are you sure about that?


----- Original Message -----
From: <se...@sentia.ie>
To: "'James Users List'" <ja...@jakarta.apache.org>
Sent: Tuesday, August 13, 2002 10:50 PM
Subject: RE: limits and features


> if you use jsrvnt  (its on sourceforge) , you can run james ( or any java
> app for that matter)
> as a java service.
>
> -----Original Message-----
> From: Airton [mailto:airton@unitau.br]
> Sent: 13 August 2002 10:00
> To: James Users List
> Subject: limits and features
>
>
> hi
>
> 1. how to limit the message size?
> 2. is it possible to inform the sender (with a back message) that his
> message reached the destination box and when that user open it (like
> m$exchange, lotus etc) ?
> 3. james is able to run as a service on windows?
>
> thanks
>
>
> (sorry for my english: it is not my native language)
>
>
>
> --
> 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>





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


RE: limits and features

Posted by se...@sentia.ie.
my sieve like memory fails me again,

looks like its just called 'the java service wrapper'

sourceforge page is

http://sourceforge.net/projects/wrapper/

I've used it for a few small apps and it does the trick,
it also supports unix, restarting the jvm in the event of a crash and such.

Sean

-----Original Message-----
From: Airton [mailto:airton@unitau.br]
Sent: 13 August 2002 11:17
To: James Users List; sean@sentia.ie
Subject: Re: limits and features


i couldn't find neither on sourceforge or on google for "jsrvnt".
are you sure about that?


----- Original Message -----
From: <se...@sentia.ie>
To: "'James Users List'" <ja...@jakarta.apache.org>
Sent: Tuesday, August 13, 2002 10:50 PM
Subject: RE: limits and features


> if you use jsrvnt  (its on sourceforge) , you can run james ( or any java
> app for that matter)
> as a java service.
>
> -----Original Message-----
> From: Airton [mailto:airton@unitau.br]
> Sent: 13 August 2002 10:00
> To: James Users List
> Subject: limits and features
>
>
> hi
>
> 1. how to limit the message size?
> 2. is it possible to inform the sender (with a back message) that his
> message reached the destination box and when that user open it (like
> m$exchange, lotus etc) ?
> 3. james is able to run as a service on windows?
>
> thanks
>
>
> (sorry for my english: it is not my native language)
>
>
>
> --
> 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>


Re: limits and features

Posted by Airton <ai...@unitau.br>.
i couldn't find neither on sourceforge or on google for "jsrvnt".
are you sure about that?


----- Original Message -----
From: <se...@sentia.ie>
To: "'James Users List'" <ja...@jakarta.apache.org>
Sent: Tuesday, August 13, 2002 10:50 PM
Subject: RE: limits and features


> if you use jsrvnt  (its on sourceforge) , you can run james ( or any java
> app for that matter)
> as a java service.
>
> -----Original Message-----
> From: Airton [mailto:airton@unitau.br]
> Sent: 13 August 2002 10:00
> To: James Users List
> Subject: limits and features
>
>
> hi
>
> 1. how to limit the message size?
> 2. is it possible to inform the sender (with a back message) that his
> message reached the destination box and when that user open it (like
> m$exchange, lotus etc) ?
> 3. james is able to run as a service on windows?
>
> thanks
>
>
> (sorry for my english: it is not my native language)
>
>
>
> --
> 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>


RE: limits and features

Posted by se...@sentia.ie.
if you use jsrvnt  (its on sourceforge) , you can run james ( or any java
app for that matter)
as a java service.

-----Original Message-----
From: Airton [mailto:airton@unitau.br]
Sent: 13 August 2002 10:00
To: James Users List
Subject: limits and features


hi

1. how to limit the message size?
2. is it possible to inform the sender (with a back message) that his
message reached the destination box and when that user open it (like
m$exchange, lotus etc) ?
3. james is able to run as a service on windows?

thanks


(sorry for my english: it is not my native language)



--
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>