licensed2kill Posted March 21, 2004 Share Posted March 21, 2004 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 More sharing options...
fugmulch Posted March 23, 2004 Share Posted March 23, 2004 I don't have an etc/hosts file, how dangerous is it to create one, and what is the format, beyond what you have above? Link to comment Share on other sites More sharing options...
licensed2kill Posted March 23, 2004 Author Share Posted March 23, 2004 I don't see any dangers as long as you've firewalls guarding the server. I don't know if there's an exact format to follow. Any Linux gurus wanna take a shot at this? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.