How to check Hotmail with KMail

From FedoraNEWS.ORG

Written by Chitlesh Goorah on 2005-10-11

Table of contents

What is GotMail ?

GotMail (http://sourceforge.net/projects/gotmail/) is a perl script to fetch mail out of your Hotmail or MSN account. This is especially useful if you want to move from Hotmail into one of the other free mail services - one command can do it all. Gotmail also supports getting any new mail only from your Hotmail or MSN account - perfect for using a Hotmail account as a redirect address into another account.

Materials Needed

  • rpm-build
  • rpm-devel
  • rpm-libs
  • perl (>=5)
  • curl (>=7.9.8)
  • KMail (http://kmail.kde.org/)

Download Gotmail

Download (http://prdownloads.sourceforge.net/gotmail/gotmail-0.8.6.tar.gz?download) the tar.gz to your home directory.

Build the RPM

You can either build the RPM package yourself as described below or download it directly from here (http://prdownloads.sourceforge.net/gotmail/gotmail-0.8.6-1.noarch.rpm)

cd ~
cp -a /usr/src/redhat/ rpmbuild
echo '%_topdir %(echo $HOME)/rpmbuild' >> .rpmmacros
mkdir rpmbuild/gotmail
cp gotmail-0.8.6.tar.gz ~/rpmbuild/gotmail
cp gotmail-0.8.6.tar.gz ~/rpmbuild/SOURCES
tar xvfz gotmail-0.8.6.tar.gz
cp gotmail-0.8.6/gotmail.spec ~/gotmail.spec
rpmbuild -ba gotmail.spec

Install / Configure

Installation of the rpm:

cd rpmbuild/RPMS/noarch
sudo rpm -Uvh gotmail-0.8.6-1.noarch.rpm

Configuration of gotmail:

cd ~

Creating the Configuration file:

kwrite .gotmailrc

You should fill .gotmailrc file by:

username=USERNAME
password=PASSWORD
domain=hotmail.com
folder-dir=/home/FC_4USERNAME/.hotmail
folders=Inbox
silent 
delete
retry-limit=3

Replace

  • USERNAME by username of hotmail account without @hotmail.com
  • PASSWORD by your password
  • FC_4USERNAME by your username on Fedora Core
mkdir ~/.hotmail
touch ~/.hotmail/Inbox

Configure KMail

It is now KMail's turn to be configured.

  • Open KMail.
  • Settings --> Configure KMail
  • Accounts -> Receiving
  • Click on Add.. and Select "Local Mailbox"
  • Choose an account name of your choice, ex: Hotmail
  • Then point the location to ~./hotmail/Inbox
  • Select "Mutt dotlock" for the locking method
  • Select "Enable interval mail checking
  • For destination folder, select Inbox.
  • For the precommand, type gotmail
  • Finally click on OK.

Download E-mails

  • Thats it. Now when you check mail in KMail, it downloads your hotmail!
  • If KMail cannot retrieve your Hotmail, then select "None" for the locking method
Personal tools