From: cdevilbiss@charter.net
To: 9fans@cse.psu.edu
Subject: Re: [9fans] plan9 username is not desired e-mail source
Date: Sat, 3 Aug 2002 14:14:41 -0500 [thread overview]
Message-ID: <auto-000053652213@dc-mx04.cluster1.charter.net> (raw)
Thanks for both of your suggestions.
Interestingly, the aliasmail and /mail/lib/fromfiles suggestion didn't
work for me; I probably should have mentioned that I am on a 3e
system, so maybe the following have changed in 4e.
From my mail(1):
Aliasmail
...
Under the -f option, alias files
listed in /mail/lib/fromfiles are consulted instead, and the
domain part only of the expansion is printed.
and my /mail/lib/remotemail:
#!/bin/rc
shift
sender=$1
shift
addr=$1
shift
fd=`{/bin/upas/aliasmail -f $sender}
switch($fd){
case *.*
;
case *
fd=charter.net
}
exec /bin/upas/smtp -h $fd $addr $sender $*
So it looks like $sender in remotemail is guaranteed to be the
original $1 (my login name?). The $upasname suggestion seems to have
worked like a charm (once I remembered to respawn Acme Mail so that it
would pick up a new /env).
Did 4e change the way remotemail works so /mail/lib/fromfiles is more
``powerful?'' Also, is /env/upasname documented anywhere or just in
the source?
Thanks again to both of you.
--
Colin DeVilbiss
cdevilbiss@charter.net
next reply other threads:[~2002-08-03 19:14 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-03 19:14 cdevilbiss [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-08-04 13:35 Russ Cox
2002-08-04 20:39 ` arisawa
2002-08-04 20:45 ` arisawa
2002-08-19 15:23 ` Boyd Roberts
2002-08-04 12:55 presotto
2002-08-03 23:48 presotto
2002-08-03 23:41 Russ Cox
2002-08-03 18:40 colin
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=auto-000053652213@dc-mx04.cluster1.charter.net \
--to=cdevilbiss@charter.net \
--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).