Re: Re: Re: How to do limitation space of mailbox

2011-02-13 Thread Barry Bai
Hi, I just added the below content in mailetcontainer.xml: bounces When the space overs the quota, the DSNBounce will be invoked, but there is a NPE. Is there any mistake in my configuration? the stack is as below: java.lang.NullPointerException at java.util.regex.Matc

Re: Re: Re: How to do limitation space of mailbox

2011-02-13 Thread Barry Bai
I have created a issue JAMES-1193, but I don't have svn right, so please commit the source file in svn. Thanks. 2011-02-14 Barry Bai 发件人: Norman Maurer 发送时间: 2011-02-14 14:03:40 收件人: James Developers List 抄送: James Users List 主题: Re: Re: How to do limitation space of mailbox Hi

[jira] Updated: (JAMES-1193) Some wrong in AbstractStorageQuota.java

2011-02-13 Thread Barry (JIRA)
[ https://issues.apache.org/jira/browse/JAMES-1193?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Barry updated JAMES-1193: - Summary: Some wrong in AbstractStorageQuota.java (was: Some wrong is AbstractQuota) > Some wrong in AbstractSto

[jira] Created: (JAMES-1193) Some wrong is AbstractQuota

2011-02-13 Thread Barry (JIRA)
Some wrong is AbstractQuota --- Key: JAMES-1193 URL: https://issues.apache.org/jira/browse/JAMES-1193 Project: JAMES Server Issue Type: Bug Components: Mailet Contributions Affects Versions: 3.0-M2

Re: Re: Re: How to do limitation space of mailbox

2011-02-13 Thread Norman Maurer
Hi there, you will need to call the "DNSBounce" mailet after match your Matcher. See: http://james.apache.org/server/3/dev-provided-mailets.html Bye, Norman 2011/2/14 Barry Bai : > Sorry, I was wrong, although the Quota matcher is working, when overing > quota, the mail can still be stored

Re: Re: How to do limitation space of mailbox

2011-02-13 Thread Norman Maurer
Hi there, would you mind filling a bug and attach the fix ? https://issues.apache.org/jira/browse/JAMES Bye, Norman 2011/2/14 Barry Bai : > Hi, I have fixed some wrong in the AbstractStorageQuota.java and it is > working now. Next step is do some optimizing and add some cach mechanism. > > Than

Re: Re: Re: How to do limitation space of mailbox

2011-02-13 Thread Barry Bai
Sorry, I was wrong, although the Quota matcher is working, when overing quota, the mail can still be stored. I think when overing quota, James should reject the mail and notify sender, right? I don't know how to implement this. Thanks. 2011-02-14 Barry Bai 发件人: Barry Bai 发送时间: 2011-02

Re: Re: How to do limitation space of mailbox

2011-02-13 Thread Barry Bai
Hi, I have fixed some wrong in the AbstractStorageQuota.java and it is working now. Next step is do some optimizing and add some cach mechanism. Thanks for Eric and Norman's help. 2011-02-14 Barry Bai 发件人: Norman Maurer 发送时间: 2011-02-11 18:32:44 收件人: James Users List 抄送: 主题: Re: How

Re: [jira] Created: (IMAP-258) FetchProcessor optimization for mailboxes with non compacted UIDs

2011-02-13 Thread Norman Maurer
Hi there, thats what I had in mind too.. But for that to work efficiently your mailbox implementation would need to support async fetching if it does not you will see an OOM soon. Maybe we could also do something smart with SelectedMailbox. In SelectedMailbox we already know which uids exists so w

[jira] Assigned: (IMAP-258) FetchProcessor optimization for mailboxes with non compacted UIDs

2011-02-13 Thread Wojtek Strzalka (JIRA)
[ https://issues.apache.org/jira/browse/IMAP-258?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wojtek Strzalka reassigned IMAP-258: Assignee: Wojtek Strzalka > FetchProcessor optimization for mailboxes with non compacted UIDs

[jira] Assigned: (IMAP-256) XLIST feature doesn't return folder types

2011-02-13 Thread Wojtek Strzalka (JIRA)
[ https://issues.apache.org/jira/browse/IMAP-256?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wojtek Strzalka reassigned IMAP-256: Assignee: Wojtek Strzalka > XLIST feature doesn't return folder types > -