Ask the Expert

Connection refused by Exchange server

I want to set up a Solaris 2.6 box to relay its mail through an Exchange server. I can ping the Exchange server 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:

    Requires Free Membership to View

Connection refused by <server>

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.

This was first published in May 2003

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: