How to Install YahooPops for Mac OSX

Discussion Forum for YPOPs!/Mac.


How to Install YahooPops for Mac OSX

Postby naseem on October 13th, 2003, 12:36 am

Hello -

I've noticed there's not much in the way of documentation of YahooPops and I thought I'd help out my fellow OSX users with the installation of this extremely handy little program. I've put together the following installation guide, hopefully with enough details that even a unix newbie can get this going. Here goes:


Installing YahooPops on Mac OS X


1. Download the Mac OS X version of YahooPOPs! (Don't worry that it's called "Server Edition")

2. If the file yahoopops-0.3.9.2-mac.tar.gz isn't automatically decompressed, you'll have to do it yourself.
    a. Open a Terminal window

    b. Navigate to the directory where the file is kept. This will most likely be /Users/<you>/Downloads or /Users/<you>/Desktop. (For unix newbies: use 'ls' to list files, 'cd <directory name> to change a directory, 'pwd' to see which directory you are currently in.)

    c. When you find yahoopops-0.3.9.2-mac.tar.gz, run the following command:
      gzip -dc yahoopops-0.3.9.2-mac.tar.gz | tar xvf -
3. Type "cd yahoopops-0.3.9.2mac/unix" at the prompt

4. Type "make" at the prompt

5. Copy the yahoopops binary to a permanent location. I've placed mine in /usr/local/bin, but you could alternatively put it in your home directory or the applications directory.
    cp yahoopops /usr/local/bin

6. Edit the .cshrc file in your home directory to automatically start yahoopops when you login.
    vi ~/.cshrc

Arrow down, and at the bottom of the file type the letter "o" and type the path to your yahoopops binary.. eg: "/usr/local/bin/yahoopops &" . To save and quit hit the following 5 keys: <esc> : w q <return>


Configuring YahooPops to Download Mail

1. Copy the file yahoopops_samplerc to your home directory and call it ".yahoopops" (Note the preceding "."):
    cp yahoopops_samplerc ~/.yahoopops
2. Edit the .yahoopops file with vi.

3. I'm not going to get into all the things you can configure in this file to customize your mail download, but here's a few things I have modified:
    - Set USE_PROXY_SERVER to 0.
    - Changed EMPTY_TRASH_ON_EXIT to 0 so all the e-mail will be transferred to the Trash folder, but not deleted.
    - LEAVE_MAILS_UNREAD to 0, so all e-mails will be set to "read" once they are downloaded.

Running YahooPops For the First Time

1. If you've set up your .cshrc to automatically run YahooPops when you login, this is the only time you'll have to worry about starting the program up. Simply execute the command:
    source ~/.cshrc


Configuring Apple's Mail Client to Use YahooPops

1. Start up Apple's Mail Client
2. Navigate to Mail->Preferences
3. Click "Add Account"
4. Fill in the following information:
    Account Type: POP
    Description: My Yahoo Mail (or something more creative if you wish)
    E-mail Address: [email protected]
    Full Name: Your Name
    Incoming Mail Server: localhost
    User Name: your_login_name
    Password: only you know this!

    Outgoing Mail Server:
      a. Click on "Options"
      b. Type your ISP's SMTP server name into "Outgoing Mail Server" and press OK. For example, my server is smtp.west.cox.net. (I haven't figured out how to set up YahooPops to run SMTP... anyone?)

5. Click OK.
6. Click the "Get Mail" button, and e-mail should start downloading if I've explained all this correctly =)
7. Send a couple test messages to make sure SMTP is working correctly.

Hopefully this covers everything. It can be a bit tricky. Please let me know if I'm missing anything, or if any of these steps simply don't work, and I'll try to answer any questions that spring up ('cause obviously the developers of this program don't spend too much time with the OSX version.)

Good Luck!!!


-naseem

:)

naseem
YPOPs! Newbie
YPOPs! Newbie
 
Posts: 1
Joined: October 12th, 2003, 10:27 pm

Need Help with install

Postby ebusch on October 22nd, 2003, 5:01 am

Hi-

Thanks for providing the install instructions.

I seem to be having some problems getting it to work though. I'm running a G4 in a beige G3MT under OS 10.2.8.

I compiled yahoopops and saw the following at the end:
cc -g -I. -I../common -I../common/lib/re_lib -I/home/users/o/os/osdndevel/ypmac/openssl/include -I../common/lib/mimepp/src -I../common/lib/mimepp/examples/email -D_REENTRANT -o yahoopops ConfigAdvancedPage.o ConfigEmailPage.o ConfigEmailPreferencesPage.o ConfigLogPage.o ConfigMiscPage.o ConfigNetworkPage.o ConfigProxyPage.o ConfigSecurityPage.o CustomPropertyPage.o DataHolder.o DisclaimerDlg.o Email.o HyperLink.o mainfrm.o OptionsTreeDlg.o ProgressWnd.o ServiceClient.o stdafx.o trayicon.o WebBrowser.o YAHOOPOPS.o ../common/lib/mimepp/rel/libmimepp_core.a ../common/lib/mimepp/rel/libmimepp_util.a ../common/lib/mimepp/rel/libmimepp_net.a ../common/libcommon.a ../common/HttpClient/libhttp.a ../common/lib/re_lib/libre_lib.a -L/home/users/o/os/osdndevel/ypmac/openssl/lib -lcrypto -L/home/users/o/os/osdndevel/ypmac/openssl/lib -lssl -lpthread -lstdc++
ld: warning -L: directory name (/home/users/o/os/osdndevel/ypmac/openssl/lib) does not exist
ld: warning -L: directory name (/home/users/o/os/osdndevel/ypmac/openssl/lib) does not exist
ld: warning table of contents of library: ../common/lib/re_lib/libre_lib.a not sorted slower link editing will result (use the ranlib(1) -s option)

It did create a binary of size 1333680.
When I run it, it runs but does nothing. Nothing shows in the log file either. I made the changes in the .yahoopops file. I am using Entourage for reading email and set it up based on your Mac Mail instructions.

Is there some sort of system service that must be running that I could of turned off? Did the compile errors imply I need to install openssl? If so, where and how do I do that?

I have been using the shareware Mail Forward program to read Yahoo but would like to switch to this since it offers an automatic way of deleting the Yahoo Trash.

Thanks for the help.
User avatar
ebusch
YPOPs! Newbie
YPOPs! Newbie
 
Posts: 1
Joined: October 22nd, 2003, 4:53 am

"make" command not understood by OSX

Postby seansadler on November 5th, 2003, 10:07 pm

I downloaded and decompressed the file per the instructions, but when I type "make" at the prompt, I get the following, "command not found". Has anyone else experienced this?

I downloaded the openssl engine and decompressed it (per the instructions on one of the other Mac OSX threads here), but the Readme says I have to have Codewarrior to make it install under OSX.

Does anyone have any other idea how I can create the binary?

Thanks,
Sean Sadler[/b]
seansadler
YPOPs! Newbie
YPOPs! Newbie
 
Posts: 2
Joined: November 5th, 2003, 10:00 pm

Postby Duckmanjbr on November 8th, 2003, 6:30 pm

Sean,
u first need to have Xcode tools installed for 'make' to work. Xtools should have come w/ your OSX disks or it can be downloaded from here: https://connect.apple.com/cgi-bin/WebObjects/MemberSite.woa/302/wo/Up5VFsD2uJW22i1kM9725lPculf/0.0

as for the rest of the install i've hit my brick wall. i'm REALLY new to mac's and OSX and even though i have compiled everything and set everything up following the guide lines i still don't have a working setup. i'm thinkin my problem is w/ yahoopops running or in my case not running. can anyone w/ more mac know-how help me w/ this? when i start it up it opens in a terminal window, is that right? also when i try to get mail from i get the following error w/in that window:
*** malloc_zone_malloc[2298]: argument too large: 4269751282

OSX mail won't even startup w/ configuring, i can't get it to see 'localhost'. this leads me to think yahoopops just not running or something. any thoughts?

duckman
Duckmanjbr
YPOPs! Newbie
YPOPs! Newbie
 
Posts: 1
Joined: November 8th, 2003, 6:19 pm

Unable to "Make"

Postby seansadler on November 9th, 2003, 8:36 pm

Thanks Duckman! Unfortunately, I'm running OSX 10.2.8. Apple's website states that XCode Tools only run on OSX 10.3 (Panther). Apparently it's their attempt to wrestle away some of CodeWarrior's business.

Does anyone else have some idea how I can "make" the binary on OSX 10.2 (without codewarrior or Xcode)?

