Re: AdministratorId Documentation

2019-11-04 Thread Jerry Malcolm
This is a followup to an earlier discussion.  I have a very large number of imap utilities that I use to maintain my clients' accounts and mailboxes.  They were all written using javax.mail's version of the IMAP interface.   Your code reference below was very helpful.  But I realized I would ha

Re: AdministratorId Documentation

2019-09-15 Thread Tellier Benoit
I'm happy to have helped you with this. Sadly my JPA knowledge is not that important, hence I might not be able to answer all of your questions... On 14/09/2019 04:27, Jerry Malcolm wrote: > Ignore my previous question.  I dug further and realized that your auth > method is a lower-level replacem

Re: AdministratorId Documentation

2019-09-13 Thread Jerry Malcolm
Ignore my previous question.  I dug further and realized that your auth method is a lower-level replacement for the login method in the commons.net sample.  Still may have other questions... But I think I'm good on this one for now. Thx On 9/13/2019 12:43 PM, Jerry Malcolm wrote: Tellier,

Re: AdministratorId Documentation

2019-09-13 Thread Jerry Malcolm
Tellier, Sorry, I'm still missing something.  I downloaded the commons-net package and looked at the IMAPMail sample code.  It says to put the id/pw on the url: "Usage: IMAPMail imap[s]://username:password@server/");  I assume I would put my admin id:pw on the url.  But then where do I specif

Re: AdministratorId Documentation

2019-09-12 Thread Tellier Benoit
If you are using commons-net, I succeeded to write: https://gist.github.com/chibenwa/abd12fd6c0b06cadd1de591e3ac792b9 That should be helping you! On 13/09/2019 10:40, Tellier Benoit wrote: > Wich library are you using? > > On 13/09/2019 10:33, Jerry Malcolm wrote: >> Thanks for the info, Tellie

Re: AdministratorId Documentation

2019-09-12 Thread Jerry Malcolm
I believe I'm just using the basic javax.mail.* that comes with JDK 1.8.   Do I need to move to a later imap implementation package? On 9/12/2019 10:40 PM, Tellier Benoit wrote: Wich library are you using? On 13/09/2019 10:33, Jerry Malcolm wrote: Thanks for the info, Tellier.  I kinda lost

Re: AdministratorId Documentation

2019-09-12 Thread Tellier Benoit
Wich library are you using? On 13/09/2019 10:33, Jerry Malcolm wrote: > Thanks for the info, Tellier.  I kinda lost you on the mpt tests... I > was looking for how to change the following code to include an > administrator id.  I only have one field in the store.connect() method > for a user id, b

Re: AdministratorId Documentation

2019-09-12 Thread Jerry Malcolm
Thanks for the info, Tellier.  I kinda lost you on the mpt tests... I was looking for how to change the following code to include an administrator id.  I only have one field in the store.connect() method for a user id, but I have an administrator id and the userid for the target mailbox.  How d

Re: AdministratorId Documentation

2019-09-12 Thread Tellier Benoit
Hello Jerry, With the `administratorId`, you are able to use IMAP impersonation. IE to log in as another user. You should define it within usersrepository.xml. To see related "reading config" code: AbstractUsersRepository is the way to go. Agree that this needs example and documentation. I will