How do I configure sendmail not to use DNS?
Why we dont want DNS?
In situations where you're behind a firewall, or across a dial-up line, there are times when you need to make sure that programs (such as sendmail) do not use the DNS at all. Or I want to do an email relay but i dont want to put my machine as a dns servers locally.
.mc
will do: define(`SMART_HOST', `name.of.smart.host')dnlAlso, starting with 8.9, it may help to include the following in your
.mc
file: FEATURE(`accept_unresolvable_domains')dnlAnd starting with 8.12, changes to submit.cf are required as well; the following in your submit.mc can minimize the problem:
FEATURE(`accept_unqualified_senders')dnl
define(`confDIRECT_SUBMISSION_MODIFIERS', `C')dnl
HOWEVER, i dont know THIS one also apply to which version of sendmail im not very sure but it works
Put this entry in /etc/mail/mailertable file
hostname {esmtp}:domain
DONE!!!!!!!!!!!!!!!!!!!!
p/s: Boloq Woq' dalam bahasa loghat percakapan terengganu bermaksud berkecamuk/serabut/tidak terurus
:D bukan maksud aku pun begitu ya..................
0 comments:
Post a Comment