Skip site navigation (1)Skip section navigation (2)
Date:      17 Feb 96 15:31:37 EST
From:      Adrian Neville <101603.1662@compuserve.com>
To:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   sendmail - DNS - MX records
Message-ID:  <960217203136_101603.1662_JHP100-1@CompuServe.COM>

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

I am running the FreeBSD 2.0.5 and have a problem with DNS and sendmail,
basically i have configured a MX record for my domain pointing at a
host ( zaphod.broadland.com ), if on zaphod i mail say adrian, adrian@zaphod
or adrian@zaphod.broadland.com everything is OK, But if i mail 
adrian@broadland.com the mail is rejected - it seems from the trace that
although named tells sendmail about the MX record its never substituted
in the rules. I can work round the problem by modifing the sendmail.cf
but does anyone know wether this is a bug and if so if there is a fix.

sendmail -d8.8 -bt extract follows, i was expecting rules 3,0 to select
the local mailer.

ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
Enter <ruleset> <address>
> 3,0 adrian@broadland.com
rewrite: ruleset  3   input: adrian @ broadland . com
rewrite: ruleset 96   input: adrian < @ broadland . com >
getcanonname(broadland.com)
getcanonname: trying broadland.com. (ANY)
;; res_querydomain(broadland.com, , 1, 255)
;; res_query(broadland.com., 1, 255)
;; res_mkquery(0, broadland.com., 1, 255)
;; res_send()
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 2
;; flags: rd; Ques: 1, Ans: 0, Auth: 0, Addit: 0
;; QUESTIONS:
;;	broadland.com, type = ANY, class = IN

;; Querying server (# 1) address = 127.0.0.1
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 2
;; flags: qr aa rd ra; Ques: 1, Ans: 3, Auth: 1, Addit: 1
;; QUESTIONS:
;;	broadland.com, type = ANY, class = IN

;; ANSWERS:
broadland.com.	2592000	IN	SOA	zaphod.broadland.com. root.zaphod.broadland.com. (
			10122	; serial
			43200	; refresh (12 hours)
			3600	; retry (1 hour)
			3600000	; expire (41 days 16 hours)
			2592000 )	; minimum (30 days)
broadland.com.	2592000	IN	NS	zaphod.broadland.com.
broadland.com.	2592000	IN	MX	10 zaphod.broadland.com.

;; AUTHORITY RECORDS:
broadland.com.	2592000	IN	NS	zaphod.broadland.com.

;; ADDITIONAL RECORDS:
zaphod.broadland.com.	2592000	IN	A	146.162.1.1

	YES
rewrite: ruleset 96 returns: adrian < @ broadland . com . >
rewrite: ruleset  3 returns: adrian < @ broadland . com . >
rewrite: ruleset  0   input: adrian < @ broadland . com . >
rewrite: ruleset 98   input: adrian < @ broadland . com . >
rewrite: ruleset 98 returns: adrian < @ broadland . com . >
rewrite: ruleset 95   input: < > adrian < @ broadland . com . >
rewrite: ruleset 95 returns: adrian < @ broadland . com . >
rewrite: ruleset  0 returns: $# smtp $@ broadland . com . $: adrian < @ broadland . com . >
> q
> ^C# 
# 
Script done on Sat Feb 17 20:02:10 1996

Any idea's gratefully recieved

Regards Adrian N



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?960217203136_101603.1662_JHP100-1>