Simpler Navigation for Servers and Operating Systems
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
cancel
Showing results for 
Search instead for 
Did you mean: 

sendmail.cf DS line

SOLVED
Go to solution
jerry1
Super Advisor

sendmail.cf DS line

Can someone tell me what the difference is
for relay DS:

DSmailhost.$?m.$m

and

DSmailhost.$m

They both work but what does $?m do?
1 REPLY
Geoff Wild
Honored Contributor
Solution

Re: sendmail.cf DS line

Usually, DS is set to just:

DSmailhost

$m forces local domain?

Is this what you are trying to do:

# Direct SMTP connection with local domain: #
# #
# To deliver mail destined for hosts within the local domain directly, #
# while sending all other mail to the "Smart Relay" listed above, you #
# will need to uncomment the line in ruleset 0 following the comment: #
# #
# # See if we are supposed to deliver to hosts in the local domain #
# #
# Also ensure the $m macro gets defined. It gets defined internally #
# from $j macro. You can check if it is set by doing the following:

Rgds...Geoff

Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.