9fans archive / 2000 / 07 / 67 / prev next From: "Russ Cox" <rsc@pla...> Subject: Re: [9fans] /mail/lib/rewrite Date: Tue, 4 Jul 2000 11:23:51 -0400 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