Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 May 2001 18:47:12 +0800
From:      "edwin chan" <slack@suntop-cn.com>
To:        <freebsd-questions@freebsd.org>
Subject:   about sendmail and bind
Message-ID:  <010001c0e375$bd257000$5801a8c0@suntop.com>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
hi, 
I have a qustion, when I just allow my name server(bind) listen on 127.0.0.1, my mail sever(runing sendmail on same box) can't accept mail from user. 
but if I allow name server bind address to a real IP, mail server worked, why? 

messages from /var/log/maillog
May 23 18:22:29 www sendmail[10446]: f4NAMTV10446: ruleset=check_mail, arg1=<slack@suntop-cn.com>, relay=[61.14
0.208.60], reject=451 4.1.8 <slack@suntop-cn.com>... Domain of sender address slack@suntop-cn.com does not reso
lve
May 23 18:22:29 www sendmail[10446]: f4NAMTV10446: from=<slack@suntop-cn.com>, size=0, class=0, nrcpts=0, proto
=ESMTP, daemon=MTA, mech=LOGIN, relay=[61.140.208.60]

but if I allow name server bind address to a real IP, mail server worked, why? 

(I have another name server ready for the World access, so name server running on with mail server just for mail server fast fetch name.)
resolv.conf (
domain suntop-cn.com
nameserver 127.0.0.1)



[-- Attachment #2 --]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=gb2312" http-equiv=Content-Type>
<META content="MSHTML 5.00.2614.3500" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>hi, </FONT></DIV>
<DIV><FONT size=2>I have a qustion, when I just allow my name server(bind) 
listen on 127.0.0.1, my mail sever(runing sendmail on same box) can't accept 
mail from user. 
<DIV><FONT size=2>but if I allow name server bind address to a real IP, mail 
server worked, why? </FONT></DIV></FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>messages from /var/log/maillog</FONT></DIV>
<DIV><FONT size=2>May 23 18:22:29 www sendmail[10446]: f4NAMTV10446: 
ruleset=check_mail, arg1=&lt;<A 
href="mailto:slack@suntop-cn.com">slack@suntop-cn.com</A>&gt;, 
relay=[61.14<BR>0.208.60], reject=451 4.1.8 &lt;<A 
href="mailto:slack@suntop-cn.com">slack@suntop-cn.com</A>&gt;... Domain of 
sender address <A href="mailto:slack@suntop-cn.com">slack@suntop-cn.com</A> does 
not reso<BR>lve<BR>May 23 18:22:29 www sendmail[10446]: f4NAMTV10446: 
from=&lt;<A href="mailto:slack@suntop-cn.com">slack@suntop-cn.com</A>&gt;, 
size=0, class=0, nrcpts=0, proto<BR>=ESMTP, daemon=MTA, mech=LOGIN, 
relay=[61.140.208.60]</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>but if I allow name server bind address to a real IP, mail 
server worked, why? </FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>(I have another name server ready for the World access, so 
name server running on with mail server just for mail server fast fetch 
name.)</FONT></DIV>
<DIV><FONT size=2>resolv.conf (</FONT></DIV>
<DIV><FONT size=2>domain suntop-cn.com</FONT></DIV>
<DIV><FONT size=2>nameserver 127.0.0.1)</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV></BODY></HTML>

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?010001c0e375$bd257000$5801a8c0>