[jira] Updated: (JAMES-465) Check for valid sender domain in mail from

2006-04-20 Thread Norman Maurer (JIRA)
[ http://issues.apache.org/jira/browse/JAMES-465?page=all ] Norman Maurer updated JAMES-465: Attachment: MailFrom-rfc-fix-all.patch This patch change the behavior to the above descripted. > Check for valid sender domain in mail from > --

[jira] Reopened: (JAMES-465) Check for valid sender domain in mail from

2006-04-20 Thread Norman Maurer (JIRA)
[ http://issues.apache.org/jira/browse/JAMES-465?page=all ] Norman Maurer reopened JAMES-465: - After rereading rfc a note that if "NO MX record" is found for a domain a MailServer should try to deliver it to the "A record" of the domain. So we should c

Re: [jira] Resolved: (JAMES-477) Configure option to disable heloEhloEnforcement to be compatible with james < 2.3.0

2006-04-20 Thread Norman Maurer
Should we maybe throw a exception if someone has set true but has false set too ? Otherwise this check cann simple passed by not sending a helo/ehlo at all. What you guys think ? bye Am Samstag, den 15.04.2006, 18:26 +0200 schrieb Norman Maurer: > I add some logs.. maybe we found something

RE: Hessian mailet

2006-04-20 Thread Steve Brewin
Serge Knystautas wrote: > > Guys, > > I was going to commit this, but wanted to run it by you just since it > introduces another dependency. Ugh! Surely this is an optional feature. If people want to use it only then should they need to add the dependencies. If and when we move to OSGi, choosing

Re: Hessian mailet

2006-04-20 Thread Serge Knystautas
On 4/20/06, Bernd Fondermann <[EMAIL PROTECTED]> wrote: > interesting aspect to have a RPC-mailet. maybe this could be done with a > more generic approach: a mailet which takes as configuration parameters > a. a jar (hessian.jar, activemq.jar, whatever is neccessary) which it > loads on its own > a

Re: svn commit: r395645 - in /james/server/trunk/src: java/org/apache/james/transport/LinearProcessor.java test/org/apache/james/test/mock/james/MockMailRepository.java test/org/apache/james/transport

2006-04-20 Thread Stefano Bagnara
Noel J. Bergman wrote: +++ james/server/trunk/src/java/org/apache/james/transport/LinearProcessor.java // and store it in the next spot Mail notMail = new MailImpl(mail,newName(mail)); notMail.setRecipients(notRecipients); +notMa

Re: Hessian mailet

2006-04-20 Thread Bernd Fondermann
interesting aspect to have a RPC-mailet. maybe this could be done with a more generic approach: a mailet which takes as configuration parameters a. a jar (hessian.jar, activemq.jar, whatever is neccessary) which it loads on its own and b. a class contained within the jar which is instantiated by

RE: svn commit: r395645 - in /james/server/trunk/src: java/org/apache/james/transport/LinearProcessor.java test/org/apache/james/test/mock/james/MockMailRepository.java test/org/apache/james/transport

2006-04-20 Thread Noel J. Bergman
+++ james/server/trunk/src/java/org/apache/james/transport/LinearProcessor.java // and store it in the next spot Mail notMail = new MailImpl(mail,newName(mail)); notMail.setRecipients(notRecipients); +notMail.setState(mail.getState

[jira] Resolved: (JAMES-482) incorrect state on duplicate mail (LinearProcessor)

2006-04-20 Thread Stefano Bagnara (JIRA)
[ http://issues.apache.org/jira/browse/JAMES-482?page=all ] Stefano Bagnara resolved JAMES-482: --- Fix Version: 2.3.0a2 Resolution: Fixed Added a test and applied the fix. I decided to change only the linearprocessor because when other code clo

[jira] Updated: (JAMES-482) incorrect state on duplicate mail (LinearProcessor)

2006-04-20 Thread Stefano Bagnara (JIRA)
[ http://issues.apache.org/jira/browse/JAMES-482?page=all ] Stefano Bagnara updated JAMES-482: -- Version: 2.3.0a1 2.2.0 Priority: Critical (was: Minor) Increased the priority to critical: this change the way mail processing is done t

svn commit: r395645 - in /james/server/trunk/src: java/org/apache/james/transport/LinearProcessor.java test/org/apache/james/test/mock/james/MockMailRepository.java test/org/apache/james/transport/Lin

2006-04-20 Thread bago
Author: bago Date: Thu Apr 20 10:19:52 2006 New Revision: 395645 URL: http://svn.apache.org/viewcvs?rev=395645&view=rev Log: Test and fix for critical bug (JAMES-482) in linear processor for processors other than "root" and multiple matchers/mailets. Thanks to Norman Maurer for reporting it and f

JAMES tutorial accepted for ApacheCon Euro 2006

2006-04-20 Thread Anagha Mudigonda
Hello All, Our 1/2 day tutorial on "Developing command handlers and fastfail plugins for Apache JAMES" got accepted for the apache Euro conference. http://www.eu.apachecon.com/konferenzen/psecom,id,488,track,5,nodeid,,_language,uk.html#session-moh4 Anagha Mudigonda (Myself): I had contributed to f

[jira] Created: (JAMES-483) Write unittests for SPF

2006-04-20 Thread Stefano Bagnara (JIRA)
Write unittests for SPF --- Key: JAMES-483 URL: http://issues.apache.org/jira/browse/JAMES-483 Project: James Type: Test Components: SMTPServer Versions: 2.3.0a1 Reporter: Stefano Bagnara Assigned to: Stefano Bagnara Priorit

Re: Hessian mailet

2006-04-20 Thread Serge Knystautas
On 4/19/06, Noel J. Bergman <[EMAIL PROTECTED]> wrote: > > it introduces another dependency. > > I'd rather not introduce that dependency. HOWEVER, we have been talking > about the fact that we have much better support for multiple Mailet > packages, and I would be +1 to add this to an OPTIONAL ma

Re: SPF Handler

2006-04-20 Thread Norman Maurer
I will have a closer look later :-) Thx. bye Am Donnerstag, den 20.04.2006, 13:10 +0200 schrieb Stefano Bagnara: > Norman Maurer wrote: > > is it a problem if i use some code fof the current james project ? > > I must check for subnets etc. This util class does it in a nice way: > > org/apache/ja

Re: SPF Handler

2006-04-20 Thread Stefano Bagnara
Norman Maurer wrote: is it a problem if i use some code fof the current james project ? I must check for subnets etc. This util class does it in a nice way: org/apache/james/util/NetMatcher.java. Is there any problem if i put the class also in the SPF package and use this ? I would "clone" the

Re: SPF Handler

2006-04-20 Thread Norman Maurer
is it a problem if i use some code fof the current james project ? I must check for subnets etc. This util class does it in a nice way: org/apache/james/util/NetMatcher.java. Is there any problem if i put the class also in the SPF package and use this ? bye Am Donnerstag, den 20.04.2006, 10:54 +

[jira] Assigned: (JAMES-482) incorrect state on duplicate mail (LinearProcessor)

2006-04-20 Thread Stefano Bagnara (JIRA)
[ http://issues.apache.org/jira/browse/JAMES-482?page=all ] Stefano Bagnara reassigned JAMES-482: - Assign To: Stefano Bagnara > incorrect state on duplicate mail (LinearProcessor) > --- > > Key

Re: [jira] Commented: (JAMES-482) incorrect state on duplicate mail (LinearProcessor)

2006-04-20 Thread Norman Maurer
Thats right. Just write the tests. I will start with the SPF Code. bye Am Donnerstag, den 20.04.2006, 10:58 +0200 schrieb Stefano Bagnara: > Norman Maurer wrote: > > Yeah, > > plz write the test. Also what we should do with SPF now ? Rewrite the > > whole think ? just try to fix the problems ? Ho

Re: [jira] Commented: (JAMES-482) incorrect state on duplicate mail (LinearProcessor)

2006-04-20 Thread Stefano Bagnara
Norman Maurer wrote: Yeah, plz write the test. Also what we should do with SPF now ? Rewrite the whole think ? just try to fix the problems ? How you think about it ? I don't like how it is coded :-( I didn't check the SPF code, I don't know what it is better to do. I think this time we should

[jira] Commented: (JAMES-482) incorrect state on duplicate mail (LinearProcessor)

2006-04-20 Thread Stefano Bagnara (JIRA)
[ http://issues.apache.org/jira/browse/JAMES-482?page=comments#action_12375296 ] Stefano Bagnara commented on JAMES-482: --- "t" is the LinearProcessor in that test. It could be changed so that most of setUp and tearDown code is moved directly in the tes

Re: SPF Handler

2006-04-20 Thread Norman Maurer
That sounds nice :-) I will create my own SPF package based on the SPFJava. But i will try to rework it to be a bit more "straight forward" . thx Am Donnerstag, den 20.04.2006, 10:51 +0200 schrieb Stefano Bagnara: > The best way to start would be to write a JUnit test to read this file: > http://

Re: SPF Handler

2006-04-20 Thread Stefano Bagnara
The best way to start would be to write a JUnit test to read this file: http://www.schlitt.net/spf/tests/tests_v2.1/test.txt and be able to run all the tests in java. If you need help, I can write the basic unitest thing so you can work directly on the spf code (I could find the time to do this

Re: [jira] Commented: (JAMES-482) incorrect state on duplicate mail (LinearProcessor)

2006-04-20 Thread Norman Maurer
Yeah, plz write the test. Also what we should do with SPF now ? Rewrite the whole think ? just try to fix the problems ? How you think about it ? I don't like how it is coded :-( bye Am Donnerstag, den 20.04.2006, 10:43 +0200 schrieb Stefano Bagnara: > he test and check > what the best fix is f

Re: [jira] Commented: (JAMES-482) incorrect state on duplicate mail (LinearProcessor)

2006-04-20 Thread Stefano Bagnara
Hi Norman, if you prefer to work on the SPF side I can write the test and check what the best fix is for this issue. Let me know, so we don't work on the same issue :-) Stefano Stefano Bagnara (JIRA) wrote: [ http://issues.apache.org/jira/browse/JAMES-482?page=comments#action_12375289 ]

[jira] Commented: (JAMES-482) incorrect state on duplicate mail (LinearProcessor)

2006-04-20 Thread Norman Maurer (JIRA)
[ http://issues.apache.org/jira/browse/JAMES-482?page=comments#action_12375292 ] Norman Maurer commented on JAMES-482: - I will have a look. Maybe i can write a unit test. > incorrect state on duplicate mail (LinearProcessor) > -

[jira] Commented: (JAMES-482) incorrect state on duplicate mail (LinearProcessor)

2006-04-20 Thread Bernd Fondermann (JIRA)
[ http://issues.apache.org/jira/browse/JAMES-482?page=comments#action_12375291 ] Bernd Fondermann commented on JAMES-482: Maybe LinearProcessorTest could be of use for that? Seems like it does set up mailets and works with them. > incorrect state

[jira] Commented: (JAMES-482) incorrect state on duplicate mail (LinearProcessor)

2006-04-20 Thread Stefano Bagnara (JIRA)
[ http://issues.apache.org/jira/browse/JAMES-482?page=comments#action_12375289 ] Stefano Bagnara commented on JAMES-482: --- Look at the LinearProcessorTest I wrote to prove JAMES-421. I'm also not sure about the best of the 2 solutions. Fixing the "dupl

[jira] Commented: (JAMES-482) incorrect state on duplicate mail (LinearProcessor)

2006-04-20 Thread Norman Maurer (JIRA)
[ http://issues.apache.org/jira/browse/JAMES-482?page=comments#action_12375287 ] Norman Maurer commented on JAMES-482: - I will have a look but not sure how to write this :-( > incorrect state on duplicate mail (LinearProcessor) > ---

[jira] Commented: (JAMES-482) incorrect state on duplicate mail (LinearProcessor)

2006-04-20 Thread Bernd Fondermann (JIRA)
[ http://issues.apache.org/jira/browse/JAMES-482?page=comments#action_12375283 ] Bernd Fondermann commented on JAMES-482: it would be great to have a unit test reproducing this. > incorrect state on duplicate mail (LinearProcessor) > ---

RE: SPF Handler

2006-04-20 Thread Norman Maurer
Am Mittwoch, den 19.04.2006, 20:50 +0100 schrieb Steve Brewin: > Norman Maurer wrote: > > > > Am Mittwoch, den 19.04.2006, 12:42 -0400 schrieb Noel J. Bergman: > > > > i think : org.apache.james.util.mail.spf > > > > > > I think org.apache.spf for the main code, and > > org.apache.james.util.mail.

[jira] Created: (JAMES-482) incorrect state on duplicate mail (LinearProcessor)

2006-04-20 Thread Norman Maurer (JIRA)
incorrect state on duplicate mail (LinearProcessor) --- Key: JAMES-482 URL: http://issues.apache.org/jira/browse/JAMES-482 Project: James Type: Bug Components: SpoolManager & Processors Reporter: Norman Maurer