Hi Oki DZ ,

Thanks a zillion.... 
i still have to figure out what my next step is, though

Currently, i have just configured JAMES.. the SMTP server is working just fine, but if 
i try to send mails to the local user then it does not go to the localinbox of tthat 
particular user. Instead, it goes in the spool OR the spam mail filders. 

I m sending a portion of the jamesfile.log if it could be of any help 

-----------

1999.06.21 01:13:22 968 Channel JamesSystem opened
1999.06.21 01:13:22 968 Channel Processor opened
1999.06.21 01:13:23 369 (INFO) from JamesSystem: JAMES init...
1999.06.21 01:13:23 419 (INFO) from JamesSystem: Local host is: ramses
1999.06.21 01:13:23 419 (INFO) from JamesSystem: Hello Name is: ramses
1999.06.21 01:13:23 419 (INFO) from JamesSystem: Handling mail for: ramses
1999.06.21 01:13:23 419 (INFO) from JamesSystem: Handling mail for: ramses
1999.06.21 01:13:23 419 (INFO) from JamesSystem: Handling mail for: ramses.com
1999.06.21 01:13:23 419 (INFO) from JamesSystem: Handling mail for: localhost
1999.06.21 01:13:23 569 (INFO) from JamesSystem: Private Repository LocalInbox opened
1999.06.21 01:13:23 579 (INFO) from JamesSystem: Private SpoolRepository Spool opened
1999.06.21 01:13:23 589 (INFO) from JamesSystem: Users Manager Opened

.
.
.
.
.
1999.06.21 01:43:57 346 (INFO) from Processor: Processing Mail929952837106-5 through 
root
1999.06.21 01:43:57 376 (INFO) from Processor: ==== Removed from spool mail 
Mail929952837106-5-!637858436 ====
1999.06.21 01:43:57 436 (INFO) from Processor: ==== Begin processing mail 
Mail929952837106-5-!637858436 ====
1999.06.21 01:43:57 436 (INFO) from Processor: Processing 
Mail929952837106-5-!637858436 through spam
1999.06.21 01:43:57 466 (INFO) from Processor: ==== Removed from spool mail 
Mail929952837106-5-!637858436 ====

----------------

The user is "hrishi"  and the message was mailed to "hrishi@ramses"

Also the conf file is as attached.

"ramses" is the machine name in the intranet where i am testing James.


Hope i am not much of a trouble....

Thanks in advance

Regards,

Hrishikesh





------------- Original Message --------------
Oki DZ <[EMAIL PROTECTED]> wrote:
To:[EMAIL PROTECTED]
From:Oki DZ <[EMAIL PROTECTED]>
Date:Thu, 21 Jun 2001 13:49:57 +0700
Subject: Re: Mailstore

hrishi Deshpande wrote:
> 
> I want to make a WEB MAIL server which offers all the mailing facilities using only 
>the Browser.

That would be great.
 
> How does JAMES fit into this and if yes, 

Yes, sure (it fits into this); James acts as the mail server and the web
mail _application_ as the user interface.

Considering that the implementation of the James POP server works fine,
a web mail application that reads/writes to the (database) mailboxes
would make reading email a bit more convenient. I don't know what would
happen if you just delete messages that already reside in the mailboxes
-- in relation with the POP server, I mean. I guess it would be all
right. The messages are already there in the mailboxes; all you need to
do is to retrieve them to the web pages and render them on the browsers,
and then delete them directly via JDBC if needed. Problems may arise
though; what would happen if a user used both POP and the web mail in
the same time? The two services would be mutually exclusive for a
particular user, I think. 

> where can i get some documentation so as i can start working on it.......

I think you can start at http://jakarta.apache.org/turbine and
http://jakarta.apache.org/velocity.
I believe you could just forget about SMTP, POP, IMAP, etc.. and then
just concentrate in the following:

mysql> describe Message;
+-----------------+--------------+------+-----+---------------------+-------+
| Field           | Type         | Null | Key | Default             |
Extra |
+-----------------+--------------+------+-----+---------------------+-------+
| message_name    | varchar(128) |      | PRI |                    
|       |
| repository_name | varchar(128) |      | PRI |                    
|       |
| message_state   | varchar(30)  |      | MUL |                    
|       |
| error_message   | varchar(200) | YES  |     | NULL               
|       |
| sender          | varchar(100) |      | MUL |                    
|       |
| recipients      | text         |      |     |                    
|       |
| remote_host     | varchar(100) |      |     |                    
|       |
| remote_addr     | varchar(20)  |      |     |                    
|       |
| message_body    | longblob     |      |     |                    
|       |
| last_updated    | datetime     |      |     | 0000-00-00 00:00:00
|       |
+-----------------+--------------+------+-----+---------------------+-------+

The SQL for the web app would be pretty simple: select sender,
recipients, message_body from Message where repository_name =
'inbox/<username>';

Where <username> is a James user.

I think the only problem is how to render the message_body on the web
page.

Oki

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


_____________________________________________________
Buy Lagaan & Yaadein music for 30% less.
Avail this special offer at 
http://shopping.rediff.com/shopping/music/offerrediffmailer.htm 




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to