![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Ubuntu 9.10 is out!!!
When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu. The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely. |
|
Tutorials & Tips The place to find Ubuntu related Tips & Tricks. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Has an Ubuntu Drip
![]() Join Date: Apr 2005
Beans: 688
Dapper Drake Testing/
|
HOWTO: install freepops
Hello,
i've been fighting all day to get freepops working with ubuntu hoary, and finally i get it working, so it's cool to share it with others, Q. What is freepops Freepops is a webmail -> pop client, it allow to receive a lot of webmail using a pop client, like hotmail, gmail, aol etc.... check this page for all supported modules let's begin by preparing the system, to get it compiled i had to install the following packages, Code:
sudo apt-get install bison flex libc6-dev libcurl3-dev libexpat1-dev libidn11-dev libssl0.9.7 zlib1g-dev debconf let's download now the sources, go to http://sourceforge.net/projects/freepops/ and download the sources,, NOTE: i use /usr/src to always keep a copy of the compiled sources in case i want to uninstall it NOTE2: this guide will presume that you have downloaded the build 0.0.27, if it isn't the case be sure you replace the version Code:
cd ~ wget http://mesh.dl.sourceforge.net/sourceforge/freepops/freepops-0.0.27.tar.gz sudo tar -xzvf freepops-0.0.27.tar.gz -C /usr/src cd /usr/src/freepops-0.0.27 sudo ./configure.sh linux sudo make sudo make install so let's begin by building the automatic run script Code:
sudo pico /etc/init.d/freepops Code:
#! /bin/sh
#
# TODO:
# To be in perfect debian style we should use start-stop-daemon also
# for chrooting.
#
#
### some default values ###
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
DEFAULT_DAEMON=/usr/local/bin/freepopsd
DEFAULT_PIDFILE=/var/run/freepopsd.pid
DEFAULT_CHROOTED_DAEMON_OPTS=" -n -s nobody.nogroup"
DEFAULT_DAEMON_OPTS=" -n"
NAME=freepopsd
DESC="freepops daemon"
### /etc/default/ loading ###
# Include freepops defaults if available. Used variables are:
# DAEMON, DAEMON_OPTS, CHROOTED_DAEMON_OPTS, PIDFILE, CHROOT
# all have a DEFAULT_ here, except CHROOT that is empty if the
# daemon should run in the normal environment
if [ -f /etc/default/freepops ] ; then
. /etc/default/freepops
fi
if [ -z "$DAEMON" ] ; then
DAEMON=$DEFAULT_DAEMON
fi
if [ -z "$PIDFILE" ] ; then
PIDFILE=$DEFAULT_PIDFILE
fi
if [ -z "$DAEMON_OPTS" ] ; then
DAEMON_OPTS=$DEFAULT_DAEMON_OPTS
fi
if [ -z "$CHROOTED_DAEMON_OPTS" ] ; then
CHROOTED_DAEMON_OPTS=$DEFAULT_CHROOTED_DAEMON_OPTS
fi
test -x $DAEMON || exit 0
set -e
### helpers ###
function start_freepopsd () {
if [ -z "$CHROOT" ] ; then
start-stop-daemon --start -b --quiet -m -p $PIDFILE \
--exec $DAEMON -- $DAEMON_OPTS
else
echo -n "(chroot) "
start-stop-daemon --start -b --quiet -m -p $PIDFILE \
-r $CHROOT --exec $DAEMON -- $CHROOTED_DAEMON_OPTS
fi
}
function stop_freepopsd () {
if [ -z "$CHROOT" ] ; then
start-stop-daemon --stop --quiet -p $PIDFILE
else
echo -n "(chroot) "
start-stop-daemon --stop --quiet -p $PIDFILE
fi
rm $PIDFILE
}
### real code ###
case "$1" in
start)
echo -n "Starting $DESC: "
start_freepopsd
echo "$NAME."
;;
stop)
echo -n "Stopping $DESC: "
stop_freepopsd
echo "$NAME."
;;
restart|force-reload)
echo -n "Restarting $DESC: "
stop_freepopsd
sleep 1
start_freepopsd
echo "$NAME."
;;
*)
N=/etc/init.d/freepops
echo "Usage: $N {start|stop|restart}" >&2
exit 1
;;
esac
exit 0
Code:
sudo chmod +x /etc/init.d/freepops Code:
sudo update-rc.d freepops defaults Code:
sudo invoke-rc.d freepops { start | stop | restart }
Code:
sudo freepopsd & A LITTLE BIT OF INFO ON HOW TO USE IT... _________________________________________ when you install it, you must configure thunderbird, evolution, outlook or whatever pop client u use, SERVER ________ server must be 127.0.0.1 if installed on the same PC, or PC's ip if installed on another, PORT _____ you must use port 2000 USERNAME ___________ you must use your email as username, for example to receive account@hotmail.com mails, your username is account@hotmail.com, samething for gmail, etc... PASSWORD ___________ well your password and now you can receive your mails on your pop client..... if you prefer not to install it, i have install it on my server, if you want to use it here's the config server : mail.siemens-mobiles.org port : 2000 i hope this guide will be usefull to you! [TEMPORARY NOTE] hotmail has changed the way to login (html login forms, javascript etc...) 2 days ago, freepops has updated it's script ans it's working but it's not included in their build, you must update them manually, so let's replace them, Code:
cd /usr/local/share/freepops/lua sudo mv hotmail.lua hotmail.lua_old sudo mv aol.lua aol.lua_old sudo mv mailcom.lua mailcom.lua_old sudo wget http://www.freepops.org/download.php?file=hotmail.lua sudo wget http://www.freepops.org/download.php?file=aol.lua sudo wget http://www.freepops.org/download.php?file=mailcom.lua
__________________
[My Blog] | [My Sites] | [My Ubuntu Guides] doc.gwos.org, the real successor of Ubuntu Guide Last edited by Gandalf; May 22nd, 2005 at 12:30 AM.. |
|
|
|
|
|
#2 | |
|
Skinny Soy Caramel Ubuntu
![]() |
Re: HOWTO: install freepops
Quote:
|
|
|
|
|
|
|
#3 | |
|
Has an Ubuntu Drip
![]() Join Date: Apr 2005
Beans: 688
Dapper Drake Testing/
|
Re: HOWTO: install freepops
Quote:
Code:
wael@nasreddine:~$ sudo apt-get install freepops
Reading package lists... Done
Building dependency tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
freepops: Depends: libcurl3 (>= 7.13.1-1) but 7.12.3-2ubuntu3 is to be installed
Depends: libidn11 (>= 0.5.13) but 0.5.2-3 is to be installed
E: Broken packages
__________________
[My Blog] | [My Sites] | [My Ubuntu Guides] doc.gwos.org, the real successor of Ubuntu Guide |
|
|
|
|
|
|
#4 | |
|
Quad Shot of Ubuntu
![]() |
Re: HOWTO: install freepops
Quote:
Besides, you dont need this for gmail, as gmail has a pop feature Great program. I hope someone uploads the deb somewhere for people who dont like to compile (Added to the index) |
|
|
|
|
|
|
#5 | |
|
Has an Ubuntu Drip
![]() Join Date: Apr 2005
Beans: 688
Dapper Drake Testing/
|
Re: HOWTO: install freepops
Quote:
__________________
[My Blog] | [My Sites] | [My Ubuntu Guides] doc.gwos.org, the real successor of Ubuntu Guide |
|
|
|
|
|
|
#6 |
|
Skinny Extra Sweet Ubuntu
![]() Join Date: Feb 2005
My beans are hidden!
|
Re: HOWTO: install freepops
Off topic - Gandalf got a job already ?
__________________
Sylvia: Look at what you've done to him! Christof: I have given Truman the chance to lead a normal life. The world, the place you live in, is the sick place. |
|
|
|
|
|
#7 | |
|
Has an Ubuntu Drip
![]() Join Date: Apr 2005
Beans: 688
Dapper Drake Testing/
|
Re: HOWTO: install freepops
Quote:
f**k no!!! </off topic>
__________________
[My Blog] | [My Sites] | [My Ubuntu Guides] doc.gwos.org, the real successor of Ubuntu Guide |
|
|
|
|
|
|
#8 | |
|
5 Cups of Ubuntu
![]() |
Re: HOWTO: install freepops
Quote:
Code:
Unable to bind on 0.0.0.0:2000 thx alot |
|
|
|
|
|
|
#9 | |
|
Has an Ubuntu Drip
![]() Join Date: Apr 2005
Beans: 688
Dapper Drake Testing/
|
Re: HOWTO: install freepops
Quote:
__________________
[My Blog] | [My Sites] | [My Ubuntu Guides] doc.gwos.org, the real successor of Ubuntu Guide |
|
|
|
|
|
|
#10 |
|
5 Cups of Ubuntu
![]() |
Re: HOWTO: install freepops
no I don't have a firewall ..
I reinstalled freepops .. but I still have the same problem |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|