From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <728ac7a9dba39b9c1f2fe35b2328feca@swtch.com> To: marina@surferz.net, 9fans@cse.psu.edu Subject: Re: [9fans] Still picking at a wierd mail issue under Qemu... From: "Russ Cox" Date: Wed, 8 Mar 2006 14:04:11 -0500 In-Reply-To: <380-22006338185551616@M2W052.mail2web.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Cc: Topicbox-Message-UUID: 0fd78104-ead1-11e9-9d60-3106f5b1d025 > Yes, there is no mx record for my ISP's outgoing SMTP server. > Should there be one ? It seems that only domains that are actually > having mail delivered to them should need an MX record. The way that /mail/lib/remotemail invokes upas/smtp, it is giving smtp.cox.east.net as the domain to deliver the mail to. If the mx lookup returns zero entries then it dials the name directly, but if the mx returns a dns failure, then it waits for dns to unbreak. You could change /mail/lib/remotemail to say exec /bin/upas/smtp -g $addr -h $fd $addr $sender $* (e.g., add the -g $addr option) and that should dial the given address even when dns is failing. Otherwise, edit /sys/src/cmd/upas/smtp/mxdial.c is where to start, as Erik said. Russ