Thursday, May 3, 2007

HOWTO: Send and Receive Hotmail through Evolution - Ubuntu Forums

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)

No comments:

如何发掘出更多退休的钱?

如何发掘出更多退休的钱? http://bbs.wenxuecity.com/bbs/tzlc/1328415.html 按照常规的说法,退休的收入必须得有退休前的80%,或者是4% withdrawal rule,而且每年还得要加2-3%对付通胀,这是一个很大...