Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

linux mail - can't configure sendmail to relay through local exchange server

Avatar of dvanaken
dvanakenFlag for United States of America asked on
LinuxLinux NetworkingEmail Servers
9 Comments1 Solution1453 ViewsLast Modified:
I've been banging my head against this all afternoon.  I have a pbx on my LAN that needs to send mail.  Unitl now, I have only been sending to users on my domain which has been working. Now, however, I need it to be able to send mail (failure events, for example) to outside addresses.   I have my exchange (2007) configured with a nice new connector that listens on port 2525 and if I send outside mail through it via telnet (from the pbx) by using manual smtp commands, all is well.  I just can't get sendmail to see it as a relay.  It thinks it's relaying, but it always relays to 'localhost' which then fails because the pbx can't authenticate with the ISP.  I have been through the forum atricles and I have tried all manner of specifying HOSTS and RELAYs in sendmail.mc but I must be missing something.  I am make-ing a new /etc/mail and restarting sendmail each time.  resolv.conf and hosts are correct - everything else is fine.  Can somebody send a link to some directions for this - or help me through it?  Thanks
Avatar of dvanaken
dvanakenFlag of United States of America image

Our community of experts have been thoroughly vetted for their expertise and industry experience.

This problem has been solved!
Unlock 1 Answer and 9 Comments.
See Answers