Thanks,
Sean Sadler
seansadler
YPOPs! Newbie
YPOPs! Newbie
 
Posts: 2
Joined: November 5th, 2003, 10:00 pm

Postby qualityflatbed on November 18th, 2003, 7:07 pm

Duckmanjbr,

I'm getting the same type of errors on my installation. I compiled the software on OSX 10.3 using make at the terminal.

When I run yahoopops it starts ok and sometimes it retrieves email ok through the mac mail program. Using localhost for host, port 5058, and my username and password. However, most of the time right after I put in a password it gets the malloc zone error. In the log file it says password received from client, then connecting to yahoo, then it throws the error. It has also timed out at certain times while downloading messages. In this case it just says STAT received form mail client and then it stops.

If anyone knows how to figure this out or knows where the problem may be at in the code, I'd be happy to look and try and fix it.

Update: I looked over some of the code and tried to track down the problem. I ended up commenting out lines 804-807 in common/HttpClient/HttpClient.cpp.
These lines are:
if(resp.IsResponseComplete())
{
break;
}

Commenting out these lines got rid of the malloc errors I was getting. However, I had one message in my yahoo inbox with size 1723 Kb that would get stuck in checkin for a null response form the server. All other messages were less than 100k and worked fine. I compiled this using the included make file under the unix directory on mac OSX10.3.1
qualityflatbed
YPOPs! Newbie
YPOPs! Newbie
 
Posts: 1
Joined: November 18th, 2003, 6:59 pm

The make comes up with a strange error. No binary...

Postby johnhspencer on May 19th, 2004, 10:54 pm

Hi.

The end of the output from my "make" is as follows:

ld: warning -L: directory name (/home/users/o/os/osdndevel/ypmac/openssl/lib) does not exist
ld: warning table of contents of library: ../common/lib/re_lib/libre_lib.a not sorted slower link editing will result (use the ranlib(1) -s option)
ld: Undefined symbols:
_OpenSSL_add_all_algorithms
make[1]: *** [yahoopops] Error 1
make: *** [all] Error 2
John-Spencers-Computer:/Applications/yahoopops-0.3.9.2mac/unix johnspencer$

Error 1 and 2 don't help me out. I made no changes to the configuration file, and I'm using the make from the Apple Developer's Kit. I'm running 10.3.3.

Why, migawd, why???

Please help.
johnhspencer
YPOPs! Newbie
YPOPs! Newbie
 
Posts: 1
Joined: May 19th, 2004, 10:48 pm
Location: San Carlos, CA

Permission denied when I try to copy yahoopops to bin

Postby daax on May 26th, 2004, 10:55 am

I get the Permission denied message when I try to copy to bin. I went to the folder and tried to copy yahoopops into it but got the same message.

[localhost:~/Desktop/yahoopops-0.3.9.2mac/unix] daax% cp yahoopops /usr/local/bin
cp: /usr/local/bin/yahoopops: Permission denied

I am working out of the administrator account. Any suggestions?
______________
daax
User avatar
daax
YPOPs! Newbie
YPOPs! Newbie
 
Posts: 2
Joined: May 23rd, 2004, 9:12 am

Guide for installing on Mac

Postby daax on June 3rd, 2004, 9:28 am

Thanks naseem for providing this guide. It is easy to use and very clear. Unfortunately there is a command that my terminal doesn't seem to understand. I edited the .cshrc file with "o" and the path to my binary but when I try "source ~/.cshrc" I receive "[localhost:yahoopops-0.3.9.2mac/yahoopops-0.3.9.2mac/unix] daax% source ~/.cshrc
[1] 854
[localhost:yahoopops-0.3.9.2mac/yahoopops-0.3.9.2mac/unix] daax% o: Command not found."

I tried "man o" and got the message "No manual entry for o".

Is there a version problem going on here?
____________
daax
User avatar
daax
YPOPs! Newbie
YPOPs! Newbie
 
Posts: 2
Joined: May 23rd, 2004, 9:12 am

postfix + panther + mac mail client

Postby bettyann on June 4th, 2004, 6:04 pm

hello all,

first i want to thank naseem for his excellent instructions outlining how to install yahooPOPs on mac os x. take a bow, naseem. i am envious when i look at the windows side of the shop. but by now i've gotten used to second-citizen status in the world of software development for personal computers.

