Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Sendmail + Email Send Out Tip!


licensed2kill

Recommended Posts

I've decided to be good again, so here's a solution.

 

I'm strictly talking Linux/Unix here. Who cares about Windows!?!?

 

If you can't send out email from your osC, but your normal email functionalities are working under sendmail double check the setting in /etc/hosts file.

 

80% of the time, it's linux DNS unresolveable problem. Even if your sendmail works and sends out email in your email clients, osC and thus PHP may not. Could be a bug or sendmail is sensitive, and doesn't like a 3rd party program sending out emails. Part of its spam protection features in sendmail-cf/cf/sendmail.mc

 

 

The entries should be:

 

xx.xx.xx.xx yourhostname.com OR yourdomain.com

127.0.0.1 localhost.yourdomain.com localhost

OR

localhost.yourhostname.com

xx.xx.xx.xx anyotherHosts.com

 

 

 

//note: The "xx" are the IP addresses. The "OR" is not part of the equation here.

//And the 3rd line is optional and can be any of the hosts in your network which has //access to your server. This config. is best done through the GUI part of the network setting on your Linux/Unix flavour.

 

Also, the best idea is to check for mail queues under /var/spool/ under the appropriate dir. and narrowing down the problem.

 

 

 

Jey

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...