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.
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.....
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.