Issue Details (XML | Word | Printable)

Key: JAMES-561
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Blocker Blocker
Assignee: Norman Maurer
Reporter: Vincenzo Gianferrari Pini
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
JAMES Server

User aliasing does not work

Created: 09/Jul/06 09:01 PM   Updated: 21/Nov/07 08:31 AM
Return to search
Component/s: Matchers/Mailets (bundled)
Affects Version/s: 2.3.0, 3.0
Fix Version/s: 2.3.0

Time Tracking:
Not Specified

Resolution Date: 10/Jul/06 11:24 AM


 Description  « Hide
If user A is an alias of user B ( or viceversa - remote manager help is misleading) messages sent to A have to go (and were going) to B's inbox. Now it ends in A's inbox, that should not even exist.
The problem has been found by me using both "file" and "db" repositories under 2.3.0b2, but I expect it to occur also under 3.0.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Norman Maurer added a comment - 09/Jul/06 10:51 PM
After some debug it seems that the UsersRepositoryAliasingForwarding Mailet get not called. No time now to investigate time on this now :-(

Norman Maurer made changes - 10/Jul/06 12:43 AM
Field Original Value New Value
Assignee Norman Maurer [ norman ]
Noel J. Bergman added a comment - 10/Jul/06 01:37 AM
Just to keep people following this in the loop, Norman observed on IM that "The problem is that ((JamesUser) user).getAliasing() return false."

Repository Revision Date User Message
ASF #420415 Mon Jul 10 04:08:16 UTC 2006 noel Fix JAMES-561. Check was comparing for the name being EQUAL instead of NOT EQUAL (changed)
Files Changed
MODIFY /james/server/trunk/src/java/org/apache/james/transport/mailets/UsersRepositoryAliasingForwarding.java

Repository Revision Date User Message
ASF #420417 Mon Jul 10 04:13:36 UTC 2006 noel Copy fix for JAMES-561 from trunk.
Files Changed
ADD /james/server/branches/v2.3/src/java/org/apache/james/transport/mailets/UsersRepositoryAliasingForwarding.java (from /james/server/trunk/src/java/org/apache/james/transport/mailets/UsersRepositoryAliasingForwarding.java)

Noel J. Bergman added a comment - 10/Jul/06 11:24 AM
Committed fix to both trunk and v2.3 branch. The check for an aliased name had the wrong polarity.

Noel J. Bergman made changes - 10/Jul/06 11:24 AM
Fix Version/s 3.0 [ 10427 ]
Status Open [ 1 ] Resolved [ 5 ]
Fix Version/s 2.3.0 [ 12310796 ]
Resolution Fixed [ 1 ]
Stefano Bagnara made changes - 10/Jul/06 09:09 PM
Fix Version/s 2.3.0 [ 12310796 ]
Fix Version/s 2.3.0b3 [ 12311981 ]
Vincenzo Gianferrari Pini added a comment - 11/Jul/06 12:21 AM
It works now for me. Thanks to all of the team for the work.
I'll test 2.3.0b2 again in production on the weekend of July 22-23.

Stefano Bagnara made changes - 21/Jul/06 03:38 PM
Fix Version/s 3.0 [ 10427 ]
Danny Angus added a comment - 21/Nov/07 08:31 AM
Closing issue fixed in released version.

Danny Angus made changes - 21/Nov/07 08:31 AM
Status Resolved [ 5 ] Closed [ 6 ]