Description of problem: fetchyahoo is not fetching mail from yahoo.com Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. get a yahoo account 2. configure fetchyahoo 3. send an email you your yahoo account 4. Sometime later run fetchyahoo Workaround solution, download fetchyahoo-2.14.7.tar from http://sourceforge.net/projects/fetchyahoo/?source=directory unpack it and copy fetchyahoo to /usr/bin/fetchyahoo
Assignee: bugsquad => cazzaniga.sandro
Hi, This bug was filed against cauldron, but we do not have cauldron at the moment. Please report whether this bug is still valid for Mageia 2. Thanks :) Cheers, marja
Keywords: (none) => NEEDINFO
(In reply to comment #1) > Please report whether this bug is still valid for Mageia 2. $ grep version /usr/bin/fetchyahoo | head -1 my $version = "2.14.2"; Yup, has not changed version yet. :(
Keywords: NEEDINFO => (none)
I can fix it when cauldron will reopen.
Nota: fetchyahoo-2.14.7-1 is ready on my computer and just wait for cauldron :)
(In reply to comment #4) > Nota: > > fetchyahoo-2.14.7-1 is ready on my computer and just wait for cauldron :) Hope it gets released for Release 2. :-8
Of course.
In Mageia 2, so closing
CC: (none) => marja11Resolution: (none) => FIXEDStatus: NEW => RESOLVED
sorry, I didn't read well, reopening
Resolution: FIXED => (none)Status: RESOLVED => REOPENED
fetchyahoo-2.14.7-1 pushed in Cauldron and in Mageia 2. Can you test it please? :)
Version: Cauldron => 2
Assignee: cazzaniga.sandro => bugsquad
reassign to QA team so they can validate the update.
CC: (none) => cazzaniga.sandro
the bug is not assigned to the QA and we still need an advisory.
Update to 2.14.7 will fix the following bug: "fetchyahoo is not fetching mail from yahoo.com".
(In reply to comment #9) > fetchyahoo-2.14.7-1 pushed in Cauldron and in Mageia 2. Can you test it please? Hmm, I ran mcc->Software Management->Update your system, and saw no updates on my Mageia 2 "Production" clean install system. I will have to see if I can convert my testbed system back from Mageia 2 official to Cauldron. I will say that I had pulled the tar file and have been running fetchyahoo-2.14.7 before I opened this bug report.
>Hmm, I ran mcc->Software Management->Update your system, and saw no updates on >my Mageia 2 "Production" clean install system. I will have to see if I can >convert my testbed system back from Mageia 2 official to Cauldron. No need the package is in core updates testing, so you have only to enable this repo, and then when the package is validate, it is moved to core updates
Assignee: bugsquad => qa-bugs
Testing x86_64 Created a new throw-away yahoo account. There is an unread welcome message in the inbox. Before ------ It asks for the login information then gives 4 errors as below. Failed to fetch login page: https://login.yahoo.com/config/login?ymv=0&.intl=us&.partner=&.last=&.src=ym&.done=http%3a//edit.yahoo.com/config/mail%3fymv%3d0: 501 Protocol scheme 'https' is not supported (LWP::Protocol::https not installed) After ----- Appears still broken, it asks login info then the same errors. From the script.. # using HTTPS requires Crypt::SSLeay or # IO::Socket::SSL So it seems to be missing a require on one of these two perl modules. Https is enabled by default. Logging in securely via SSL as cl41r3.robinson@yahoo.co.uk on Mon May 28 17:14:39 2012 Failed to fetch login page: https://login.yahoo.com/config/login?ymv=0&.intl=us&.partner=&.last=&.src=ym&.done=http%3a//edit.yahoo.com/config/mail%3fymv%3d0: 501 Protocol scheme 'https' is not supported (LWP::Protocol::https not installed) Failed to fetch login page: https://login.yahoo.com/config/login?ymv=0&.intl=us&.partner=&.last=&.src=ym&.done=http%3a//edit.yahoo.com/config/mail%3fymv%3d0: 501 Protocol scheme 'https' is not supported (LWP::Protocol::https not installed) Failed to fetch login page: https://login.yahoo.com/config/login?ymv=0&.intl=us&.partner=&.last=&.src=ym&.done=http%3a//edit.yahoo.com/config/mail%3fymv%3d0: 501 Protocol scheme 'https' is not supported (LWP::Protocol::https not installed) Failed to fetch login page: https://login.yahoo.com/config/login?ymv=0&.intl=us&.partner=&.last=&.src=ym&.done=http%3a//edit.yahoo.com/config/mail%3fymv%3d0: 501 Protocol scheme 'https' is not supported (LWP::Protocol::https not installed)
(In reply to comment #15) > Testing x86_64 > > Created a new throw-away yahoo account. There is an unread welcome message in > the inbox. > > Before > ------ > It asks for the login information then gives 4 errors as below. > > Failed to fetch login page: > https://login.yahoo.com/config/login?ymv=0&.intl=us&.partner=&.last=&.src=ym&.done=http%3a//edit.yahoo.com/config/mail%3fymv%3d0: > 501 Protocol scheme 'https' is not supported (LWP::Protocol::https not > installed) Oops. Checking through my new_install script I see that I had installed perl-LWP-Protocol-https so I never see that problem. Sorry for not checking and adding it to the test procedure. :( (In reply to comment #14) > No need the package is in core updates testing, so you have only to enable > this repo, and then when the package is validate, it is moved to core updates Heheheh, you make it seem soooo easy. You have to also get the Update column box checked. :( Will be opening a bug report pretty soon.
ok so the missing require is on LWP::Protocol::https?
To enable the testing media as updates we have a wiki page :o) https://wiki.mageia.org/en/Enabling_the_Testing_media Essentially you use.. # drakrpm-edit-media --expert There are many more useful QA pages here if you'd like to help out with QA some more.. https://wiki.mageia.org/en/QA_Team
Tried with.. # urpmi perl-IO-Socket-SSL To satisfy dependencies, the following packages are going to be installed: Package Version Release Arch (medium "Core Release") perl-Net-SSLeay 1.450.0 1.mga2 x86_64 (medium "Core 32bit Release") perl-IO-Socket-SSL 1.580.0 1.mga2 noarch 924KB of additional disk space will be used. 251KB of packages will be retrieved. But it still produced the same errors. # urpmi perl-LWP-Protocol-https To satisfy dependencies, the following packages are going to be installed: Package Version Release Arch (medium "Core Release") perl-IO-Socket-SSL 1.580.0 1.mga2 noarch perl-LWP-Protocol-https 6.30.0 1.mga2 noarch perl-Mozilla-CA 20120118.0.0 1.mga2 noarch perl-Net-SSLeay 1.450.0 1.mga2 x86_64 1.1MB of additional disk space will be used. 378KB of packages will be retrieved. This allows it to try to connect. I am still getting errors though. I verified the login details by logging in manually. Long paste, sorry.. Logging in securely via SSL as cl41r3.robinson@yahoo.co.uk on Mon May 28 18:41:26 2012 Country code : uk FetchYahoo! Version: 2.14.7 Successfully logged in as cl41r3.robinson@yahoo.co.uk. Marking messages read on the server Fetching mail from folder: Inbox <HEAD><TITLE>Cannot find server.</TITLE></HEAD> <BODY BGCOLOR="white" FGCOLOR="black"> <FONT FACE="Helvetica,Arial"><B> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><html><head><style>a:link {font:8pt/11pt verdana; color:red}a:visited {font:8pt/11pt verdana; color:#4e4e4e}</style><meta HTTP-EQUIV="Content-Type" Content="text-html; charset=Windows-1252"><title>Cannot find server</title></head><body bgcolor="white"><table width="400" cellpadding="3" cellspacing="5"><tr><td id="tableProps2" align="left" valign="middle" width="360"><h1 id="textSection1"style="COLOR: black; FONT: 13pt/15pt verdana"><span id="errorText">The page cannot be displayed</span></h1></td></tr><tr><td id="tablePropsWidth" width="400" colspan="2"><font style="COLOR: black; FONT: 8pt/11pt verdana">The page you are looking for is currently unavailable. The Web site might be experiencing technical difficulties, or you may need to adjust your browser settings.</font></td></tr><tr><td id="tablePropsWidth" width="400" colspan="2"><font id="LID1"style="COLOR: black; FONT: 8pt/11pt verdana"><hr color="#C0C0C0" noshade><p id="LID2">Please try the following:</p><ul><li id="instructionsText1">Click the Refresh button, or try again later.</li><li id="instructionsText2"> If you typed the page address in the Address bar, make sure that it is spelled correctly. <br></li><li id="instructionsText3">To check your connection settings, click the<b>Tools</b> menu, and then click <b>Internet Options</b>. On the <b>Connections</b> tab, click <b>Settings</b>. The settings should match those provided by your local area network (LAN) administrator or Internet service provider (ISP).</li><li id="instructionsText5">Some sites require 128-bit connection security. Click the <b>Help</b> menu and then click <b> About Internet Explorer </b> to determine what strength security you have installed.</li><li id="instructionsText4">If you are trying to reach a secure site, make sure your Security settings can support it. Click the <B>Tools</b> menu, and then click <b>Internet Options</b>. On the Advanced tab, scroll to the Security section and check settings for SSL 2.0, SSL 3.0, TLS 1.0, PCT 1.0.</li><li id="list3">Click the Back button to try another link.</li></ul><p><br></p><h2 id="PEText" style="font:8pt/11pt verdana; color:black">502 - Cannot find server or DNS Error</h2></font></td></tr> </table></body></html></B></FONT> <!-- default "Cannot find server." response (502) --> </BODY> http://uk.mc41.mail.yahoo.com/ym/ShowFolder?ymv=0&box=Inbox&Npos=0&order=down&sort=date&startMid=0 502 Cannot find server. Warning: Couldn't get Folder Inbox listing. <HEAD><TITLE>Cannot find server.</TITLE></HEAD> <BODY BGCOLOR="white" FGCOLOR="black"> <FONT FACE="Helvetica,Arial"><B> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><html><head><style>a:link {font:8pt/11pt verdana; color:red}a:visited {font:8pt/11pt verdana; color:#4e4e4e}</style><meta HTTP-EQUIV="Content-Type" Content="text-html; charset=Windows-1252"><title>Cannot find server</title></head><body bgcolor="white"><table width="400" cellpadding="3" cellspacing="5"><tr><td id="tableProps2" align="left" valign="middle" width="360"><h1 id="textSection1"style="COLOR: black; FONT: 13pt/15pt verdana"><span id="errorText">The page cannot be displayed</span></h1></td></tr><tr><td id="tablePropsWidth" width="400" colspan="2"><font style="COLOR: black; FONT: 8pt/11pt verdana">The page you are looking for is currently unavailable. The Web site might be experiencing technical difficulties, or you may need to adjust your browser settings.</font></td></tr><tr><td id="tablePropsWidth" width="400" colspan="2"><font id="LID1"style="COLOR: black; FONT: 8pt/11pt verdana"><hr color="#C0C0C0" noshade><p id="LID2">Please try the following:</p><ul><li id="instructionsText1">Click the Refresh button, or try again later.</li><li id="instructionsText2"> If you typed the page address in the Address bar, make sure that it is spelled correctly. <br></li><li id="instructionsText3">To check your connection settings, click the<b>Tools</b> menu, and then click <b>Internet Options</b>. On the <b>Connections</b> tab, click <b>Settings</b>. The settings should match those provided by your local area network (LAN) administrator or Internet service provider (ISP).</li><li id="instructionsText5">Some sites require 128-bit connection security. Click the <b>Help</b> menu and then click <b> About Internet Explorer </b> to determine what strength security you have installed.</li><li id="instructionsText4">If you are trying to reach a secure site, make sure your Security settings can support it. Click the <B>Tools</b> menu, and then click <b>Internet Options</b>. On the Advanced tab, scroll to the Security section and check settings for SSL 2.0, SSL 3.0, TLS 1.0, PCT 1.0.</li><li id="list3">Click the Back button to try another link.</li></ul><p><br></p><h2 id="PEText" style="font:8pt/11pt verdana; color:black">502 - Cannot find server or DNS Error</h2></font></td></tr> </table></body></html></B></FONT> <!-- default "Cannot find server." response (502) --> </BODY> http://uk.mc41.mail.yahoo.com/mc/showFolder?ymv=0&Npos=0&noFlush&fid=Inbox&Npos=0&order=down&sort=date&startMid=0 502 Cannot find server. Warning: Couldn't get Folder Inbox listing. Retry #1 (error 3). Failed: Invalid ID or password entered (username: cl41r3.robinson@yahoo.co.uk )
Clicking on either of those links does give a 'Page cannot be displayed' error in firefox.
(In reply to comment #19) > Tried with.. > > # urpmi perl-IO-Socket-SSL Hm, I also added that package, but not sure it was for fetchyahoo. > > But it still produced the same errors. > > # urpmi perl-LWP-Protocol-https I do have that rpm marked # needed by fetchyahoo. > This allows it to try to connect. I am still getting errors though. I verified > the login details by logging in manually. Without going through all of your paste, you may want to check my rc changes against yours. I do have dovecot installed so that I can read the downloaded email via thunderbird. Pretty sure my rc is setup so you can read the fetched email via "mail" from the command line once you get fetchyahoo working.
Created attachment 2390 [details] fetchyahoorc file
(In reply to comment #18) > To enable the testing media as updates we have a wiki page :o) > > https://wiki.mageia.org/en/Enabling_the_Testing_media > > Essentially you use.. > > # drakrpm-edit-media --expert Ok, I will not open a bug report then. It was easy enough to add "update" to the stanza in /etc/urpmi/urpmi.cfg. Forgot to mention my rc file shows mail.home.test. I am running bind/named for dns resolutions. $ host mail.home.test mail.home.test has address 127.0.0.1 $ hostname wb.home.test $ grep $(hostname) /etc/hosts 192.168.1.132 wb.home.test wb
(In reply to comment #17) > ok so the missing require is on LWP::Protocol::https? Better yet, the perl-LWP-Protocol-https rpm.
That's what I said.
(In reply to comment #20) > Clicking on either of those links does give a 'Page cannot be displayed' error > in firefox. Yes, you will have some problem with some links because you would have to be logged in and java variables would have to be set like the https session id. Because of that all the internal web links will be invalid.
(In reply to comment #9) > fetchyahoo-2.14.7-1 pushed in Cauldron and in Mageia 2. Can you test it please? > :) Ok, finally have it installed on "Production" system. id changed to my_whatever -------------------test with test results --------------------- [bittwister@wb ~]$ mail -s "Test shot" my_yahoo_id@yahoo.com < /dev/null $ sudo yahoo $ fetchyahoo --configfile=/accounts/yahoo/.fetchyahoo/.fetchyahoorc Logging in securely via SSL as my_yahoo_id on Mon May 28 14:03:20 2012 Country code : us FetchYahoo! Version: 2.14.7 Successfully logged in as my_yahoo_id. Only retrieving new messages Leaving messages unread on the server Using /accounts/yahoo/.fetchyahoo/msg.id as a message ID archive Fetching mail from folder: Inbox Getting Message ID(s) for message(s) 1 - 1. Got 1 Message IDs Got 1 new messages . Finished downloading 1 messages. 1 message(s) have been deleted. Logged out. ------------- end of test shot --------------- ------- snippet from /var/spool/mail/yahoo -------------- To: my_yahoo_id@yahoo.com Subject: Test shot From: my_id@my_isp.net (Bit Twister) X-FetchYahoo: version 2.14.7 MsgId 2_0_0_1_41107_AKPvXkIAABw+T8PLggN3aQCMFEQ ------------ end of /var/spool/mail/yahoo snippet--------------- (In reply to comment #25) > That's what I said. Sorry, I had no idea you could put require on LWP::Protocol::https I thought they had to be on rpm packages.
Created attachment 2392 [details] fetchyahoorc file diff with latest /usr/share/doc/fetchyahoo/fetchyahoorc
Attachment 2390 is obsolete: 0 => 1
(In reply to comment #27) > Sorry, I had no idea you could put require on LWP::Protocol::https > I thought they had to be on rpm packages. The way urpmi provides and requires now works, includes allowing strings like the above to be provided/required by the packages. Unfortunately "urpmi --whatrequires" doesn't work with the "virtual" provides/requires, which can make it difficult to figure out which package does provide the needed requires.
CC: (none) => davidwhodgins
(In reply to comment #29) > > The way urpmi provides and requires now works, includes allowing > strings like the above to be provided/required by the packages. I hope the Mageia developer/maintainer guide/manual suggests "strings" is to be used as a last resort. > Unfortunately "urpmi --whatrequires" doesn't work with the "virtual" > provides/requires, which can make it difficult to figure out which > package does provide the needed requires. Sounds like a bug report aught to be opened against urpmi --whatrequires" :(
Did this have the require added or is it not ready yet? Thanks.
(In reply to comment #31) > Did this have the require added Not in Mageia 2. I just did a virtual box fetchyahoo install with testing/update enabled. $ cat fetchyahoo.log Logging in securely via SSL as my_yahoo_id on Thu Jun 7 09:26:20 2012 Failed to fetch login page: https://login.yahoo.com/config/login?ymv=0&.intl=us&.partner=&.last=&.src=ym&.done=http%3a//edit.yahoo.com/config/mail%3fymv%3d0: 501 Protocol scheme 'https' is not supported (LWP::Protocol::https not installed)
Thanks Bit Twister. Assigning Sandro for the require to be added. Please reassign to QA when you've had a chance to look at this. Thanks :)
Assignee: qa-bugs => cazzaniga.sandroCC: (none) => qa-bugs
Summary: 2_rc: fetchyahoo is not fetching mail from yahoo.com => fetchyahoo is not fetching mail from yahoo.com
Please look at the bottom of this mail to see whether you're the assignee of this bug, if you don't already know whether you are. If you're the assignee: We'd like to know for sure whether this bug was assigned correctly. Please change status to ASSIGNED if it is, or put OK on the whiteboard instead. If you don't have a clue and don't see a way to find out, then please put NEEDHELP on the whiteboard. Please assign back to Bug Squad or to the correct person to solve this bug if we were wrong to assign it to you, and explain why. Thanks :) **************************** @ the reporter and persons in the cc of this bug: If you have any new information that wasn't given before (like this bug being valid for another version of Mageia, too, or it being solved) please tell us. @ the reporter of this bug If you didn't reply yet to a request for more information, please do so within two weeks from now. Thanks all :-D
Sorry, I was waiting for my new computer which arrived today. I'll add this require (LWP::Protocol::https) tonight or tomorrow without fail. All my apologies.
submitte in core/updates_testing in 2.
Assignee: cazzaniga.sandro => qa-bugsCC: qa-bugs => (none)
SRPM: fetchyahoo-2.14.7-2.mga2.src.rpm
Source RPM: fetchyahoo-2.14.2-1.mga2.src.rpm => fetchyahoo-2.14.7-2.mga2.src.rpm
Hi, I had this problem while testing on Mageia 2 x86/i568: Got 5 Message IDs Failed: Couldn't open output: >>/var/spool/mail/username at /usr/bin/fetchyahoo line 1900, <STDIN> line 3. What I have to do?
CC: (none) => ed_rus099
Well, a quick search for /var/spool/mail/username at /usr/bin/fetchyahoo at https://www.google.com/advanced_search turned up nothing. My first WAG would be the send-to line is incorrect in your .fetchyahoorc file. click up a terminal as a user and do a echo $USER@$(hostname) Your send-to needs to match the above output. Your mail-host needs to match the output of hostname Can we assume you have looked at my fetchyahoorc attachment and verified you have made the same key word changes. Using your values of course. Maybe your MTA is not running. As a user, click up a terminal and run the following: mail -s "test shot" $USER < /dev/null mail That needs to work before troubleshooting fetchyahoo. All the above assumes your are trying to have fetchyahoo forward the email to your current system's user account. If you still can not get it to work, get a Usenet account and post your problem to alt.os.linux.mageia. We can troubleshoot it there and you can provide your solution here if you like. Free Usenet account can be had at http://www.eternal-september.org/
I had to change the path to /home/edu/mail and it worked on Mageia 2 x86_64. Afterwards I will test on Mageia 2 x86/i568.
Whiteboard: (none) => MGA-64-OK
Just finished testing on Mageia 2 x86/i568, no problems.
Whiteboard: MGA-64-OK => MGA2-64-OK MGA2-32-OK
As this has now been tested on both arches, I'll go ahead and validate. Could someone from the sysadmin team push the srpm fetchyahoo-2.14.7-2.mga2.src.rpm from Mageia 2 Core Updates Testing to Core updates and link the following packages from Core Release to Core Updates perl-IO-Socket-SSL-1.580.0-1.mga2 (Core 32bit Release) perl-IO-Socket-SSL-1.580.0-1.mga2 (Core Release) perl-LWP-Protocol-https-6.30.0-1.mga2 (Core 32bit Release) perl-LWP-Protocol-https-6.30.0-1.mga2 (Core Release) perl-Mozilla-CA-20120118.0.0-1.mga2 (Core 32bit Release) perl-Mozilla-CA-20120118.0.0-1.mga2 (Core Release) perl-Net-SSLeay-1.450.0-1.mga2 (Core 32bit Release) perl-Net-SSLeay-1.450.0-1.mga2 (Core Release) Advisory: This update to fetchyahoo allows it to work with the current version of the yahoo web interface. https://bugs.mageia.org/show_bug.cgi?id=5858
Keywords: (none) => validated_updateCC: (none) => sysadmin-bugs
Depends on: (none) => 2317
Update pushed: https://wiki.mageia.org/en/Support/Advisories/MGAA-2012-0176
CC: (none) => tmbStatus: REOPENED => RESOLVEDResolution: (none) => FIXED