New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

Start a Discussion

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Apps and Games Discussion of applications and games available for Mac OS X.

Terminal Help

Post Reply New Thread Subscribe

Thread Tools

rs2sensen's Avatar
Member Since: Mar 20, 2005
Location: Michigan, USA
Posts: 1,416
rs2sensen is a jewel in the roughrs2sensen is a jewel in the roughrs2sensen is a jewel in the rough
Mac Specs: 1.67 Ghz 17" PB w/1 GB Ram; 400 MHz PM G4, 366Mhz iBook Firewire, Nano 4GB Black

rs2sensen is offline
I have yahoo email, and have been trying to find a way to get POP access (they only offer it to premium members). I found one site that is supposed to let me do it, I downloaded their files, but I can't make any sense of how to install them, please help. Can someone please explain to me what I'm supposed to do to install the files. Thanks!


Where to place these files

use terminal to place ypops and ypops.bin to /usr/local/bin
(since Finder cannot access to that directory.)
* launch in the /Applications/Utilities
* cd [path to this un-zipped folder]
(you can drag the folder's icon into the terminal window to get the path)
(so it looks like cd /Users/JohnDoe/Documents/download/yahoopops_mac)
* sudo chmod u+x ypops
* sudo chmod u+x ypops.bin
* sudo cp ypops /usr/local/bin/
* sudo cp ypops.bin /usr/local/bin/

use terminal or Finder to place ypopsrc to your home directory
* cp ypopsrc ~/

Use TextEdit (or SubEthaEdit, recommended) to edit the content of ypopsrc in your home directory to match your configuration (in particular, if you have proxy server to handle external connection...). Otherwise, the setting in the ypopsrc should be OK for most users:
* it will flag those fetched mails as 'read' in yahoo;
* it will empty the trash folder each time it visit yahoo;
* it will fetch 10 mails in each visit. (it seems that yahoo will lock the mail account temporarily if it sees the large amount of mail download activity in a short interval of time. So, don't set this number too large. Also, large number for this setting may make yahoopops delay the response back to, which will think the localhost mail server (yahoopops) is defunct.)

If you need to change some settings in ypopsrc when ypops is running, you need to re-launch ypops to make those change effective. So, the following command is to terminate ypops:
* type 'ps' in terminal (without quote)
* see and write down PID of ypops.bin (process ID)
* type 'kill nnn' in terminal (without quote; nnn is the PID you just wrote down)

How to use it
For the first time, manually launch it by typing the following into your terminal window:

In your mail client (e.g., Apple's, do the following setup:
* add a new account from menu: Mail: Preferences, account
* Account Type: POP
* Description: my YahooPOPs (or your favorite)
* E-mail address:
* Full Name: Your Name
* Incoming Mail server: localhost
* User Name: your_login_name_in_yahoo
* Password: your_password_in_yahoo
* Outgoing Mail server: (use your present ISP's setting)
(I don't think this compiled program can send mail via yahoo, and I don't know how to configure Mac OS X's mail server function for this.)
* In advanced setting: do not check SSL, but the port number need to be set to 5058, as configured in ypopsrc.
* also, due to yahoo's recent change in user interface, the present version (0.6) of yahoopops cannot delete any mail. So, instruct not to delete read mails (that is, leave the mails on the server forever). This apparently requires us to constantly visit yahoo web site to manually clean the mail box. Yet, it will avoid duplicate download of mails by yahoopops program. (you see, if is set to delete the mails after fetching them, yahoopops relays the deletion instruction and thinks those mails are deleted. So, next time when checking mails, yahoopops will encounter them and result in duplicate mails in your mail box.)

If you successfully fetch mails, you may want to have ypops running automatically. (that is, to avoid typing /usr/local/bin/ypops in terminal every time you turn on your computer)
add the command (either after the last line, or after the first line) in this file:
This file is analogy of Startup item folder for unix stuff.

Known problem(s)
* it will dump the following message to terminal window:
Socket closed.Error = Operation now in progress Retval = 0
whenever it finish fetching/checking mails. It seems no harm, because it does not crash and continues to work.
* It does not have the necessary fix to work with the recent change of yahoo mail interface. As a result, it is not able to delete mails in yahoo mail. The work around: don't let your (or other mail client) delete fetched mail on server. Set to leave mails on the server forever. It is you who have to visit yahoo mail web site to manually delete mails.

How is it compiled
This binary is compiled using Apple's gcc 3.3, in Mac OS X 10.3.5 environment, with additional packages downloaded by fink. The additional packages are openssl, curl, and libxml (see the beginning comment segment in ypcompile with a text editor.) Although Mac OS X unix core has those, yahoopops requires newer version than Mac OS X can provide. The compilation is achieved by modified ypcompile shell script (included in this zip), to work-around the different file tree structure than yahoopops developer group expects. I don't know if the compiled binary file requires any run-time library. If so, it may not run on your computer at all. After all, I am not a unix guru.

The shell script file ypops was generated automatically during the compilation process. However, I modify its content to make ypops.bin run in the background.

What if the program won't run
It runs fine on my Mac, so I don't know what to do with your problem(s). Please post your question / problem at ypops / Mac forum and see if others can help.

Q3Q2003 at yahoo dot com
Oct 20, 2004
QUOTE Thanks

D3v1L80Y's Avatar
Member Since: Feb 02, 2004
Location: PA
Posts: 12,456
D3v1L80Y has a reputation beyond reputeD3v1L80Y has a reputation beyond reputeD3v1L80Y has a reputation beyond reputeD3v1L80Y has a reputation beyond reputeD3v1L80Y has a reputation beyond reputeD3v1L80Y has a reputation beyond reputeD3v1L80Y has a reputation beyond reputeD3v1L80Y has a reputation beyond reputeD3v1L80Y has a reputation beyond reputeD3v1L80Y has a reputation beyond reputeD3v1L80Y has a reputation beyond repute
Mac Specs: MacBook

D3v1L80Y is offline
Seeing that this is a way to defraud a paid service, I would rather not be a part of it. :closed:

Posting and YOU|Forum Community Guidelines|The Apple Product Cycle|Forum Courtesy

mac: a waterproof raincoat made of rubberized fabric
MAC: a data communication protocol sub-layer, also known as the Media Access Control
Mac: a brand name which covers several lines of personal computers designed, developed, and marketed by Apple Inc.

QUOTE Thanks

Post Reply New Thread Subscribe

« Mail-Attachement Question | Norton Problem »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Starter
Last Post
Java From Terminal jdgti OS X - Development and Darwin 10 03-26-2005 07:16 PM
My Terminal is messed up. edokid Switcher Hangout 8 11-16-2004 02:42 AM
The Terminal Fomer OS X - Operating System 14 05-25-2004 11:04 AM
Terminal nbizm 3 for the price of 1 Bo Eddy OS X - Development and Darwin 5 05-04-2004 12:40 PM
looking for a terminal emulator and command shell in Mac OSX CandiMarie OS X - Operating System 9 03-05-2004 03:53 PM

All times are GMT -4. The time now is 06:09 AM.

Powered by vBulletin
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.

Welcome to

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!

(4 digit year)

Already a member?