Hi all,
I'm trying to figure out how to forward mails from a virtual domain to
"real" email addresses based on user data, I cannot use the
JAMES.conf.xml for this since it has to be externally managed within the
User LDAP repository.
The way it works I should create a mailet (reusing or extending code
from LocalDelivery) that should check wether the user want's its mail
forwarded or kept locally. Problem is that the mailet should then be
able to query the UserRepository which :
- is out of reach from MailetContext interface methods
- is private if I cast getMailetContext() to James
What can I do ?
1) add a method to the MailetContext interface. But won't it break any
security rules I'm not aware of ?
2) there is no simple solution ;)
What do you think ?
Best regards,
--
Mathieu
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives: <http://www.mail-archive.com/james%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]