You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by "milomalo2010@libero.it" <mi...@libero.it> on 2010/12/13 15:32:43 UTC
How to implement and a system based on IMAP auth
Hi Guys,
i am new in Solr world and i was trying to figure out how to implement an
application which would be able to connect to our business mail server throug
IMAP connection (1000 users) and to index the information related e-mail
contents.
I tried to use DH- import with the preconfigured imap class provided in the
solr example but as i could see there is no way to fetch 1000 user and retrieve
information for them
What would you suggest as first step to follow ?
should i use SOLRJ as client in order to reach user content across imap
connection?
Doesn anyone had experience with that ?
thanks in advance
Re: How to implement and a system based on IMAP auth
Posted by Erick Erickson <er...@gmail.com>.
I don't see where the MailEntityProcessor really has anything built
into it for indexing somebody else's mail, so you're probably going
to need to go down the SolrJ route. SolrJ is actually quite easy to
use, there are only a very few classes you'll need, so I'd go there
The "Usage" section here will get you started:
http://wiki.apache.org/solr/Solrj
Best
Erick
On Mon, Dec 13, 2010 at 9:32 AM, milomalo2010@libero.it <
milomalo2010@libero.it> wrote:
> Hi Guys,
>
> i am new in Solr world and i was trying to figure out how to implement an
> application which would be able to connect to our business mail server
> throug
> IMAP connection (1000 users) and to index the information related e-mail
> contents.
>
> I tried to use DH- import with the preconfigured imap class provided in the
> solr example but as i could see there is no way to fetch 1000 user and
> retrieve
> information for them
>
> What would you suggest as first step to follow ?
> should i use SOLRJ as client in order to reach user content across imap
> connection?
> Doesn anyone had experience with that ?
>
> thanks in advance
>
>
>
>
Re: How to implement and a system based on IMAP auth
Posted by Peter Sturge <pe...@gmail.com>.
imap has no intrinsic functionality for logging in as a user then
'impersonating' someone else.
What you can do is setup your email server so that your administrator
account or similar has access to other users via shared folders (this
is supported in imap2 servers - e.g. Exchange).
This is done all the time, for example if a manager wants his/her
secretary to have access to his/her mailbox.
Of course all access in this way needs to be in line with privacy policies etc.
When you connect as, say, 'admin', you can then see the shared folders
you have access to.
These folders are accessible via imap.
This is more of an imap thing, and isn't really related to DIH/Solr per se.
For Exchange servers, have a look at:
http://www.petri.co.il/grant_full_mailbox_rights_on_exchange_2000_2003.htm
and
http://www.ehow.com/how_5656820_share-exchange-mailboxes.html
HTH
Peter
On Mon, Dec 13, 2010 at 2:32 PM, milomalo2010@libero.it
<mi...@libero.it> wrote:
> Hi Guys,
>
> i am new in Solr world and i was trying to figure out how to implement an
> application which would be able to connect to our business mail server throug
> IMAP connection (1000 users) and to index the information related e-mail
> contents.
>
> I tried to use DH- import with the preconfigured imap class provided in the
> solr example but as i could see there is no way to fetch 1000 user and retrieve
> information for them
>
> What would you suggest as first step to follow ?
> should i use SOLRJ as client in order to reach user content across imap
> connection?
> Doesn anyone had experience with that ?
>
> thanks in advance
>
>
>
>