[jira] Created: (JAMES-562) Aliasmanagment should not depend on a user

2006-07-09 Thread Norman Maurer (JIRA)
Aliasmanagment should not depend on a user --- Key: JAMES-562 URL: http://issues.apache.org/jira/browse/JAMES-562 Project: James Type: Improvement Reporter: Norman Maurer If someone want to set a alias he must create a

Re: (JAMES-561) User aliasing does not work

2006-07-09 Thread Norman Maurer
Mornin Noel, you are right. I was wrong.. I used 2 rcpts to test at the same time. One was the alias and one was user. So i maybe looked at the wrong log :-( Anyway just tested your fix and it works fine.. bye Norman Am Sonntag, den 09.07.2006, 23:42 -0400 schrieb Noel J. Bergman: > I just fou

[jira] Resolved: (JAMES-561) User aliasing does not work

2006-07-09 Thread Noel J. Bergman (JIRA)
[ http://issues.apache.org/jira/browse/JAMES-561?page=all ] Noel J. Bergman resolved JAMES-561: --- Fix Version: 2.3.0 3.0 Resolution: Fixed Committed fix to both trunk and v2.3 branch. The check for an aliased name had the wr

svn commit: r420417 - /james/server/branches/v2.3/src/java/org/apache/james/transport/mailets/UsersRepositoryAliasingForwarding.java

2006-07-09 Thread noel
Author: noel Date: Sun Jul 9 21:13:36 2006 New Revision: 420417 URL: http://svn.apache.org/viewvc?rev=420417&view=rev Log: Copy fix for JAMES-561 from trunk. Added: james/server/branches/v2.3/src/java/org/apache/james/transport/mailets/UsersRepositoryAliasingForwarding.java - copied u

svn commit: r420416 - /james/server/branches/v2.3/src/java/org/apache/james/transport/mailets/UsersRepositoryAliasingForwarding.java

2006-07-09 Thread noel
Author: noel Date: Sun Jul 9 21:10:37 2006 New Revision: 420416 URL: http://svn.apache.org/viewvc?rev=420416&view=rev Log: Remove in order to copy replacement from trunk Removed: james/server/branches/v2.3/src/java/org/apache/james/transport/mailets/UsersRepositoryAliasingForwarding.java

svn commit: r420415 - /james/server/trunk/src/java/org/apache/james/transport/mailets/UsersRepositoryAliasingForwarding.java

2006-07-09 Thread noel
Author: noel Date: Sun Jul 9 21:08:16 2006 New Revision: 420415 URL: http://svn.apache.org/viewvc?rev=420415&view=rev Log: Fix JAMES-561. Check was comparing for the name being EQUAL instead of NOT EQUAL (changed) Modified: james/server/trunk/src/java/org/apache/james/transport/mailets/Us

(JAMES-561) User aliasing does not work

2006-07-09 Thread Noel J. Bergman
I just found and fixed it. Unfortunately, I'm 30,000 feet in the air, but as soon as I land in LA this evening (about 4 hours from now), I'll commit the fix, unless someone has beaten me to it. > Norman observed on IM that "The problem is that > ((JamesUser) user).getAliasing() return false."

[jira] Commented: (JAMES-561) User aliasing does not work

2006-07-09 Thread Noel J. Bergman (JIRA)
[ http://issues.apache.org/jira/browse/JAMES-561?page=comments#action_12419928 ] Noel J. Bergman commented on JAMES-561: --- Just to keep people following this in the loop, Norman observed on IM that "The problem is that ((JamesUser) user).getAliasing()

[jira] Assigned: (JAMES-561) User aliasing does not work

2006-07-09 Thread Norman Maurer (JIRA)
[ http://issues.apache.org/jira/browse/JAMES-561?page=all ] Norman Maurer reassigned JAMES-561: --- Assign To: Norman Maurer > User aliasing does not work > --- > > Key: JAMES-561 > URL: http://issues.apache.org/j

[jira] Commented: (JAMES-561) User aliasing does not work

2006-07-09 Thread Norman Maurer (JIRA)
[ http://issues.apache.org/jira/browse/JAMES-561?page=comments#action_12419917 ] Norman Maurer commented on JAMES-561: - After some debug it seems that the UsersRepositoryAliasingForwarding Mailet get not called. No time now to investigate time on this n

[jira] Assigned: (JAMES-559) Message body get lost after call saveChanges() and move to other processor

2006-07-09 Thread Stefano Bagnara (JIRA)
[ http://issues.apache.org/jira/browse/JAMES-559?page=all ] Stefano Bagnara reassigned JAMES-559: - Assign To: Stefano Bagnara > Message body get lost after call saveChanges() and move to other processor > -

Re: Testing for production [was: Re: Blocking defect for JAMESv2.3]

2006-07-09 Thread Bernd Fondermann
Noel J. Bergman wrote: Perhaps adding BSF (or JSR-223) support to Postage would be a good thing. Postage providing core capabilities, and allowing scripting for tests. OK, good idea. I'd like to have standard tests, like checking headers, built into Postage directly and provide scripting for

[jira] Commented: (JAMES-559) Message body get lost after call saveChanges() and move to other processor

2006-07-09 Thread Noel J. Bergman (JIRA)
[ http://issues.apache.org/jira/browse/JAMES-559?page=comments#action_12419912 ] Noel J. Bergman commented on JAMES-559: --- This appears to be a side-effect of optimizing message handling. Since the message is not in memory, we lose it when we call sr.

RE: Blocking defect for JAMES v2.3

2006-07-09 Thread Noel J. Bergman
Norman Maurer wrote: > So the problem only appears after call saveChanges() in a mailet and > "move" it to a other processor ? It appears to happen whenever you change a header and not the body. A defect in how we optimized message handling. --- Noel --

RE: Testing for production [was: Re: Blocking defect for JAMES v2.3]

2006-07-09 Thread Noel J. Bergman
Bernd Fondermann wrote: > > Bernd, we should have some round-trip testing that would detect > > this sort of problem. :-) > What Postage today is already helpful at is building a "clean room" > environment. All mail is kept within. This is good for debugging or > staging to production. I know.

RE: Testing for production [was: Re: Blocking defect for JAMESv2.3]

2006-07-09 Thread Noel J. Bergman
Norman Maurer wrote: > IMHO such a "debugging" should be better done with JUNIT tests... > Postage is great for "performance tests" etc.. JUNIT testing is not the same as an external test harness. We should be able to drive a test from SMTP connection through to POP3 or IMAP. So Postage could s

RE: Blocking defect for JAMES v2.3

2006-07-09 Thread Noel J. Bergman
Stefano Bagnara wrote: > I'm working on it but I cannot reproduce it using a mock environment yet. See the below. All I did was telnet into JAMES and post a sample message, and in the root processor I used SetMimeHeader. --- Noel Index: src/java/org/apache/james/mailrepository/AvalonM

[jira] Created: (JAMES-561) User aliasing does not work

2006-07-09 Thread Vincenzo Gianferrari Pini (JIRA)
User aliasing does not work --- Key: JAMES-561 URL: http://issues.apache.org/jira/browse/JAMES-561 Project: James Type: Bug Components: Matchers/Mailets (bundled) Versions: 3.0, 2.3.0b2 Reporter: Vincenzo Gianferrari Pini

[jira] Resolved: (JAMES-560) SetMimeHeader not throw an MessagingException if needed config values missed

2006-07-09 Thread Norman Maurer (JIRA)
[ http://issues.apache.org/jira/browse/JAMES-560?page=all ] Norman Maurer resolved JAMES-560: - Resolution: Fixed > SetMimeHeader not throw an MessagingException if needed config values missed > ---

svn commit: r420289 - /james/server/branches/v2.3/src/java/org/apache/james/transport/mailets/SetMimeHeader.java

2006-07-09 Thread norman
Author: norman Date: Sun Jul 9 06:02:12 2006 New Revision: 420289 URL: http://svn.apache.org/viewvc?rev=420289&view=rev Log: Throw MessagingException if needed config values missed. See JAMES-560 Modified: james/server/branches/v2.3/src/java/org/apache/james/transport/mailets/SetMimeHeader.

svn commit: r420286 - /james/server/trunk/src/java/org/apache/james/transport/mailets/SetMimeHeader.java

2006-07-09 Thread norman
Author: norman Date: Sun Jul 9 06:00:14 2006 New Revision: 420286 URL: http://svn.apache.org/viewvc?rev=420286&view=rev Log: Throw MessagingException if needed config values missed. See JAMES-560 Modified: james/server/trunk/src/java/org/apache/james/transport/mailets/SetMimeHeader.java Mo

[jira] Created: (JAMES-560) SetMimeHeader not throw an MessagingException if needed config values missed

2006-07-09 Thread Norman Maurer (JIRA)
SetMimeHeader not throw an MessagingException if needed config values missed Key: JAMES-560 URL: http://issues.apache.org/jira/browse/JAMES-560 Project: James Type: Bug Components: Matche

[jira] Commented: (JAMES-559) Message body get lost after call saveChanges() and move to other processor

2006-07-09 Thread Norman Maurer (JIRA)
[ http://issues.apache.org/jira/browse/JAMES-559?page=comments#action_12419903 ] Norman Maurer commented on JAMES-559: - After more testing it seems that the problem appears only with file repos. I tested it also with db and dbfile. No problem .. > Mes

Re: Testing for production [was: Re: Blocking defect for JAMES v2.3]

2006-07-09 Thread Bernd Fondermann
Norman Maurer wrote: Am Sonntag, den 09.07.2006, 12:25 +0200 schrieb Bernd Fondermann: Noel J. Bergman wrote: Bernd, we should have some round-trip testing that would detect this sort of problem. :-) What Postage today is already helpful at is building a "clean room" environment. All mail

Re: Blocking defect for JAMES v2.3

2006-07-09 Thread Stefano Bagnara
Norman Maurer wrote: So the problem only appears after call saveChanges() in a mailet and "move" it to a other processor ? That whould explain why i not notice it on our Server .. Someone wrote a junit test for this so far? I'm working on it but I cannot reproduce it using a mock environment y

[jira] Commented: (JAMES-559) Message body get lost after call saveChanges() and move to other processor

2006-07-09 Thread Norman Maurer (JIRA)
[ http://issues.apache.org/jira/browse/JAMES-559?page=comments#action_12419902 ] Norman Maurer commented on JAMES-559: - Noel wrote in mailinglist: OK, here is a scenario to reproduce. In the root processor, add: LogMessage ToRepository (pre-header

[jira] Created: (JAMES-559) Message body get lost after call saveChanges() and move to other processor

2006-07-09 Thread Norman Maurer (JIRA)
Message body get lost after call saveChanges() and move to other processor -- Key: JAMES-559 URL: http://issues.apache.org/jira/browse/JAMES-559 Project: James Type: Bug Versions: 3.0, 2.3.0

RE: Blocking defect for JAMES v2.3

2006-07-09 Thread Norman Maurer
So the problem only appears after call saveChanges() in a mailet and "move" it to a other processor ? That whould explain why i not notice it on our Server .. Someone wrote a junit test for this so far? bye Norman Am Sonntag, den 09.07.2006, 00:05 -0400 schrieb Noel J. Bergman: > OK, here is a

Re: Testing for production [was: Re: Blocking defect for JAMES v2.3]

2006-07-09 Thread Norman Maurer
Am Sonntag, den 09.07.2006, 12:25 +0200 schrieb Bernd Fondermann: > Noel J. Bergman wrote: > > OK, here is a scenario to reproduce. In the root processor, add: > > > > LogMessage > > ToRepository (pre-header) > > SetMimeHeader > > LogMessage > > ToRepository (post-header) > > ToProces

Re: IMAP Draft: Cluster

2006-07-09 Thread Joachim Draeger
Am Samstag, den 08.07.2006, 12:56 +0200 schrieb Bernd Fondermann: > > For accessing a DB cluster you don't need any specialization. Any > > application that uses JDBC should be able to do it quite out of the box. > > Keeping the whole of James in mind, I think it is more worthwhile to > think ab

[jira] Created: (POSTAGE-5) Inspect test mails retrieved from test server

2006-07-09 Thread Bernd Fondermann (JIRA)
Inspect test mails retrieved from test server - Key: POSTAGE-5 URL: http://issues.apache.org/jira/browse/POSTAGE-5 Project: Postage Type: New Feature Reporter: Bernd Fondermann Assigned to: Bernd Fondermann Current

Testing for production [was: Re: Blocking defect for JAMES v2.3]

2006-07-09 Thread Bernd Fondermann
Noel J. Bergman wrote: OK, here is a scenario to reproduce. In the root processor, add: LogMessage ToRepository (pre-header) SetMimeHeader LogMessage ToRepository (post-header) ToProcessor (test) Needless to say, all of the ToRepository mailets should have passThrough set. And in