-
Senior Member
registered user
Installing ypops (YahooPOPS) - Made easy.
Ok...for my 2nd contribution I give you an easy setup and install of the excellent program ypops which allows you to check your Yahoo!Mail with any POP3 (Mozilla compatible) email program. Without paying for the premium Yahoo Account...
Youll need the simple installer script that I made:
Copy the following and paste it into a file named ypops.install and save
then chmod +x ypops.install
Code:
!/bin/bash
##
###
#### This basic install script was created to copy everything to the correct place and set afew sym links.
#### so that all logging output ends up and in correct places and the HTML debugging output from ypops stays
#### contained.
########### Edit here if you want #########
# Make sure ypops is in its OWN FOLDER!!!
INSTALL_DIR=/usr/bin/ypops/
ETC_DIR=/etc/ypops/
SYSLOG_DIR=/var/log/ypops/
BIN_DIR=/ysr/bin/
####### END Settings ########
echo Installing YahooPOPs! ....
echo .... Creating directories ...
mkdir $INSTALL_DIR
mkdir $ETC_DIR
mkdir $SYSLOG_DIR
echo .... Copying files ....
cp ypops $INSTALL_DIR
cp ypops.ini $ETC_DIR
cp ypops.ini $ETC_DIR\ypopsrc
cp yahoopops.sh $BIN_DIR
echo "" >$SYSLOG_DIR\ypops.log
echo .... Creating links ....
ln -s $ETC_DIR\ypops.ini $INSTALL_DIR\ypops.ini
ln -s $ETC_DIR\ypopsrc $INSTALL_DIR\ypopsrc
ln -s $SYSLOG_DIR\ypops.ini $INSTALL_DIR\ypops.log
# This is for security... wouldnt want your email accesible through debugging output now would you?
echo ... Setting permissions ...
chmod 0600 $INSTALL_DIR
echo ""
echo Done! run yahoopops.sh to start/stop YahooPOPs.
echo ""
Youll also need the loader script. Same as above - paste into a file named yahoopops.sh
Code:
#!/bin/bash
##
###
####
######## Settings ###############
YPOPS_HOME=/usr/bin/ypops/
YPOPSINI=/etc/ypops/ypops.ini
####### END Settings ############
LAST_DIR=$PWD
SMPT=` grep -A 0 SmtpPort= $YPOPSINI `
POP3=` grep -A 0 Pop3Port= $YPOPSINI `
PARM=$1
if [ "$PARM" ]; then
if test $PARM = start
then cd $YPOPS_HOME ;
echo Starting YahooPOPs! ..... ;
./ypops &
echo Â*Â* Â*Â* Â*Â* Â*Â*$SMPT ;
echo Â*Â* Â*Â* Â*Â* Â*Â*$POP3 ;
echo "" ;
cd $LAST_DIR ;
echo YahooPOPs was started! ;
echo "" ;
else if test $PARM = stop
then echo Stopping YahooPOPs! .... ;
YPOPSPID=` ps -C ypops -o pid= ` ;
kill $YPOPSPID ;
fi
fi
else echo "Usage: ./yahoopops.sh start -or- ./yahoopops.sh stop"
fi
You can save yourself the trouble of creating to script yourself if youd like by downloading from my thread on the ypops forum:
http://www.ypopsemail.com/index.php?...wtopic&p=10733
Take care,
-Justin
One Mynds Eye
Similar Threads
-
By onemyndseye in forum Tips and Tricks
Replies: 0
Last Post: 03-24-2007, 09:05 PM
-
By ginestre in forum General Support
Replies: 1
Last Post: 04-08-2006, 10:54 AM
-
By distiller in forum MS Windows & New to Linux
Replies: 2
Last Post: 10-27-2005, 01:37 AM
-
By bb in forum Hdd Install / Debian / Apt
Replies: 7
Last Post: 10-21-2003, 05:47 AM
-
By eadz in forum The Lounge
Replies: 3
Last Post: 07-01-2003, 09:31 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

TP-Link TL-SG105 5-Port Gigabit Ethernet Unmanaged Metal Desktop Network Switch
$19.99

Cisco Catalyst 2960-48TT-L 48-Port Fast Ethernet Managed Rackmount Switch
$46.99

NETGEAR GS308EP Essential Series 8-Port Gigabit PoE+ Unmanaged Switch
$49.99

Linksys LGS328MPC 24-Port Managed Gigabit PoE+ Switch with 4 10G SFP+ Uplinks
$224.95

10-Port Gigabit PoE Network Switch with 8 PoE+ Ports with 2 Combo SFP Slots 125W
$39.99

5 Port Gigabit Unmanaged Ethernet Switch, Home Network Hub, Office Ethernet S...
$9.64

TP-Link TL-SG2210P 10-Port Gigabit Smart Switch w/ 8-Port PoE+ NO AC SKU 25597
$36.98

Arista DCS-7010T-48-R 48P 1GbE 4P 10GbE SFP+ RA Switch with rack mounts
$69.00

Cisco WS-C3650-12X48UR-L 48-Port Stackable Layer 3 8x10G SFP+ Port Switch
$129.99

NETGEAR 5-Port Gigabit Ethernet Unmanaged Switch (Gs305) - Desktop Quiet Fanless
$25.99