but naseem's directions took me only so far. i installed yahooPOPs on a mac G4 with a clean install of panther os 10.3.4. in other words, no daemons or any other processes are running. once i built and got yahooPOPs running, i looked around the linux forum here to see what else i might need to do. that was when i learned that i needed to start sendmail. while investigating sendmail, i learned that panther uses PostFix in place of sendmail. i then found bernard teo's "PostFix Enabler" (http://www.roadstead.com/weblog/Tutorials/PostfixEnabler.html). this looks really nice.

once i started postfix (via teo's "PostFix Enabler") with no options, the mac mail client now prompts me for my yahoo password but returns the error message that yahoo has rejected my password. i took this as good news -- seems so close!

but now i am utterly confused about what all the postfix options mean and how how to set them correctly -- host names, domain names, relay-domains, proxies, SMTP clients, SSL, etc. whew!

can anyone guide me thru the proper setup of postfix (via teo's "PostFix Enabler" or command line switches or vi'ing config files -- i'm comfortable in any of these modes) to work with yahooPOPs and mac mail client?

here is my environment:

* the place in which i am physically located has blocked all web-based email (yahoo, hotmail, msn, etc) using websense. let's call this place "meenie.com", shall we? but we can access mail via POP.

* i installed yahooPOPs following naseem's instructions on my mac G5 panther os 10.3.4. this was straightforward. when i issue the command "ps -aej" on the mac unix terminal, the only process running is yahoopops. i was confused as to how to define some of the parameters in the config file but this is what i have now:

Code: Select all
DOWNLOAD_FROM_INBOX 1
DOWNLOAD_FROM_BULKFOLDER 0
EMPTY_TRASH_ON_EXIT 1
LEAVE_MAILS_UNREAD 0
MAX_NUMBER_EMAILS 10
EMAIL_CATEGORY a
SECURE_CONNECTION 0
MD5_PASSWORD 0
USE_PROXY_SERVER 0
HTTP_PROXY_SERVER_ADDR ""
HTTP_PROXY_SERVER_PORT ""
HTTPS_PROXY_SERVER_ADDR ""
HTTPS_PROXY_SERVER_PORT ""
USE_PROXY_AUTHENTICATION 0
PROXY_SERVER_USERNAME abc
PROXY_SERVER_PASSWORD def
YAHOOPOPS_PORTNUMBER 5058
GENERATE_LOGS 1
GENERATE_SIMPLE_LOGS 1
GENERATE_VERBOSE_LOGS 1
LIMIT_LOG_FILE_ACTIVITY 0
LOG_FILE_SIZE 5000
USE_BETA_YAHOO 1
YAHOO_SMTP_PORT 5059
YAHOO_ENABLE_SMTP 1
USE_YAHOO_SENT_MAIL_FOLDER 1
ENABLE_UIDL 1
YAHOO_FOLDERS_FOR_EMAIL


* i set up the mac mail client according to naseem's instructions. i also set up mac mail to access meenie.com's groupwise mail server. accessing groupwise mail is successful. since mac mail prompts me for my yahoo password and returns the error that yahoo rejected the password, i think i've got mac mail set up correctly.

i am stuck at postfix. any suggestions as to how to configure any of these pieces -- yahooPOPs, postfix, mac mail client -- is greatly appreciated. are there any other mac / unix daemons or processes i should know about (such as ssh)?

i had no idea i would have to draw on my scant experience as a unix sys admin in order to get yahooPOPs to run.

thanks,
- bettyann
bettyann
YPOPs! Newbie
YPOPs! Newbie
 
Posts: 1
Joined: June 4th, 2004, 4:39 pm

Postby ARA on June 16th, 2004, 12:36 pm

it hasn't been completely stable, but i tried changing the port number (after following all of the instructions above), and i have been able to send and receive mail from my yahoo account.

basically, i changed to port 1048 (just a random selection) in both the .yahoorc file and in Mail.app, and perhaps in the Postfix Enabler options.

i'm guessing that another application was trying to use the default 5048 port, and so was conflicting with yahoopops.

i'm no expert, so take my recommendation with an extremely large grain of salt.
ARA
YPOPs! Newbie
YPOPs! Newbie
 
Posts: 1
Joined: June 16th, 2004, 12:30 pm

Postby sourceforgesmurf on June 16th, 2004, 3:33 pm

but now i am utterly confused about what all the postfix options mean and how how to set them correctly -- host names, domain names, relay-domains, proxies, SMTP clients, SSL, etc. whew!

can anyone guide me thru the proper setup of postfix (via teo's "PostFix Enabler" or command line switches or vi'ing config files -- i'm comfortable in any of these modes) to work with yahooPOPs and mac mail client?

here is my environment:

* the place in which i am physically located has blocked all web-based email (yahoo, hotmail, msn, etc) using websense. let's call this place "meenie.com", shall we? but we can access mail via POP.

* i installed yahooPOPs following naseem's instructions on my mac G5 panther os 10.3.4. this was straightforward. when i issue the command "ps -aej" on the mac unix terminal, the only process running is yahoopops. i was confused as to how to define some of the parameters in the config file but this is what i have now:



Code:

DOWNLOAD_FROM_INBOX 1
DOWNLOAD_FROM_BULKFOLDER 0
EMPTY_TRASH_ON_EXIT 1
LEAVE_MAILS_UNREAD 0
MAX_NUMBER_EMAILS 10
EMAIL_CATEGORY a
SECURE_CONNECTION 0
MD5_PASSWORD 0
USE_PROXY_SERVER 0
HTTP_PROXY_SERVER_ADDR ""
HTTP_PROXY_SERVER_PORT ""
HTTPS_PROXY_SERVER_ADDR ""
HTTPS_PROXY_SERVER_PORT ""
USE_PROXY_AUTHENTICATION 0
PROXY_SERVER_USERNAME abc
PROXY_SERVER_PASSWORD def
YAHOOPOPS_PORTNUMBER 5058
GENERATE_LOGS 1
GENERATE_SIMPLE_LOGS 1
GENERATE_VERBOSE_LOGS 1
LIMIT_LOG_FILE_ACTIVITY 0
LOG_FILE_SIZE 5000
USE_BETA_YAHOO 1
YAHOO_SMTP_PORT 5059
YAHOO_ENABLE_SMTP 1
USE_YAHOO_SENT_MAIL_FOLDER 1
ENABLE_UIDL 1
YAHOO_FOLDERS_FOR_EMAIL


* i set up the mac mail client according to naseem's instructions. i also set up mac mail to access meenie.com's groupwise mail server. accessing groupwise mail is successful. since mac mail prompts me for my yahoo password and returns the error that yahoo rejected the password, i think i've got mac mail set up correctly.

i am stuck at postfix. any suggestions as to how to configure any of these pieces -- yahooPOPs, postfix, mac mail client -- is greatly appreciated. are there any other mac / unix daemons or processes i should know about (such as ssh)?

i had no idea i would have to draw on my scant experience as a unix sys admin in order to get yahooPOPs to run.

thanks,
------------------------------

Bettyann:
Postfix is only to get your outgoing mail to work. It should not affect your retrieval of email.

The critical problem would be here:
"* the place in which i am physically located has blocked all web-based email (yahoo, hotmail, msn, etc) using websense. let's call this place "meenie.com", shall we? but we can access mail via POP. "

They way yahoopops works is that it acts as a web based mail client. If your company is blocking it, then you are out of luck. Unless your Mac is outside the company?

Also, I assume you changed the port that Mail.app is contacting for POP mail.
sourceforgesmurf
YPOPs! Newbie
YPOPs! Newbie
 
Posts: 2
Joined: June 16th, 2004, 2:29 pm

Postby gatewayy on June 16th, 2004, 7:15 pm

I would be wonderful if you could install this like any other mac app but it looks like he mac version hasn't been updated on a long longtime. i guess there is no one around to activley develop it.
User avatar
gatewayy
YPOPs! Newbie
YPOPs! Newbie
 
Posts: 4
Joined: January 7th, 2004, 6:35 pm

Postby edmoncu on September 18th, 2004, 4:28 am

just a comment. downloading xcode (w/c runs around a couple of hundred of megabytes) for yahoopops compilation, especially for dialup users would prove very difficult. would it be possible for someone to upload a pre-compiled copy of yahoopops?
edmoncu
YPOPs! Rookie
YPOPs! Rookie
 
Posts: 11
Joined: September 18th, 2004, 4:19 am


Return to YPOPs!/Mac

Who is online

Users browsing this forum: No registered users and 0 guests

paw prints
SourceForge