Ubuntu Geek

Ubuntu Linux Tips,Howtos&Tutorials|Edgy,Feisty,Gutsy,Hardy,Intrepid

  • RSS Feed

    subscribe to the ubuntu Geek RSS feed


  • Sponsor



  • Categories

  • Meta

  • Sponsor

  • Archives

  • Support Ubuntugeek

    Amount $:
    Website(Optional):


  • Favourite Sites

Send and Receive Your Hotmail messages through Evolution

Posted by admin on February 19th, 2007 Email This Post Email This Post

If you want to use you Evolution mail client to send and receive your hotmail messages use the following procedure.

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

sudo apt-get update

First You need to install the inet daemon

sudo apt-get install inetutils-inetd

This takes care of all of our dependencies.

Next You need to install pop3 server and hotsmtp

sudo apt-get install hotway hotsmtp

This will install hotway, which allows you to read hotmail e-mails by simulating a POP3 server, and hotsmtp, 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.

sudo gedit /etc/inetd.conf

Look for the following line

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 but if you don’t feel like filling up your hotmail box, change the line to add “-r” to the end, complete line looks like below

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 the following line at the bottom of the file

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 using the following command

sudo /etc/init.d/inetutils-inetd restart

If everything is working properly, you’ll see the following pop up on your screen

* 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)

Share/Save/Bookmark

If you want to be notified the next time we write something please subscribe to our RSS feed.Thanks for Visiting!

Related Articles

