I Can´t Send email to Yahoo Mail, Hotmail, Gmail etc. . .

Hi all, I need help, if I receive mail sent from hotmail or yahoomail but I can not answer it or send it to these recipients, in the / var / log / syslog shows this:
July 25 13:47:55 server postfix / smtp [5624]: cinnect to mx3.hotmail.com []: 25: connection time out
July 25 13:48:25 server postfix / smtp [5624]: cinnect to mx4.hotmail.com []: 25: connection time out
etc. . .
I'm located in mexico and my ip address is dynamic, on my modem ports are open 20,21,22,25,53,80,110,143 and 587 according to some previous comments, I use linux ubuntu 9.04 server edition and EHCP ver. 0.29.13 Thanks to help me. . .

it seems that your server cannot reach gmail servers.. (hotmail already blocks many of emails)

this may be most probably because your ISP blocks port 25 connections.
you may need static IP
talk to your ISP help desk.

I had this same issue till i did some research and it was actually a fairly easy resolve after 12 hours of banging my head.[quote]

relayhost = [smtp.comcast.net]


relayhost = "smtp.comcast.net"

As a reference, here is the portion of my main.cf file that pertains to the relayhost option:


####### SMTP sasl for authenticating and relaying through Comcasts servers ###########
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd

The hash:/etc/postfix/sasl_passwd is responsible for storing the smtp.server.tld, username and password to auth with the relayhost.

To create the hash file, you need to create the file:


Then insert your credentials to access the Exchange server.

The format for storing the credentials is as follows:

smtp.relayhost.tld username:password

Once that file is created, convert it into a db file by running:

sudo postmap /etc/postfix/sasl_passwd

Then add the directive into main.cf:

smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd

Don't forget to restart Postfix after the changes:


sudo /etc/init.d/postfix restart

[/quote] hope this helps you out