Great. I have another question: NotifySender mailet used in the error processor has 
the same message replying to the email no matter what was the reason for say entering 
the error processor. I was about to add the string parameter into the NotifySender 
mailet for the description (if any). That way we can create different error processors 
for different errors. Does that make sense? Does it also make sense to add the same 
feature to ToRepositroy and NotifyPostmaster as well for logging purposes?  Even 
better solution would be to have a parameter string passed between processors (i.e. 
via ToProcessor) but I don't think that there is a support for that in either of the 
two (ToProcessor mailet and receiving processor). Maybe it should be a feature on todo 
list ...

Ivan.

PS: BTW the problem I was having with town repository was due to class shadowing (I 
had other TableDataSet somewhere in my classpath). As soon as I get some time I will 
search for the "other one".

Ivan.

-----Original Message-----
From: Serge Knystautas [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 24, 2000 8:56 AM
To: Java Apache Mail Server
Subject: Re: Which version of Avalon does James use.


Ivan,

Thanks... if nobody else has already, I'll test the new user repository and
commit it to the 1.2 branch (which we can merge with the avalon branch when
it's ready).  I'm using the town mail repository for all my mail
repositories in my prod server and am very interested in getting this setup
for the pop3 accounts I'm hosting.

Serge Knystautas
Loki Technologies
http://www.lokitech.com/
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, November 23, 2000 9:39 AM
Subject: RE: Which version of Avalon does James use.


> >Which version of Avalon does James 1.2 use? I am trying to extend James
> >so that it uses an RDBMS for the user repository. When I went through
> >the code for James and compare it with the code for the latest
>
> Hi Prasanna,
>
> maybe I can help you with this: attached is my attempt at
UsersTownRepository. It wasn't exhaustively tested and no guarantees but it
should work OK. Just put it in userrepository directory and recompile JAMES.
You also have to modify your config file (JAMES.conf.xml) by :
>
> commenting out
>             <userRepository> file://../var/users/ </userRepository>
> and adding
>             <userRepository> town:// </userRepository>
> as well as adding
>                 <repository type="USER" model="SYNCHRONOUS, ASYNCHRONOUS"
>                     destination="town://"
>
class="org.apache.james.userrepository.UsersTownRepository">
>                     <conn>file:///var/maildatabase</conn>
>                     <table>Users</table>
>                 </repository>
>
> to repositoriesDefinition. The Users table should have at least UserName
and Password columns.
>
> Ivan.
>
> PS: Since list bounces messages with attachments, I had to paste the file
into the message.




------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives:  <http://www.mail-archive.com/james%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]


------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives:  <http://www.mail-archive.com/james%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to