Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Other Community Discussions > Tutorials & Tips
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

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
Old June 20th, 2006   #1
Indras
A Carafe of Ubuntu
 
Join Date: Jun 2006
Location: Michigan, US
Beans: 119
Ubuntu 6.06
HOWTO: Send and Receive Hotmail through Evolution

Okay everyone, after digging around in these forums and googling like I've never googled before, I figured out how to send and receive e-mail through hotmail using Evolution. I'm throwing together a rough HOWTO for others. If things need more clarification, let me know and I'll update it.

First, make sure your system is up to date. Open up a terminal and type:

Code:
sudo apt-get update
Now, install the inet daemon

Code:
sudo apt-get install inetutils-inetd
This takes care of all of our dependencies. Now on to the good stuff...

Code:
sudo apt-get install hotway hotsmtp
This will install hotway, which allows you to read hotmail e-mails by simulating a POP3 server, and hotsmtpd, which allows you to send e-mail through hotmail using SMTP. By default, however, only hotway gets installed properly to your inet daemon, so let's fix this.

Code:
sudo gedit /etc/inetd.conf
Look for a line like this:

Code:
pop3		stream	tcp	nowait	nobody	/usr/sbin/tcpd /usr/bin/hotwayd
By default, hotway leaves a copy of each message it downloads on the server. I prefer it this way, so I can read my e-mail at other locations, but if you don't feel like filling up your hotmail box, change the line to add "-r" to the end, like this:

Code:
pop3		stream	tcp	nowait	nobody	/usr/sbin/tcpd /usr/bin/hotwayd -r
And we also need to add a line to get hotsmtpd working, just paste this at the bottom:

Code:
2500		stream	tcp	nowait	nobody	/usr/sbin/tcpd /usr/bin/hotsmtpd
This will set the inet daemon to listen to incoming calls on port 2500, and forward the connection to the hotsmtp daemon. Now, save your file, exit gedit, and restart your inetd server:

Code:
sudo /etc/init.d/inetutils-inetd restart
If everything is working properly, you'll see this pop up on your screen:

Code:
* Restarting internet superserver inetd                            [ ok ]
Now, close out of your terminal and start up Evolution. It may pop up the first-time use wizard, you can use that if you like. Or, you may have to go to Edit->Preferences and hit the Mail Accounts button on the left. However you choose to do it, here's your information:

Email Address: xxx@hotmail.com (fill in your normal e-mail address that you use to login to hotmail)

Receive Server type: POP
Server: 127.0.0.1
Username: xxx@hotmail.com (same as above)
Security: No encryption
Authentication type: Password
(Remember password checkbox is up to you)

Send Server type: SMTP
Server: 127.0.0.1:2500
[X] Server requires authentication (check this box)
Use Secure Connection: No encryption
Authentication Type: PLAIN
Username: xxx@hotmail.com (same as above)
(Optional Remember password checkbox)

Last edited by Indras; July 8th, 2006 at 12:43 AM..
Indras is offline   Reply With Quote
Old June 20th, 2006   #2
avtolle
Iced Blended Vanilla Crème Ubuntu
 
Join Date: May 2006
Location: Wichita, Kansas
Beans: 2,797
Ubuntu 9.10 Karmic Koala
Re: HOWTO: Send and Receive Hotmail through Evolution

Thanks. However, should be hotsmtp, not hotsmtpd as set out in the third code step in your original post.
avtolle is offline   Reply With Quote
Old June 20th, 2006   #3
146lily
Just Give Me the Beans!
 
Join Date: Jan 2006
Beans: 43
Re: HOWTO: Send and Receive Hotmail through Evolution

Quote:
Unable to connect to POP server 127.0.0.1.
Error sending password: -ERR Hotmail said you must pay money to have WebDAV access

Please enter the POP password for bigron.msn@hotmail.com on host 127.0.0.1
I get this error message after entering password and trying to download mail?
146lily is offline   Reply With Quote
Old June 20th, 2006   #4
Flojomojo
First Cup of Ubuntu
 
Join Date: Jun 2006
Location: Washington, DC USA
My beans are hidden!
Re: HOWTO: Send and Receive Hotmail through Evolution

Quote:
Originally Posted by 146lily
I get this error message after entering password and trying to download mail?
Doesn't M$ require you to pay a free for POP and IMAP access to Hotmail now?

That, along with the MSIE-centric focus of www.live.com, is one of the things that pushed me into moving to Linux.
Flojomojo is offline   Reply With Quote
Old June 20th, 2006   #5
avtolle
Iced Blended Vanilla Crème Ubuntu
 
Join Date: May 2006
Location: Wichita, Kansas
Beans: 2,797
Ubuntu 9.10 Karmic Koala
Re: HOWTO: Send and Receive Hotmail through Evolution

