Discussion:
Indy components (IdPOP3)
(too old to reply)
James Williams
2008-06-17 15:51:26 UTC
Permalink
Hello

I am not quite sure where to ask this question, so I figured I would start
in this group.

Has anyone successfully used the IdPOP3 to access a mail client that uses
the SPA authentication. I have tried different authentication settings, but
have not been able to get the component to login in sucessfully.

Thanks,


James
Remy Lebeau (TeamB)
2008-06-17 16:28:49 UTC
Permalink
Post by James Williams
Has anyone successfully used the IdPOP3 to access a mail client
that uses the SPA authentication. I have tried different authentication
settings, but have not been able to get the component to login in
sucessfully.
Which version of Indy are you using?


Gambit
James Williams
2008-06-17 16:32:31 UTC
Permalink
Sorry, I am using version 10.

Thanks,

James
Post by Remy Lebeau (TeamB)
Post by James Williams
Has anyone successfully used the IdPOP3 to access a mail client
that uses the SPA authentication. I have tried different authentication
settings, but have not been able to get the component to login in
sucessfully.
Which version of Indy are you using?
Gambit
Remy Lebeau (TeamB)
2008-06-17 18:18:57 UTC
Permalink
Post by James Williams
Sorry, I am using version 10.
Which build of 10, though?


Gambit
Remy Lebeau (TeamB)
2008-06-17 18:20:25 UTC
Permalink
Post by Remy Lebeau (TeamB)
Which build of 10, though?
And what exactly have you tried so far?


Gambit
James Williams
2008-06-17 18:25:01 UTC
Permalink
Ok. I have Indy 10.1.5

Here is what I am trying to do. I want to pull the email off of my mail
server, which uses the ActiveDirectory for usernames. I also set POP3
server to use SPA secure password authentication. Nothing big there.

Now, on the IdPOP3, I have tried atAPOP and set the username and password
accordingly. I get a Login Failure. I know it is partially working because
if I try this to many times, it locks the user account.

I have tried atUserpass, then I get a message saying SPA Required, use AUTH
or APOP. First, AUTH is not an option for AuthType. And I have tried
atAPOP.

I have tried atSASL and tried TIdSASLLogin, TIdSASLExternal, well all of the
available TIdSASL and none of them work.

Does Indy even support the Microsoft SPA at all??? and if not, is there
another email component that does?

Thanks,


James
Post by Remy Lebeau (TeamB)
Post by James Williams
Sorry, I am using version 10.
Which build of 10, though?
Gambit
Remy Lebeau (TeamB)
2008-06-17 19:02:09 UTC
Permalink
Post by James Williams
Ok. I have Indy 10.1.5
You have a very old version then, and should consider upgrading.
Post by James Williams
First, AUTH is not an option for AuthType.
Yes, it is - use atSASL for that.
Post by James Williams
Does Indy even support the Microsoft SPA at all???
Not natively just yet. SPA requires the use of NTLM. The Tiburon branch of
Indy 10.2.3 has an experimental SASL implementation of NTLM, but I don't
know if it has been tested yet. If you don't want to use a test build, then
you could write your own TIdSASL-derived class that implements NTLM. Either
way, such a class can then be used in TIdPOP3's SASLMechanisms collection,
and set AuthType to atSASL.


Gambit
James Williams
2008-06-18 18:48:35 UTC
Permalink
Thanks Remy.

Just one last question. Can you tell me how to get the latest version of
Indy for BDS 2006. I have been to the Indy site and it is a maze just
trying to find the download. Then I went to the link for Indy via
www.indyproject.org:8080/svn , then selected indy10 in the Repository
instances, but it only points to branches, tags and trunk, whatever that is.

Regards,


James
Post by Remy Lebeau (TeamB)
Post by James Williams
Ok. I have Indy 10.1.5
You have a very old version then, and should consider upgrading.
Post by James Williams
First, AUTH is not an option for AuthType.
Yes, it is - use atSASL for that.
Post by James Williams
Does Indy even support the Microsoft SPA at all???
Not natively just yet. SPA requires the use of NTLM. The Tiburon branch
of Indy 10.2.3 has an experimental SASL implementation of NTLM, but I
don't know if it has been tested yet. If you don't want to use a test
build, then you could write your own TIdSASL-derived class that implements
NTLM. Either way, such a class can then be used in TIdPOP3's
SASLMechanisms collection, and set AuthType to atSASL.
Gambit
Remy Lebeau (TeamB)
2008-06-19 17:08:41 UTC
Permalink
Can you tell me how to get the latest version of Indy for BDS 2006.
Follow the download links on Indy's website.
I have been to the Indy site and it is a maze just trying to
find the download.
Look for the Development Snapshot. You can download it as a single .zip
file from the Fulgan mirror.
Then I went to the link for Indy via www.indyproject.org:8080/svn,
then selected indy10 in the Repository instances, but it only points
to branches, tags and trunk, whatever that is.
The SVN server contains the live source code for Indyin its raw form.


Gambit

Loading...