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?
jmarkfoleyAuthor 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.
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

Good call, I didn't even think of that...  That pesky CRS is flaring up again ;)

Glad you got it worked out

jmarkfoleyAuthor Commented:
My solution was what I needed.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.