9fans archive / 2000 / 07 / 61 / prev next
From: arisawa@al....
Subject: [9fans] /mail/lib/rewrite
Date: Tue, 4 Jul 2000 19:30:15 0900
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@aic...