[sip-comm-dev] Yahoo authentication fails with 'ymail'


#1

Hi,

Hello all, I'm new here.
Yahoo offers two alternative domain names ymail.com and rocketmail.com.
(usually when logging in to yahoo, full address is needed.)
Tried to add two different accounts with ymail.com but authentication fails
when logging in.
Can that be an issue with sc?

Regards,
Amila


#2

Hi,

yes this optional domains for yahoo are currently not supported.
Actually its only yahoo.com that is supported and that's why you are
getting authentication errors cause most probably your account is not
existing at yahoo.com.
You can enter an issue for this and mark it as Feature, cause its not
a trivial work to do to add support for it.

Cheers
damencho

···

On Mon, Sep 27, 2010 at 5:43 PM, Amila Manoj Silva <amilamanoj@gmail.com> wrote:

Hi,

Hello all, I'm new here.
Yahoo offers two alternative domain names ymail.com and rocketmail.com.
(usually when logging in to yahoo, full address is needed.)
Tried to add two different accounts with ymail.com but authentication fails
when logging in.
Can that be an issue with sc?

Regards,
Amila

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#3

Hi damencho,

Thanks for the info. I added an issue for this.
https://sip-communicator.dev.java.net/issues/show_bug.cgi?id=863

I'd like to add this support if it's not very difficult.
So when you say it's not a trivial work, how much work will it be?
Can I know the areas that I need to be familier with / a rough idea of basic
steps to do this?

Regards,
Amila

···

On Tue, Sep 28, 2010 at 11:34 AM, Damian Minkov < damencho@sip-communicator.org> wrote:

Hi,

yes this optional domains for yahoo are currently not supported.
Actually its only yahoo.com that is supported and that's why you are
getting authentication errors cause most probably your account is not
existing at yahoo.com.
You can enter an issue for this and mark it as Feature, cause its not
a trivial work to do to add support for it.

Cheers
damencho

On Mon, Sep 27, 2010 at 5:43 PM, Amila Manoj Silva <amilamanoj@gmail.com> > wrote:
> Hi,
>
> Hello all, I'm new here.
> Yahoo offers two alternative domain names ymail.com and rocketmail.com.
> (usually when logging in to yahoo, full address is needed.)
> Tried to add two different accounts with ymail.com but authentication
fails
> when logging in.
> Can that be an issue with sc?
>
> Regards,
> Amila
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

--
Amila Manoj


#4

Hi,

the simplest approach would be to use the current tests for yahoo
protocol. Try running the tests with your own yahoo.com accounts to be
sure everything works. Then you can start running tests with ymail.com
accounts fixing problems till they all are passed.
The first thing to be changed is to make sure sip-communicator
supplies the whole yahoo id, with the @yahoo.com or @ymail.com to the
jymsg when logging in and to make sure this don't break yahoo.com
accounts.
I think this are the first steps I would do :slight_smile:
But if you haven't done it till now, the first thing is to read the
developer documentation on our website, there are important things as
defining test accounts, running tests, code convention...

Cheers
damencho

···

On Tue, Sep 28, 2010 at 8:04 PM, Amila Manoj Silva <amilamanoj@gmail.com> wrote:

Hi damencho,

Thanks for the info. I added an issue for this.
https://sip-communicator.dev.java.net/issues/show_bug.cgi?id=863

I'd like to add this support if it's not very difficult.
So when you say it's not a trivial work, how much work will it be?
Can I know the areas that I need to be familier with / a rough idea of basic
steps to do this?

Regards,
Amila

On Tue, Sep 28, 2010 at 11:34 AM, Damian Minkov > <damencho@sip-communicator.org> wrote:

Hi,

yes this optional domains for yahoo are currently not supported.
Actually its only yahoo.com that is supported and that's why you are
getting authentication errors cause most probably your account is not
existing at yahoo.com.
You can enter an issue for this and mark it as Feature, cause its not
a trivial work to do to add support for it.

Cheers
damencho

On Mon, Sep 27, 2010 at 5:43 PM, Amila Manoj Silva <amilamanoj@gmail.com> >> wrote:
> Hi,
>
> Hello all, I'm new here.
> Yahoo offers two alternative domain names ymail.com and rocketmail.com.
> (usually when logging in to yahoo, full address is needed.)
> Tried to add two different accounts with ymail.com but authentication
> fails
> when logging in.
> Can that be an issue with sc?
>
> Regards,
> Amila
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

--
Amila Manoj

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#5

Hi,

Sorry it's been a while...
Thanks, I could get it working following the steps you described. While it
took some time for me to get familiar with the protocol implementation, it
didn't take much coding.

If it's someone@yahoo.com, only the user id (without domain part) should be
sent to yahoo server. and if it's @ymail.com, whole address should be sent.
So I changed impl.protocol.yahoo.YahooSession.getYahooUserID to return the
full address for ymail.com and just the id for yahoo.com.
I ran tests with both yahoo.com and ymail.com accounts and all tests were
successful.

Regards,
Amila

ymail.patch (486 Bytes)