9fans archive / 1999 / 03 / 22 /    prev next

From: Ed Wishart ed@cs.unr.edu
Subject: [9fans] plan9 mail hub -- how to??
Date: Wed, 24 Mar 1999 16:56:07 -0800



I need help in getting a plan9 compute server to relay out-going mail.
Our campus has restricted each department to not allow desk tops to
do direct delivery off campus--the normal way for a plan9 terminal.  I have
got permission for our plan9 compute server to talk to the rest of
the world but when I cpu to it, the identity of the plan9 terminal
is exposed and the mail is rejected.  If one telnets or cons
to the computer server, then the identity is of the compute server
but then one loses the hold mode of the window, the reason I want
to use plan9 mail.


Before I try to change the code for smtp, I wonder has someone
solved this via some rewrite rules.  The man page is rather cryptic
here.  The -g option does not work as that is a fall-back when a
MX record can not be found.

The sample session below shows this behavior.  My desktop is topaz,
the compute server is manzanita.  cat /env/sysname and cat /env/ipaddr
are manzanita, but see how topaz is exposed:

manzanita % upas/smtp -d banyan.cs.unr.edu ed ed
sending dns 'banyan.cs.unr.edu mx'
mxdial trying aspen.cs.unr.edu
220 aspen.cs.unr.edu ESMTP Sendmail 8.8.8/1.34-UNR-sd-ptp-1.00; Wed, 24 Mar 1999 16:25:31 -0800 (PST)

HELO manzanita

250 aspen.cs.unr.edu Hello topaz.cs.unr.edu [134.197.40.51], pleased to meet you

MAIL FROM:<ed@manzanita>

250 <ed@manzanita>... Sender ok

RCPT TO:<ed@ban...>

Subject:  hi ed

this is sample from manzanita??