james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Motet <mich...@motet.dk>
Subject Create db tables when launching James.
Date Wed, 22 Sep 2004 10:13:56 GMT

Hi,

I am trying to setup some extra tables in the database.

I want to make a list of "allowed mail senders" (these are not necessary
users on the James mail server).

first thing is, that I want to make the table creation from the
sqlRessources.xml.
But it seems that I need to add some code to the JDBCMailRepository.java
- please correct me if I am wrong !?

so I want to create following table:

SenderList
      senderID
      senderName
      senderMail

I then intend to make a mailet, that will validate sender with the list
in the database.

can anyone give a hint on how the code should be modified ? or if there
are other places/way of doing this ?


Thanks,

-Michael 

------------------------------------------------------
This mail was sent through Jay.net: http://www.jay.net

---------------------------------------------------------------------
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