9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: arisawa@al.aichi-u.ac.jp
To: 9fans@cse.psu.edu
Subject: [9fans] /mail/lib/rewrite
Date: Tue,  4 Jul 2000 19:30:15 +0900	[thread overview]
Message-ID: <200007041034.GAA22185@cse.psu.edu> (raw)

Hello 9fans,

In /mail/lib/rewrite we will find the line:
([^!]*)!(.*) 		| 		"/mail/lib/qmail '\s' 'net!$smtp'" "'\2@\1'"

The corresponding line of second edition was:
([^!]*)!(.*) 		| 		"/mail/lib/qmail '\s' 'net!\1'" "'\2'"

In man page, we will find examples of usage of /mail/lib/qmail:
         ([^!]*.bell-labs.com)!(.*)  |  "/mail/lib/qmail '\s' 'net!\1'" "'\2'"
and
          /mail/lib/qmail presotto net!plan9.bell-labs.com ken rob

Where and how can we define $smtp ?

It seems that rewrite rule of second edition style works.
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)

Thanks,

Kenji Arisawa
E-mail: arisawa@aichi-u.ac.jp


             reply	other threads:[~2000-07-04 10:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-07-04 10:30 arisawa [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-05-01 16:51 Russ Cox
2002-05-01 14:21 [9fans] slow video fix Russ Cox
2002-05-01 16:41 ` [9fans] /mail/lib/rewrite Pat Hacker
2000-07-04 15:23 Russ Cox
1998-08-20 13:00 presotto
1998-08-20  3:49 arisawa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200007041034.GAA22185@cse.psu.edu \
    --to=arisawa@al.aichi-u.ac.jp \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).