How to install YPOPs! RPM for Fedora Core 3

by birko bergt on 2005-04-01

Intro

YPOPs! is an application that provide POP3 access to Yahoo! Mail. For more information take a look at YPOPs! at SourceForge.net.

Here you will find the first RPM version of the YPOPs! application for Fedora Core 3. The sources was grabbed from YPOPs! CVS at 2005-04-01 (Fri Apr 1 14:45:16 CEST 2005).

If you like to roll your own YPOPs! RPM goto the How to build YPOPs! RPM for FedoraCore 3 and start reading.

Downloadable Files

Step by step guide

You need to download only the rpm binary file into a local directory to install it and proceed with the rpm -Uvh command.
If you like to check the integrety of the packages please download my GnuPG key and the MD5SUM into a local directory too.

Then import my public GnuPG key to your public keyring and to your RPM database.

[bergt@kyron5 ~]$ gpg --import RPM-GPG-KEY-bbergt
gpg: key 775857C0: public key "Birko Bergt (RPM-KEY) " imported
gpg: Total number processed: 1
gpg:               imported: 1
[bergt@kyron5 ~]$ sudo rpm --import RPM-GPG-KEY-bbergt
Password:
[bergt@kyron5 ~]$

Now you can verify the signatures of the MD5SUM and the RPM.

[bergt@kyron5 ~]$ gpg --verify MD5SUM.asc
gpg: Signature made Fri Apr  1 18:28:22 2005 CEST using DSA key ID 775857C0
gpg: Good signature from "Birko Bergt (RPM-KEY) "
[bergt@kyron5 ~]$ rpm --checksig ypops-0.7.4-0.FC3.i386.rpm
ypops-0.7.4-0.FC3.i386.rpm: (sha1) dsa sha1 md5 gpg OK
[bergt@kyron5 ~]$

Check the MD5SUM's next.

[bergt@kyron5 ~]$ md5sum --check MD5SUM.asc
ypops-0.7.4-0.FC3.i386.rpm: OK
ypops-debuginfo-0.7.4-0.FC3.i386.rpm: OK
ypops-0.7.4.tar.gz: OK
[bergt@kyron5 ~]$

If all is well, you should check that the package fitt into your Linux installation by doing

[bergt@kyron5 ~]$ rpm -Uvh --test ypops-0.7.4-0.FC3.i386.rpm
Preparing...                ########################################### [100%]
[bergt@kyron5 ~]$

The next steps has to be done as root. So use the su command to become the superuser and install the ypops RPM.

[bergt@kyron5 ~]$ su -
Password:
[root@kyron5 ~]# rpm -Uvh ypops-0.7.4-0.FC3.i386.rpm
Preparing...                ########################################### [100%]
   1:ypops                  ########################################### [100%]
[root@kyron5 ~]#

Let's check ones more if the files are all in place:

[root@kyron5 ~]# rpm -qvl ypops
-rwxr-xr-x 1 root root    958 Mar 27 21:14 /etc/rc.d/init.d/ypops
-rw-r--r-- 1 root root    661 Apr  1 20:23 /etc/ypops/ypopsrc
-rwxr-xr-x 1 root root 441516 Apr  1 20:23 /usr/bin/ypops
-rwxr-xr-x 1 root root    189 Mar 26 14:26 /usr/bin/ypops.sh
drwxr-xr-x 2 root root      0 Apr  1 20:23 /usr/share/doc/ypops-0.7.4
...
-rw-r--r-- 1 root root   3398 Mar 19 10:55 /usr/share/doc/ypops-0.7.4/team.html
-rw-r--r-- 1 root root   2113 Jan 31 07:41 /usr/share/doc/ypops-0.7.4/todo.txt
-rw-r--r-- 1 root root  43008 Feb 10 12:46 /usr/share/doc/ypops-0.7.4/wincvs.doc
drwxr-xr-x 2 root root      0 Apr  1 20:23 /var/log/ypops
drwxr-xr-x 2 root root      0 Apr  1 20:23 /var/run/ypops
[root@kyron5 ~]$

