Can sendmail route to a particular mail server?

I am using sendmail 8.14.9 on Slackware64 14.1. I have a recipient who is having a problem with our OpenSSL 1.0.2 and needs to upgrade his server. Meanwhile, he'd like mail from our domain to use a specific, different mailserver that doesn't have the problem.

Is there a way to do that?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Not really, but if your server is using a DNS server you control, rather than a third party DNS (ISP, etc) you could create a DNS entry for the domain in question, pointing the MX to the desired server

Alternately, your customer will need to route the traffic from your domain to the desired server on his side.

But, depending on your setup none this may not be necessary

If you manage your sendmail files (alias, access, etc) manually:
Add >       NO
to your access file

You may need to rebuild your access.db file
makemap hash /etc/mail/access.db < /etc/mail/access

If you're using Webmin:
Go to: Servers > Sendmail Mail Server  > Spam Control
and click on the "Manually edit /etc/mail/access" link
Add >       NO
Click Save

You "should" be set

Try it and let me/us know how you make out

MarkAuthor Commented:
Well, the solution is to add the desired target server to /etc/mail/mailertable:

but, your "Try_TLS" directive in access.db might prove quite useful for other things.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Good call, I didn't even think of that...  That pesky CRS is flaring up again ;)

Glad you got it worked out

MarkAuthor Commented:
My solution was what I needed.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Email Servers

From novice to tech pro — start learning today.