I want to set up a Solaris 2.6 box to relay its mail through an Exchange server. I can ping the Exchange server...
By submitting your personal information, you agree that TechTarget and its partners may contact you regarding relevant content, products and special offers.
and I think that I have configured the sendmail.cf file correctly. However, when I try to send a remote mail I get the error message: Deferred: Connection refused by
Any ideas, apart from "don't do it"?
Three things I'd start with. The first (Don't be angry I'm asking), is to make sure Sendmail is running on the box. If it is not, you will get this message. Then I would make sure DNS is configured correctly and working. Is it resolving other hosts? If you do not have a nameserver configured, Sendmail will send you a connection refused message when it tries to connect to the server. Finally, try looking at the DaemonPortOptions in sendmail.cf. Take out the local host from here (127.0.0.1). Save the file, refresh the daemon and give it another go.
If it's still not working, you may want to try rebuilding your sendmail.cf file again. I know it's painful, but I've seen cases where you spend days looking for the needle when you could get it done much quicker by starting from scratch.
Dig Deeper on Linux servers
Related Q&A from Kenneth Milberg
Need a PaaS platform with strong production support? Explore production support and SLAs of AWS Elastic Beanstalk, IBM Bluemix, Google App Engine and...continue reading
When you move to PaaS for your web-based apps, remember to think about database services. Consider the benefits of moving your database to a fully ...continue reading
Making sure that your PaaS offering and the web development framework of your choice agree can be tricky. Learn how to choose the best framework for ...continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.