LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   How to configure an email server that sends email to hotmail with Fedora? (https://www.linuxquestions.org/questions/linux-server-73/how-to-configure-an-email-server-that-sends-email-to-hotmail-with-fedora-794097/)

acarri 03-08-2010 09:25 PM

How to configure an email server that sends email to hotmail with Fedora?
 
Hello everybody,

Can somebody tell me how to configure my home linux server, as an email server, and be able to send email to hotmail, please?. I have done this before, but I never managed to do it so hotmail accept emails comming from my linux server.

So if anybody can show me an easy way to do it, what programs do you recommend, and all that, since I'm a newbie.

Thanks in advance.

John VV 03-09-2010 01:25 AM

send out to Microsoft's hotmail ???

i do not think that MS will like excepting things from a linux server.

I have a feeling that MS has KILLED this .

spampig 03-09-2010 08:57 AM

Hotmail will block you for a number of reasons such as connecting from a dynamic or blacklisted IP address, not having proper DNS records for the connecting host and IP, not following the correct protocol etc.

There is no issue getting a properly configured Linux mailserver to talk to Hotmail at all, but the key is PROPERLY CONFIGURED. Much of that is to do with DNS records and where you are connecting from itself - not the O/S or mail server software.

Let's face it, Mircosoft make 'Exchange', arguably one of the most broken, RFC non compliant mail servers on the planet. If Hotmail were to block mail from *nix based servers, they would probably (a) block most of the world (b) block there own SMTP gateways LOL.

stlouis79 03-09-2010 09:57 AM

Are you attempting to deliver you email via DNS?

Or are you attempting to use your ISP's Mail Server as your "relayhost"?


There should be no reason why you cannot send to a Hotmail account with Postfix, as I do this all the time with my server. And I've used both the above listed methods.


The easiest one to configure and maintain would be the "relayhost", as this essentially will act like an "email client", such as Outlook, Thunderbird or Evolution.

The following article I wrote may help you out:


Overview

The following article describes the procedures required for configuring Postfix Mail Server to use a Secure/Encrypted connection for Mail Relay through their ISP/Mail Host Provider.


Prerequisites

“root” privileges are required.
Base Postfix Mail Server setup completed


Setup Procedures

1.Open the main.cf Postfix configuration file for editing.

vi /etc/postfix/main.cf

2.The following information MUST be added, to end of file.

# SASL Authentication
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd


*** SAVE CHANGES WHEN COMPLETED ***


3.Create a new file in the /etc/postfix directory called sasl_passwd, and add the following information:

vi /etc/postfix/sasl_passwd
(Creates new file, and opens for editing)

24.99.32.44 username:password

(FORMAT: ISP Mailserver IP/Hostname <tab> Username:Password)
*** Note: Username may be full email addresss ***


*** SAVE CHANGES WHEN COMPLETE ***


4.Run the “postmap” command on the sasl_passwd file to build the database:

postmap /etc/postfix/sasl_passwd

*** Creates file called /etc/postfix/sals_passwd.db ***

stlouis79 03-09-2010 10:05 AM

that happy face was suppose to be a ":" "password"... stupid emicons...

Mr54mk 03-10-2010 02:05 AM

Does the message simply not arrive or does it get routed to the spam/junk folder? Do you get a bounce back, if so paste the bounce back.


All times are GMT -5. The time now is 11:59 AM.