From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@cse.psu.edu Subject: Re: [9fans] plan9 username is not desired e-mail source From: cdevilbiss@charter.net MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Message-ID: Date: Sat, 3 Aug 2002 14:14:41 -0500 Topicbox-Message-UUID: d77031e0-eaca-11e9-9e20-41e7f4b1d025 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