james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefano Bagnara <apa...@bago.org>
Subject Re: [jira] Commented: (JAMES-521) Mail/Spool/Message repositories refactoring
Date Sun, 01 Oct 2006 20:47:37 GMT
Well, I have so much things to do that I don't really know when I will 
be able to look at this.

Maybe the best solution would be to use something like your scripting 
mailets as a start because I'm not sure on the correct way to implement 
placeholders and how to decide what placeholders to publish to that very 
mailet.

Or maybe we should simply move the repository locator to an overridable 
method of the ToMultiRepository and provide many overriding 
implementations for the most common usages ToTimeBasedRepository, 
ToDomainRepository, ToFullAddressRepository...

I really don't know... (too much things to think now, and maybe my 
quarter of brain can't help you to reach a "full brain" ;-) ).

Stefano

Guillermo Grandes wrote:
> ohhhh :-)'', very cool, when? when? when? ;-)
> you need help with this? I have two hands! and half brain (~):-P
> 
> --- Guillermo
> 
>> Stefano Bagnara commented on JAMES-521:
>> ---------------------------------------
>>
>> Guillermo, I'd like to add the feature you're proposing to the 
>> ToMultiRepository mailets I introduced in version 2.3.
>> Currently that mailet simply use the localpart of the recipient as 
>> destination for the message but it would be cool to be able to specify 
>> the destination using variables. People would need to use full email 
>> address or simply the domain part as name of the repository, or could 
>> use "file://var/incoming/${currentyear}${currentmonth}". By default it 
>> would be ${inboxrepository}/${localpart}.
>> Please note that the ${variable} is only an example and we may use any 
>> other way to dynamically declare the final repository.
>> (See comments in JAMES-414 about this)
>>
>>> Mail/Spool/Message repositories refactoring
>>> -------------------------------------------
>>>
>>>                 Key: JAMES-521
>>>                 URL: http://issues.apache.org/jira/browse/JAMES-521
>>>             Project: James
>>>          Issue Type: Task
>>>          Components: James Core, MailStore & MailRepository
>>>            Reporter: Stefano Bagnara
>>>         Assigned To: Stefano Bagnara
>>>             Fix For: Trunk
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
> For additional commands, e-mail: server-dev-help@james.apache.org
> 
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message