Sponsored Link
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: [email protected] (fill in your normal e-mail address that you use to login to hotmail)
Receive Server type: POP
Server: 127.0.0.1
Username: [email protected] (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: [email protected] (same as above)
(Optional Remember password checkbox)
Important Update
Re: HOWTO: Send and Receive Hotmail through Evolution
Installation of hotwayd as described in the first post is no longer needed. It is mentioned earlier in this thread, but that info gets snowed under because every time new posts are added…
Since some time now, you can use the following settings just like any regular POP account:
Code:
Incoming server: pop3.live.com
Username: your_username @hotmail.com
Use secure connection: SSL
Authentication type: password
Outgoing server: smtp.live.com
Server requires authentication: yes
Security: SSL
Authentication type: plain
With these settings, you should be able to get is working without going through the hotway daemon (on 127.0.0.1) …


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?
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
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.
wonderful
Thank you! Superb!
Hmmmmmm it does not work for me either I tried editing the hosts.allow file but to no avail. Any other suggestions?
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.
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
It also works with kmail, Thanks
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
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?
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,
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…
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…
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?
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
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 [email protected]
+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.
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.
Hi Toni,
Can you copy the telnet procedure I did above ?
Basically:
telnet localhost 110
USER [email protected]
PASS YOUR_PASSWORD
If that works then try “list”
Gavin
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
Thanks !
Worked like a charm! thanks.
The guide worked like a charm! Now I can fully transfer to Ubuntu now. Thanks.
The guide worked like a charm! Now I can fully transfer to Ubuntu. Thanks.
The guide worked like a charm! With Outlook like email access, now I can fully transfer to Ubuntu. Thanks.
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.
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?
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…….
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
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?