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...@apache.org> on 2003/06/05 23:55:32 UTC
FW: james docs wrong?
> -----Original Message-----
> From: Adam Neilson [mailto:adam@autonomous.co.uk]
> Sent: 05 June 2003 15:17
> To: Danny Angus
> Subject: james docs wrong?
>
>
> james smtp documentation states:
>
> "maxmessagesize - This is an optional tag with a non-negative integer
> body. It specifies the maximum size, in bytes, of any message that
> will be transmitted by this SMTP server. It is a service-wide, as
> opposed to a per user, limit. If the value is zero then there is no
> limit. If the tag isn't specified, the service will default to an
> unlimited message size"
>
> so i set the max size to 12582900 (for 12 meg)
>
> but when starting james, the smtp log says:
>
> 05/06/03 15:10:02 INFO smtpserver: The maximum allowed message size is
> 12884889600 bytes which is 12 gig!
>
> should the doc say KB instead?
>
RE: james docs wrong?
Posted by "Noel J. Bergman" <no...@devtech.com>.
Docs are clearly wrong:
maxMessageSize = handlerConfiguration.getChild(
"maxmessagesize" ).getValueAsLong( maxMessageSize ) * 1024;
I have had the max message size set to 3072 on my server.
--- Noel
> -----Original Message-----
> From: Adam Neilson [mailto:adam@autonomous.co.uk]
> Sent: 05 June 2003 15:17
> To: Danny Angus
> Subject: james docs wrong?
>
>
> james smtp documentation states:
>
> "maxmessagesize - This is an optional tag with a non-negative integer
> body. It specifies the maximum size, in bytes, of any message that
> will be transmitted by this SMTP server. It is a service-wide, as
> opposed to a per user, limit. If the value is zero then there is no
> limit. If the tag isn't specified, the service will default to an
> unlimited message size"
>
> so i set the max size to 12582900 (for 12 meg)
>
> but when starting james, the smtp log says:
>
> 05/06/03 15:10:02 INFO smtpserver: The maximum allowed message size is
> 12884889600 bytes which is 12 gig!
>
> should the doc say KB instead?
>
---------------------------------------------------------------------
To unsubscribe, e-mail: james-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: james-dev-help@jakarta.apache.org