From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <9bef2a2dfb71042935f1e86c22f57f1c@tombob.com> To: x-x@comcast.net, 9fans@cse.psu.edu Subject: Re: [9fans] smtp dns failure: mx lookup Date: Tue, 3 Jan 2006 09:31:51 +0000 From: Robert Raschke In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Cc: Topicbox-Message-UUID: cdf38c10-ead0-11e9-9d60-3106f5b1d025 greg scott wrote: > trying to send mail (Post tag in acme mail) results in > this /sys/log/smtp.fail entry > dns: dns failure (net!smtp.comcast.net) I don't have a solution, just a workaround. I don't even understand why it is happening. I had the same problem whenever I had to fall back on using my ISP's smtp server. I got "around" this problem by adding a bit of guff in front of the upas/smtp ... line in /mail/lib/remotemail that does the posting. If you are always using smtp.comcast.net, then add this: echo smtp.comcast.net |ndb/dnsquery >/dev/null I also changed my remotemail to attempt direct delivery before falling back to the ISP smtp server: #!/bin/rc shift sender=$1 shift addr=$1 shift fd=`{/bin/upas/aliasmail -f $sender} switch($fd){ case *.* ; case * fd=tombob.com } today=`{date} if (upas/smtp -h $fd $addr $sender $*) { exit 0 } echo $today : upas/smtp -h $fd tcp!smtp.blueyonder.co.uk $sender $* >>/sys/log/remotemail echo smtp.blueyonder.co.uk |ndb/dnsquery >>/sys/log/remotemail exec upas/smtp -h $fd tcp!smtp.blueyonder.co.uk $sender $* Robby