To view the information from the newly installed ypops-package use the rpm -qvi command:

[root@kyron5 ~]# rpm -qvi ypops
Name        : ypops                        Relocations: (not relocatable)
Version     : 0.7.4                             Vendor: Anuj Seth & K.Shyam
Release     : 0.FC3                         Build Date: Fri Apr  1 20:23:25 2005
Install Date: Fri Apr  1 20:31:21 2005      Build Host: kyron5.bergt.org
Group       : Applications/Internet         Source RPM: ypops-0.7.4-0.FC3.src.rpm
Size        : 556713                           License: GPL
Signature   : DSA/SHA1, Fri Apr  1 20:25:04 2005, Key ID 40badbbb775857c0
Packager    : Birko Bergt 
URL         : http://yahoopops.sourceforge.net/index.php
Summary     : YPOPs! is an application that provides POP3 access to Yahoo! Mail.
Description :
YPOPs! is an application that provides POP3 access to Yahoo! Mail.
It is available o­n the Windows, Linux, Solaris and Mac platforms.

Yahoo! Mail disabled free access to its POP3 service on 24th April,
2002. This application emulates a POP3 server and enables popular
email clients like Outlook, Netscape, Eudora, Mozilla, etc., to
download email from Yahoo! accounts. We do not go against the
license agreements of Yahoo! Mail. This application is completely
legitimate and well within the realms of legal software.

How do we do it you ask? Well, this application is more like a gateway.
It provides a POP3 server interface at o­ne end to talk to email clients
and an HTTP client (browser) interface at the other which allows it
to talk to Yahoo!

YPOPs! was inspired by a Perl script called FetchYahoo written by Ravi
Ramkissoon.

Please read and follow the appropriate instructions in the Configuring
Mail Clients, FAQ, and the sticky FAQ at the top of the YPOPs!/Windows
forum before posting in the forum, as the most common issues are
addressed there.
[root@kyron5 ~]#

If you would like to run YPOPs! as a service you should install it into the default runlevels to startup automaticly.
This is done with the chkconfig command.

BTW: The service ypops is allready added by the RPM post-install script. It has executed the command chkconfig ypops --add.

[root@kyron5 ~]# chkconfig ypops --list
ypops           0:off   1:off   2:off   3:off   4:off   5:off   6:off
[root@kyron5 ~]# chkconfig ypops on
[root@kyron5 ~]# chkconfig ypops --list
ypops           0:off   1:off   2:on    3:on    4:on    5:on    6:off 
[root@kyron5 ~]#

To switch the automatic startup of YPOPs! off use the command chkconfig ypops off.

[root@kyron5 ~]# chkconfig ypops off
[root@kyron5 ~]# chkconfig ypops --list
ypops           0:off   1:off   2:off   3:off   4:off   5:off   6:off
[root@kyron5 ~]#

Ok, if still all is well. Let's start our new installed YPOPs! service:

[root@kyron5 ~]# serivce ypops
Usage: /etc/init.d/ypops {start|stop|status|restart|condrestart}
[root@kyron5 ~]# service ypops status
ypops was stopped
[root@kyron5 ~]# service ypops start
Starting ypops daemon:                                     [  OK  ]
[root@kyron5 ~]# service ypops status
ypops (PID 15947) running...
[root@kyron5 ~]#

That's it! Now you can configure your email UA to use the YPOPs! service.

If you not satisfied with YPOPs! and you would like to dispose YPOPs! from your installation, just use the following commands:

[root@kyron5 ~]# service ypops stop
[root@kyron5 ~]# chkconfig ypops off
[root@kyron5 ~]# rpm -e ypops
[root@kyron5 ~]#

File locations

As shown in the above section with the rpm -qvl command the location of the importent files are in the directories. The config file ypopsrc lives in the /etc/ypops directory and has the default content.
By default the ypops service is listening on the localhost address (127.0.0.1).
If you like to have the YPOPs! listening on your local IP-Address replace the 127.0.0.1 with your local IP-Address.