Yeah, I got the same message. Thus, away from Hotmail, onto Gmail.
avtolle is offline   Reply With Quote
Old June 20th, 2006   #6
Thund3rstruck
Way Too Much Ubuntu
 
Thund3rstruck's Avatar
 
Join Date: Feb 2006
Beans: 270
Re: HOWTO: Send and Receive Hotmail through Evolution

Great guide, thanks! Worked perfect and now I have my hotmail inside Linux!! Amazing
Thund3rstruck is offline   Reply With Quote
Old June 20th, 2006   #7
Indras
A Carafe of Ubuntu
 
Join Date: Jun 2006
Location: Michigan, US
Beans: 119
Ubuntu 6.06
Re: HOWTO: Send and Receive Hotmail through Evolution

Quote:
Originally Posted by avtolle
Thanks. However, should be hotsmtp, not hotsmtpd as set out in the third code step in your original post.
Thanks, all corrected.

Quote:
Originally Posted by 146lily
I get this error message after entering password and trying to download mail?
I've heard of people getting this before, I'm going to look into it.

By the way, how old is your account? I find a lot of articles in google saying that Hotmail was ending WebDAV access to new accounts in order to crack down on spam, but all the articles are around September 27, 2004. I know for a fact that I've had my hotmail account for at least six years, and I've always had the capability to open it in Outlook Express (which uses WebDAV). I'm thinking if it's a really new account, it might need to be active for a certain number of months before they give you WebDAV. Otherwise, it might be that all new accounts are not getting WebDAV at all, in which case you're SOL.

My only other suggestion is to try logging directly in via www.hotmail.com to confirm that the e-mail address and password are 100% correct, and that the account is active.

EDIT: Here's a website that confirms my suspicions:
http://www.neilturner.me.uk/2006/Apr...ve_mail_i.html
Quote:
You can experience with the WebDAV option, which may work with your account if you have been using Hotmail for a few years.

Last edited by Indras; June 20th, 2006 at 08:03 PM..
Indras is offline   Reply With Quote
Old June 20th, 2006   #8
unique
Just Give Me the Beans!
 
Join Date: Sep 2005
Location: Salem, Oregon
Beans: 52
Ubuntu Karmic Koala (testing)
Send a message via ICQ to unique Send a message via AIM to unique Send a message via MSN to unique Send a message via Yahoo to unique
Re: HOWTO: Send and Receive Hotmail through Evolution

Or better yet just use...
Code:
pop3hot.com
as your pop3 server and your set.
unique is offline   Reply With Quote
Old June 30th, 2006   #9
shof2k
Way Too Much Ubuntu
 
shof2k's Avatar
 
Join Date: Apr 2005
Location: Sussex, UK
Beans: 253
Ubuntu 9.10 Karmic Koala
Re: HOWTO: Send and Receive Hotmail through Evolution

Cool, worked for me without any problems.

Are there any security implications of using email this way. I noticed authentication is in the clear, but am I right in assuming this doesn't matter because the hotmail server is really localost?

Basically I want to know if any passwords or data is sent in the open.

Thanks for the howto
__________________
The Free Software war is won, all else is now maneuvering
shof2k is offline   Reply With Quote
Old June 30th, 2006   #10
Indras
A Carafe of Ubuntu
 
Join Date: Jun 2006
Location: Michigan, US
Beans: 119
Ubuntu 6.06
Re: HOWTO: Send and Receive Hotmail through Evolution

Quote:
Originally Posted by shof2k
Cool, worked for me without any problems.

Are there any security implications of using email this way. I noticed authentication is in the clear, but am I right in assuming this doesn't matter because the hotmail server is really localost?

Basically I want to know if any passwords or data is sent in the open.

Thanks for the howto
You're welcome!

I did a bit of research, but it seems the project page for hotwayd is missing or corrupted (http://hotwayd.sourceforge.net). The only "real" information I can find is this: http://www.freshports.org/mail/hotwayd/

Quote:
Originally Posted by http://www.freshports.org/mail/hotwayd/
Hotwayd uses HTTPMail (the same protocol that Outlook Express uses) to access
servers such as Hotmail. The software acts as a proxy mail server, allowing
you to access e-mail on Hotmail and similar servers using standard POP3 mail
clients.
So, either Hotwayd and Outlook Express both send your username and password in plaintext to the server, or they both do not.

After a bit of digging, I found this site, which is currently missing (so I'm linking to the google cache page):

http://72.14.203.104/search?q=cache:...s&ct=clnk&cd=2

This gives an idea of the login process that Hotwayd uses to connect to the Hotmail server.

If you're feeling really frisky, feel free to read the specifications for the WebDAV protocol for very specific information: http://webdav.org.

Personally, I find it all a bit over my head
Indras is offline   Reply With Quote

Bookmarks

Tags
evolution, hotmail, mail.live.com, thunderbird

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:17 AM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry