[jira] [Created] (PROTOCOLS-101) OSGi Love

2013-01-05 Thread Ioan Eugen Stan (JIRA)
Ioan Eugen Stan created PROTOCOLS-101: - Summary: OSGi Love Key: PROTOCOLS-101 URL: https://issues.apache.org/jira/browse/PROTOCOLS-101 Project: James Protocols Issue Type: Bug

[jira] [Updated] (PROTOCOLS-101) OSGi Love

2013-01-05 Thread Ioan Eugen Stan (JIRA)
[ https://issues.apache.org/jira/browse/PROTOCOLS-101?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ioan Eugen Stan updated PROTOCOLS-101: -- Issue Type: Task (was: Bug) OSGi Love - Key:

[jira] [Created] (PROTOCOLS-102) Update dependencies to newer versions

2013-01-05 Thread Ioan Eugen Stan (JIRA)
Ioan Eugen Stan created PROTOCOLS-102: - Summary: Update dependencies to newer versions Key: PROTOCOLS-102 URL: https://issues.apache.org/jira/browse/PROTOCOLS-102 Project: James Protocols

[jira] [Created] (PROTOCOLS-103) Make OSGi bundles out of protocols

2013-01-05 Thread Ioan Eugen Stan (JIRA)
Ioan Eugen Stan created PROTOCOLS-103: - Summary: Make OSGi bundles out of protocols Key: PROTOCOLS-103 URL: https://issues.apache.org/jira/browse/PROTOCOLS-103 Project: James Protocols

svn commit: r1429245 - in /james/protocols/trunk: .gitignore api/pom.xml imap/pom.xml lmtp/pom.xml netty/pom.xml pom.xml pop3/pom.xml smtp/pom.xml

2013-01-05 Thread ieugen
Author: ieugen Date: Sat Jan 5 10:23:29 2013 New Revision: 1429245 URL: http://svn.apache.org/viewvc?rev=1429245view=rev Log: PROTOCOLS-102 Bumped version numbers * commons-net 3.2 * commons-lang 2.6 * mime4j 0.7.2 * commons-collection 3.2.1 * commons-codec 1.7 Added:

[jira] [Resolved] (PROTOCOLS-102) Update dependencies to newer versions

2013-01-05 Thread Ioan Eugen Stan (JIRA)
[ https://issues.apache.org/jira/browse/PROTOCOLS-102?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ioan Eugen Stan resolved PROTOCOLS-102. --- Resolution: Fixed Update dependencies to newer versions

[jira] [Commented] (PROTOCOLS-102) Update dependencies to newer versions

2013-01-05 Thread Ioan Eugen Stan (JIRA)
[ https://issues.apache.org/jira/browse/PROTOCOLS-102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13544655#comment-13544655 ] Ioan Eugen Stan commented on PROTOCOLS-102: --- PROTOCOLS-102 Bumped version

svn commit: r1429258 - in /james/protocols/trunk: api/pom.xml imap/pom.xml lmtp/pom.xml netty/pom.xml pom.xml pop3/pom.xml smtp/pom.xml

2013-01-05 Thread ieugen
Author: ieugen Date: Sat Jan 5 10:55:27 2013 New Revision: 1429258 URL: http://svn.apache.org/viewvc?rev=1429258view=rev Log: PROTOCOLS-103 Created OSGi bundles Modified: james/protocols/trunk/api/pom.xml james/protocols/trunk/imap/pom.xml james/protocols/trunk/lmtp/pom.xml

[jira] [Resolved] (PROTOCOLS-103) Make OSGi bundles out of protocols

2013-01-05 Thread Ioan Eugen Stan (JIRA)
[ https://issues.apache.org/jira/browse/PROTOCOLS-103?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ioan Eugen Stan resolved PROTOCOLS-103. --- Resolution: Fixed Make OSGi bundles out of protocols

svn commit: r1429276 [2/2] - in /james/server/trunk: ./ container-spring/ container-spring/src/main/java/org/apache/james/container/spring/bean/factory/mailrepositorystore/ data/data-file/src/main/jav

2013-01-05 Thread ieugen
Modified: james/server/trunk/protocols/protocols-smtp/src/main/java/org/apache/james/smtpserver/fastfail/ValidRcptMX.java URL:

[jira] [Commented] (JAMES-1460) Simplify pom and update some dependencies

2013-01-05 Thread Ioan Eugen Stan (JIRA)
[ https://issues.apache.org/jira/browse/JAMES-1460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13544697#comment-13544697 ] Ioan Eugen Stan commented on JAMES-1460: JAMES-1460 Updated dependencies and

[jira] [Commented] (JAMES-1460) Simplify pom and update some dependencies

2013-01-05 Thread Ioan Eugen Stan (JIRA)
[ https://issues.apache.org/jira/browse/JAMES-1460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13544704#comment-13544704 ] Ioan Eugen Stan commented on JAMES-1460: Made the build run 'with-assembly'

[jira] [Resolved] (JAMES-1460) Simplify pom and update some dependencies

2013-01-05 Thread Ioan Eugen Stan (JIRA)
[ https://issues.apache.org/jira/browse/JAMES-1460?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ioan Eugen Stan resolved JAMES-1460. Resolution: Fixed Simplify pom and update some dependencies

opening database connection in custom mailet

2013-01-05 Thread Rajender Vallapureddy
Hi Eric, I have a requirement where I need to open database connection within my custom mailet. Is there any connection API within james that I can use and make queries to the database. Would appreciate your help :) Thank you, Regards, Rajender

bounce mail messages

2013-01-05 Thread Rajender Vallapureddy
Hi Eric, I am writing a custom mailet and based on the condition, I might have to deny sending mail message and bounce it. My bounce method is getting called, but unable to bounce the mail message. I have written a helper class and implemented my bounce method. Following is the code. within

[jira] [Created] (POSTAGE-25) Fix compilation failure due to pom and new commons-configuration

2013-01-05 Thread Eric Charles (JIRA)
Eric Charles created POSTAGE-25: --- Summary: Fix compilation failure due to pom and new commons-configuration Key: POSTAGE-25 URL: https://issues.apache.org/jira/browse/POSTAGE-25 Project: James Postage

[jira] [Resolved] (POSTAGE-25) Fix compilation failure due to pom and new commons-configuration

2013-01-05 Thread Eric Charles (JIRA)
[ https://issues.apache.org/jira/browse/POSTAGE-25?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Charles resolved POSTAGE-25. - Resolution: Fixed Fix Version/s: 0.1 Fixed Fix compilation failure due

svn commit: r1429302 - in /james/postage/trunk: pom.xml src/main/java/org/apache/james/postage/configuration/ConfigurationLoader.java

2013-01-05 Thread eric
Author: eric Date: Sat Jan 5 15:01:53 2013 New Revision: 1429302 URL: http://svn.apache.org/viewvc?rev=1429302view=rev Log: Fix compilation failure due to pom and new commons-configuration (POSTAGE-25) Modified: james/postage/trunk/pom.xml

Re: opening database connection in custom mailet

2013-01-05 Thread Eric Charles
Hi, You should be able to use the jpa entityManagerFactory by defining a field in your mailet @PersistenceUnit private EntityManagerFactory entityManagerFactory; Invoke in your code to get an entityManager: EntityManager entityManager = entityManagerFactory.createEntityManager(); This will

Re: bounce mail messages

2013-01-05 Thread Eric Charles
Well, why don't you start from the existing Bounce mailet [1] (which extends AbstractNotify) rather than wrapping the MailetContext? Thx, Eric [1] https://svn.apache.org/repos/asf/james/server/trunk/mailets/src/main/java/org/apache/james/transport/mailets/Bounce.java On 05/01/2013 15:44,

Re: bounce mail messages

2013-01-05 Thread Rajender Vallapureddy
Hi Eric, Thank you for your help. I did as you suggested. I am getting the bounce mail, but also the original mail too. Following is my skeleton code of my mailet. public class CustomMailMailet extends AbstractNotify { @Override public void service(Mail mail) throws

Re: bounce mail messages

2013-01-05 Thread Eric Charles
With attachment tag begin 'none', you shouldn't have the original mail attached to the bounce mail. Can you try with attachError set to false? If it doesn't work out, you will have to debug. I do this ususally in eclipse and it's pretty powerful. The logic resides in AbstractRedirect (line