62 Responses to “Send and Receive Your Hotmail messages through Evolution”

  1. Eurypon Says:

    Worked like a breeze, but… got the following message:

    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 ********@hotmail.com on host 127.0.0.1

    Is there a workaround or am I doing something wrong?

  2. admin Says:

    try this

    edit the /etc/hosts.allow file and add the following line save and exit the file

    hotwayd: 127.0.0.1

    i would also suggest you to check the hotmail server settings

    Hope this helps

  3. Andy Says:

    Great howto.

    Everything seems ok except the ‘Error sending password: -ERR Hotmail said you must pay money to have WebDAV access’.

    Any work around? I’ve tried everything, these sorts of things are what caused me to switch.

  4. probos Says:

    wonderful

  5. Simon Says:

    Thank you! Superb!

  6. Derek Says:

    Hmmmmmm it does not work for me either I tried editing the hosts.allow file but to no avail. Any other suggestions?

  7. Killer Says:

    Of those having problems, have you been able to access your hotmail account through a pop3 client previously? There was a window of time when Microsoft would allow you to do that. Then the cutoff hit and anybody that didn’t have access previously couldn’t get it without paying.

  8. mrpeterpeter Says:

    After editing host.allow I still had no luck connecting.
    Then I guessed the problem is an issue with the password length.
    If you use a long password try shortening your password to eight digits or less and try again.

    The issue is a local one because I can still connect to Hotmail with a long password from my Macbook Pro.
    Hope this helps.

    ;p

  9. probos Says:

    It also works with kmail, Thanks

  10. Richard Paul Says:

    AWESOME!

    I’ve been putzing for a day and a half w/forums trying to cook this goose. BRAVO! Owe you a beer, dude!

    Richard Paul
    Greenwich, CT

  11. Canuck Says:

    Works great but if I delete an email in Evolution it remains on the hotmail server. Is there a way to “sync” the two so that if I delete an email in Evolution it is deleted in the hotmail account?

  12. cookie Says:

    Great how-to,
    something I’ve always wanted to have. It works so well. How about yahoo mail. Would this how to apply to setup the yahoo mail as well?
    Thanks,

  13. Silent Says:

    hey you all, i read this over and over again and gave it a try though it didnt work :S
    dunno wht am i doing wrong though with each command i type in terminal it asks me for the pass and after hitting enter nothing happens…

  14. Shadok Says:

    same for me ; tells me impossible to connect to 127.0.0.1, along with the message:

    -ERR Please log in with USER first

    then when i type the pass the same windows pops up endlessly…

  15. Toni Says:

    Thank you. Ideal guide.
    I’ve done every single instructions and when I try to send a message and type in my password, this is what I get: ‘Error sending password: -ERR Hotmail said you must pay money to have WebDAV access’. And there is no way through! Is there a solution here?

  16. Gavin Jones Says:

    Hi There,

    It all looked so promising but when trying to send and receive I get the following error :

    -ERR Unable to find folder inbox on remote server

    Any Ideas ?

    Gavin

  17. Gavin Jones Says:

    Here is a telnet session to localhost:

    gjones@ubuntu:/etc$ telnet localhost 110
    Trying 127.0.0.1...
    Connected to localhost.
    Escape character is '^]'.
    +OK POP3 hotwayd v0.8.4 -> The POP3-HTTPMail Gateway. Server on ubuntu active.
    user gavin@domain.com
    +OK Username validated, Password required
    pass password
    -ERR Unable to find folder inbox on remote server
    quit
    +OK see you later!
    Connection closed by foreign host.

  18. Toni Says:

    Hi guys, I’m still having problems with starting up Evolution. This message
    “Unable to connect to POP server 127.0.0.1.
    Error sending username: -ERR Please log in with USER first
    Please enter the POP password for xxxxx on host 127.0.0.1″ pops up endlessly.

    What do i do now to move on from here? I feel stuck.

  19. Gavin Jones Says:

    Hi Toni,

    Can you copy the telnet procedure I did above ?

    Basically:

    telnet localhost 110
    USER you@hotmail.com
    PASS YOUR_PASSWORD

    If that works then try “list”

    Gavin

  20. Toni Says:

    Hi Gavin, I’ve just sent my reply and even posted it twice, for which I got “you’ve submitted this twice” or the sort, however, it did not show up on the site. So, here it is again.

    I followed your instructions and this is what I got in the end of the telnet session : “-ERR Hotmail said you must pay money to have WebDAV access” . Obviously, it won’t work for no money.
    Now I wonder how to setup another mail account with Evolution other than hotmail. I’ve got one. What should I write in for server names in the configuring wizard? I tried with the server name to my knowledge but it didn’t work. Or should there be written some server ID?
    I guess the most frequent words about Linux are “Thank you” and this is what makes it wonderful.
    Here is one from me,
    Thank you, Gavin

  21. Ptit Beuk Says:

    Thanks !

  22. Twister Says:

    Worked like a charm! thanks.

  23. Twister Says:

    The guide worked like a charm! Now I can fully transfer to Ubuntu now. Thanks.

  24. Twister Says:

    The guide worked like a charm! Now I can fully transfer to Ubuntu. Thanks.

  25. Twister Says:

    The guide worked like a charm! With Outlook like email access, now I can fully transfer to Ubuntu. Thanks.

  26. nievo Says:

    Great howto! I was half heartedly searching how to set up evolution with my web mail accounts, and 20mins later I have an inbox with 50 mails from my gmail and hotmail accounts. :-)

    Thanks.

  27. Larry Wolfe Says:

    I got all of the expected responses to all the instructions/commands, but when I click on Evolution’s Send/Receive, I get: “Failed to read a valid greeting from POP server 127.0.0.1″

    I double checked everything and found no errors. Anyone have any suggestions?

  28. Jan Says:

    Worked like a charm, except, can not sent messages.
    If I “press” sent/receive” i got the message :

    Error while performing operation.

    Could not send message: Broken pipe

    Can you help me out here pls.

    I can tell you that my wife will completely switch over to Ubuntu since -as she say- it is more logical than XP…….

  29. Jan Says:

    Iets is veranderd.
    De broken pipe boodschap verschijnt alleen als het zend/ontvang proces wordt gecancelled en direct daarna “zend/ontvang” wordt ingedrukt.
    Als het zend/ontvang proces rustig wordt afgewacht totdat het is beeindigd en er wordt dan een zend/ontvang aktie gedaan verschijnt het volgende:
    Error while performing operation.

    Could not execute /usr/sbin/sendmail: mail not sent.

    Hoop dat dit helpt mijn probleem op te lossen….

    Jan

  30. El Greco Says:

    Works GREAT!! THANK YOU!

    Anyone know if its possible to filter the mail downloaded from Hotmail so only mail from certain addresses is downloaded to my PC?

  31. fakename Says:

    This works great and is nice and simple. Have got it to work with evolution on one computer but not on another - don’t know why. There are other mail programs that just as good if not better and they also work with this method:

    Sylpheed
    Sylpheed Claws
    Sylpheed Claws GTK2

    to name but a few. If it doesn’t seem to work in evolution, why not try another program. :)

  32. Benjamin M. Mitchell Says:

    AWESOME!!!

    Worked Perfectly!!

  33. A Person Says:

    After installing apache2 on *buntu, hotaway quits working. I get the following:

    Error while performing operation.
    Could not connect to 127.0.0.1: Connection refused

    I assume that apache has set something that disallows running a pop3 service on *buntu?

  34. Jeremy Says:

    “Failed to read a valid greeting from POP server 127.0.0.1″

    this is what I get after successfully running all the other commands
    listed in the tutorial.

    I have Hotmail access on my Windows drives no problem….

    any suggestions….?

    I’ve got all my GMail accounts set up and working on Evolution ,
    the Hotmail accounts aren’t a BIG deal , but I would like to
    have full access to all my accounts….(I have 2 Hotmail accounts)

    Many thanks for your time.

    Jeremy

  35. Jeremy Says:

    Further to previous post….

    MY bad…..

    there was a little spacing problem (ahem) when I added
    the -r to the line…..

    went back and corrected it and now all works as it should….

    Sorry to have bothered you….LOL!

    thanks

    Jeremy

  36. Lindylex Says:

    Thanks for this how to. It works great for Debian Etch too,

    Thanks, Lindylex

  37. yitao Says:

    Thanks a lot.
    I just successfully receive hotmail by Evolution.
    This article helps me a lot.
    Thanks again.

  38. Dave Says:

    Legend.

    Perfect.

    Ta.

  39. LeMeShiaS Says:

    HELP !! :(

    i get this msg :

    Unable to connect to POP server 127.0.0.1.
    Error sending password: -ERR Unable to find folder inbox on remote server

    Please enter the POP password for lemeshias@hotmail.com on host 127.0.0.1

  40. Wiley Says:

    It works with Sylpheed on Debian Etch (PPC iBook), but takes around ten seconds to authenticate each time I check my Hotmail account. For comparison, both authentication and retrieval are almost instantaneous with my mail.ru account (POP3), and two .edu IMAP accounts.

    Mind you, it’s not too big a concern–it’s great to be able to check my hotmail in Sylpheed–but the main reason I use Sylpheed to begin with is because it’s lightning-fast.

    Thanks for a very useful and easy-to-follow how-to!

  41. slacka-vt Says:

    Thanks, worked great !
    I did have to remove Cyrus because it was using the same port.
    After that, it worked great !
    Thanks a bunch.
    BTW, I’m running hotway with Evolution on a PPC with Ubuntu Hardy Beta
    ~s

  42. Tarek Eldeeb Says:

    Perfect ..

    It worked with MSN as well .. mail @ msn . com

    :)

  43. kris Says:

    thanks man, works like a charm!

  44. sonygeek3k Says:

    Thanks a ton..!!!

    This worked like a charm… The 2nd round of drinks is on me :-)

  45. cavehomme Says:

    Very easy to follow instructions. Worked perfectly, thanks!

    Is there anyway to also access / download user-created folders in the hotmail account other than inbox drafts and sent?

  46. paul Says:

    Works like a charm for me, down with windows!

    note: i have to type the first 3 instructions in root console for it to work, and make sure you close all synaptic update wizard

    cheers mate!!

    -linux newbie

  47. Guss Says:

    hi all,
    i followed all the instructions above, but i keep on getting this msg when i send/receive
    “Unable to connect to pop server 127.0.0.1.
    Error sending password: -ERR Unable to find folder inbox on remote server”

    I’m new to ubuntu, please help me and tell me what to do in detail..
    thanx

  48. jay Says:

    Those having “Could not connect to 127.0.0.1: Connection refused” should make sure that inetutils-inetd is installed. I had to do the following for the instructions to work:

    sudo apt-get install inetutils-inetd

    Jay

  49. Guss Says:

    that was the second step i made after the update as mentioned above, please I’m newbie to linux, please help me !

  50. Guss Says:

    I’ve done the commands all over again, everything went fine but when i press send/receive i got this message again

    “Unable to connect to POP server 127.0.0.1.
    Error sending password: -ERR Unable to find folder inbox on remote server

    Please enter the POP password for *******@hotmail.com on host 127.0.0.1″

    any idea how this can be fixed?! please help me to fix this.

  51. Marissa Says:

    Thank you! That tutorial was awesome, thanks. Made it so much easier to make the linux jump to find out that evolution could in fact download my email the same way outlook did.

  52. Erik Says:

    This works perfectly, you rock dude

  53. Tim Says:

    I’ve the same error as Guss.

    “Unable to connect to POP server 127.0.0.1.
    Error sending password: -ERR Unable to find folder inbox on remote server

    Please enter the POP password for *******@hotmail.com on host 127.0.0.1″

    I’m able to sned messages but cannot receive them for some reason. Any help is appericiated.

  54. Ron Says:

    Great post, it almost works perfectly… only the inbox is downloaded, not the user created folders within hotmail. Anyone know how to resolve this?

  55. Drock Says:

    Hey,
    i just made the switch to ubuntu aswell and i followed these instructions - it seemed to work but it is saying that i have to pay for webdav service is there anywa around this ?

  56. suspect Says:

    It works perfect for me. However, does anyone know how to make it work with another POP server. I have a email that I connect to via POP. Now that I have installed this it is saying it is unable to connect to my other pop server. Any help will be greatly appreciated

  57. Joe Says:

    Thanks worked great. I believe this only works if you have a paid service.

  58. Peter Says:

    Wow. Just installed Ubuntu for the first time and i am so impressed. Great community and i wanted to try using evolution for my hotmail acct that i use for personal. Didnt think i could get it to work but your guide was perfectly detailed. Thank you so much from a Ubuntu virgin.
    Peter.

  59. mustafa Says:

    heya
    followed all the instructions but still cannot even click on the send/receive button because it is grayed out.

    cannot send or receive any messages..

    any suggestions on how to get evolution up and running with hotmail?

    ta

  60. Croccifixio Says:

    Hey Dude! im a first time linux user, i always wanted to get it on my machine and i finaly got my wish! Tahnks for your help, it worked excellent!

    Thanks to all of you guys for helping out the new ubuntu/linux users.

    Peace out.

  61. Will Says:

    Nope not working for me.

    Get the same error as a few of the folks above, asking for my password over and over again.

    Any help would be greatly appreciated.

    N.B I’m on @hotmail.co.uk if that makes any difference.

    Thanks

  62. Asrael Says:

    Works with lycos mail as well.

    Thanks for the howto

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>