Eric,
thanks for your reply. Please see my comments inline.
On 14.09.2012 12:28, Eric Charles wrote:
On 07/09/2012 16:28, Marco Zapletal wrote:
I digged a bit deeper into customizing James for our message store and
have two specific questions:
- How are users correlated to mailboxes (via User.userName and
Mailbox.name)? If so, I guess it is not possible to allow multiple users
(each of them with his own password) to access the same mailbox?
A mailbox belongs to user (Mailbox.user).
A user can subscribe to a Mailbox so it will appear in its imap client.
There is an effort to introduce ACL (Access Control List), so a mailbox
can be accessed by multiple users, depending on assigned rights.
Thanks for the clarification.
- In order to have messages stored is the recommended approach to put
MimeMessage instances as BlobMessages on the SPOOL queue (if I do not
use the SMTP server directly)?
Can you please further explain your question, I am not sure to
understand it.
The messages which I want to expose via IMAP are not delivered using
SMTP, but via some other protocols. So, my question was how to get my
messages processed and stored in the James mailbox. In the meantime I
already got this working by wrapping my message in a MimeMessage
representation, which is then put as byte[] in an ActiveMQObjectMessage
on the SPOOL queue. A pitfall was to set the appropriate headers (e.g.,
"FORCE_DELIVERY") in order to get the message through the message selector.
Best regards,
Marco
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]