Hi all,
I'm trying to figure out how to forward mails from a virtual domain to
"real" email addresses based on user data (currently inside an LDAP
repository). I cannot use the JAMES.conf.xml for this since it has to be
externally managed within the 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 ;)
regards
--
Mathieu Marache | Centre Scientifique & | +33 (0)4 93956 407
[EMAIL PROTECTED] | Technique du B�timent | http://www.cstb.fr
PLEASE NOTE : NEW TELEPHONE NUMBER +33 (0)4 93956 407
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives: <http://www.mail-archive.com/james%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]