TurnKey Linux Virtual Appliance Library

Postfix sent e-mails stuck in queue: no route to host

I am wondering if there has been an actual resolution for people like me that can't have the Drupal send any emails.

I can't find any posts about fixing this problems where Postfix wont send emails out on behalf of the Drupal Turnkey solution.

Here is what I have...

I think everything is good in the Drupal end and the problem is at the Postfix level.

I went to postfix logs and email queue and the emails that were supposed to go out, are still in the queue.

No matter what, the queue status says "No route to host".

Here is a mail queue line:

10DF071F15 2010/07/08 10:36 www-data@UNKNOWN MYEMAILADDRESS@yahoo.com 683 bytes connect to f.mx.mail.yahoo.com[98.137.54.237]:25: No route to host

So, I decided to test pinging the destination server from the appliance shell and it responds fine.

Can anyone tell me what to look for? I don't have any restrictions in my router. I can send and receive emails just fine from any machine in my LAN to any email account.

I am running my Turnkey Linux Drupal virtual machine on my macbook pro via VM Ware Fusion and everything seems to be in order.

Do you think my problem has something to do with port 25 from the virtual machine? I am using the VM to develop a prototype version of an online application that I will present to my employer to improve a company procedure and I really need to be able to send emails from Drupal.

I was going to use other type of Drupal installatino but Turnkey seemed like a really good idea, no I am having second thoughts only because of this small problem. I have installed different types of Drupals including the Quickstart virtual machine recommended on the Drupal.org site, from-scratch-manual installation and Godaddy's single-click-installation. I have never had a problem making Drupal send emails.

Any help on this will be greatly appreciated.

 

Thank you,

 

Rafael

Liraz Siri's picture

Probably an anti-spam ISP level filter

Many ISPs implement network policies that prevent customers from sending e-mail directly from their IP addresses. This actually makes sense because it makes life more difficult for spam botnets. The flip side is that even if your ISP doesn't implement these policies on their end, large e-mail providers may implement it on theirs following botnet spam attacks. Your IP may be blacklisted.

You won't necessarily find out using ping because that's a different protocol (ICMP). Try using netcat to connect directly to the mail server you are having routing problems to:

apt-get install netcat
netcat -v f.mx.mail.yahoo.com 25

derf_1's picture

Emailing from Virtual Turnkey Drupal

Tried netcat above to reach my ISP pop server OK.

So used Webmin to set Postfix Mail Server

General Setup ,What domain to use in outbound mail   to my ISP pop server!

 

I've had emails working to new users - so I know the system works.

Thanks for all the magnificent systems

 

 

 

David


Turnkey + postfix + GMail SMTP relay

Hi,

Try Turnkey + Postfix + GMail SMTP relay. I've had it running in my LAMP box. The setup was from another source but modified it for my development purposes under TK. I'm assuming that Postfix setup for Drupal & LAMP appliance are the same.

http://www.mindginative.com/turnkey-linux-postfix-gmail-smtp-relay

More power to TK!

rix

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)