Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 29767

Summary: fetchyahoo fails to empty bulk folder on french yahoo server
Product: Gentoo Linux Reporter: Gustav Schaffter <gustav.schaffter>
Component: Current packagesAssignee: Net-Mail Packages <net-mail+disabled>
Status: RESOLVED WONTFIX    
Severity: normal CC: kanaka
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Gustav Schaffter 2003-09-27 13:44:07 UTC
When running fetchyahoo interactively, an error message about an invalid
hostname is displayed. The displayed hostname seems to be doubled, which
effectively makes it invalid. As a result, the application fails to empty the
bulk folder even if the 'empty-bulk = 1' parameter is set in the configuration
file used.


Reproducible: Always
Steps to Reproduce:
1. emerge fetchyahoo V2.5-r1
2. create a configuration file for fetchyahoo
3. execute fetchyahoo, giving the configuration file as parameter
4. watch the error message ;-)

Actual Results:  
Example of output, showing the error:

#fetchyahoo.pl --configfile=./fetchyahoo/fetchyahoorc.bikersevenfour
http://fr.f207.mail.yahoo.comhttp://fr.f207.mail.yahoo.com
500 Can't connect to fr.f207.mail.yahoo.comhttp::80 (Bad hostname
'fr.f207.mail.yahoo.comhttp:')
Warning: Couldn't empty bulk.


Expected Results:  
Emptied the bulk folder.


Note that when running fetchyahoo from France, the applications gets redirected
to yahoo.fr to fetch the mail. (Even if the mail account is set to
something@yahoo.com) I'm unsure if this may be triggering the error, but it's
possible.
Comment 1 Nick Fisher 2004-06-24 10:45:35 UTC
I think that this is really a job for Ravi, the guy who wrote FetchYahoo, not the Gentoo folks. Have you tryed a more recent version of FetchYahoo? 2.8.0 is in portage (marked as unstable) and the 2.8.0 ebuild can easily be used to install the latest 2.8.2 if you rename it.
I've personally found that I have to keep updating my fetchyahoo to keep up with the yahoo site redesigns.....
Comment 2 Joel Martin (RETIRED) gentoo-dev 2004-07-06 18:00:40 UTC
Please try a newer version of fetchyahoo that is in the tree (2.8.2).

Also, note that your config file will need a "empty-bulk" option set to 1 in
order for bulk folder emptying to happen. I personally don't use the option
because I don't find yahoo's spam catcher to particularly reliable. However, I did just verify that it works for me.

I am going to close this bug. If you still have this problem, consider filing a bug upstream. If not, re-open this bug, but note that all I may be able to do is
to file it upstream myself with the maintainer of fetchyahoo.