You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@james.apache.org by radjesh <ra...@yahoo.com> on 2005/04/03 09:52:39 UTC
Size limit of James mailbox and attachments
Hi,
Is there any way to set the upper limit size of the mailboxes created in Apache James or by default is there any size for the mailboxes?
Also whats the upper limit of the attachment that can be sent through James server? any restrictions on that. Can somebody share information on this?
Thanks in advance
Rajesh
...life is what we make it, always has been, always will be.
Good Day
---------------------------------
Yahoo! Messenger
Show us what our next emoticon should look like. Join the fun.
Re: Size limit of James mailbox and attachments
Posted by Vincenzo Gianferrari Pini <vi...@praxis.it>.
Just use the "RecipientIsOverFixedQuota" matcher.
A working example is the following:
...
<!-- Check if over quota -->
<mailet match="RecipientIsOverFixedQuota=60M" class="ToProcessor">
<processor>over-quota</processor>
<notice>Over 60MB quota</notice>
</mailet>
...
<!-- over-quota. -->
<processor name="over-quota">
<mailet match="All" class="Resend">
<sender>postmaster</sender>
<replyto>postmaster</replyto>
<reversePath>postmaster</reversePath>
<inline>none</inline>
<attachment>message</attachment>
<prefix>[OVER QUOTA WARNING]</prefix>
<message>
While receiving the attached message, your mailbox appears to have a
size exceeding 60MB. The mailbox will not be blocked, but we ask you to
reduce the amount of space used.
Please don't reply to this e-mail as it has been automatically sent by
the antivirus system.
Regards, Postmaster of acme.com
_____________________________________
</message>
</mailet>
</processor>
...
Vincenzo
radjesh wrote:
>Hi,
> Is there any way to set the upper limit size of the mailboxes created in Apache James or by default is there any size for the mailboxes?
>Also whats the upper limit of the attachment that can be sent through James server? any restrictions on that. Can somebody share information on this?
>
>Thanks in advance
>Rajesh
>
>
>
>
>...life is what we make it, always has been, always will be.
> Good Day
>
>
>
>
>
>
>
>---------------------------------
>Yahoo! Messenger
> Show us what our next emoticon should look like. Join the fun.
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org