From mboxrd@z Thu Jan 1 00:00:00 1970 Message-Id: <200007041523.LAA25357@cse.psu.edu> Subject: Re: [9fans] /mail/lib/rewrite From: "Russ Cox" Date: Tue, 4 Jul 2000 11:23:51 -0400 To: 9fans@cse.psu.edu MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: d3bb32fe-eac8-11e9-9e20-41e7f4b1d025 In /mail/lib/rewrite we will find the line: ([^!]*)!(.*) | "/mail/lib/qmail '\s' 'net!$smtp'" "'\2@\1'" This line is meant to send _all_ mail to a gateway, named by the smtp= entry in your /lib/ndb database for the current machine (or network). If you're connecting to an ISP and just want to hand off your mail and let someone else deal with send retries and the like, this is the one to use. The corresponding line of second edition was: ([^!]*)!(.*) | "/mail/lib/qmail '\s' 'net!\1'" "'\2'" This line sends to the host directly, no mail gateway. If you're running a cpu server or your own Plan 9 network, this is more appropriate. However then we have a message in /sys/log/smtp.fail: al Jul 4 19:11:09 cs: dns: no translation found(net!$smtp!smtp) This is almost certainly coming from the first rule, not the second. Russ