Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!ames!necntc!auspyr!joe From: joe@auspyr.UUCP Newsgroups: comp.mail.misc,comp.mail.uucp Subject: Re: whether to prefix myhost! onto the From: or not.. Message-ID: <4323@auspyr.UUCP> Date: Fri, 24-Apr-87 09:25:29 EST Article-I.D.: auspyr.4323 Posted: Fri Apr 24 09:25:29 1987 Date-Received: Sat, 25-Apr-87 12:19:22 EST References: <604@vixie.UUCP> Organization: Austec, Inc., San Jose, CA. USA Lines: 49 Xref: utgpu comp.mail.misc:189 comp.mail.uucp:449 > If SysV mailx doesn't have the ability to reply using From_ instead of From:, > it loses... Mailx doesn't lose anything as it sits back and smiles -- you are forgetting that SOMEONE is losing! ... Did you ever use Mailx and try to reply to From: user@domain with a To: and Cc: line??! I've seen core dumps and infinite loops leading to stray pointers. It's really a serious problem. So what now? Install ELM? Buy an AT&T source licence just to fix Mailx? Maybe AT&T can "give away" the Mailx source along with a patch or twenty; and it's a shame cause Mailx has alot of features UCB/Mail doesn't. Actually, I haven't noticed ANY problems by modifying the header line as host!user. But then again, ain't bliss just great? ... As an experiment, I have created a mail-alias command for bounceback@auspyr. It's a useless script that will send the incomming mail message back to the person specified in the From: line. Give it a try and when you get the mail back, try to reply to it and see what happens. So you know, aliases are: bounceback: "| /usr/local/uubin/bounceback" owner-bounceback: joe /usr/local/uubin/bounceback reads: # looks from From: from stdin and reply back to person; reply # contains orginal message tmpfile=/tmp/bnc$$ cat > $tmpfile # get second arg on From: line # From: {host!user || user@domain} [ ] # awk is the easiest way for lazy people name=`grep '^From: ' $tmpfile | awk '{ print $2 }'` ( echo ' Bounce-back, Bounce-back, rolly polly Bounce Backs. Original Text Follows: ' ; sed 's/^/> /' < $tmpfile ) | /usr/ucb/Mail -s 'Mail Bounce Back' $name I know I could of created a mailer-error, but this is a bit more graceful. (Like I said, it's useless) -- "No matter Joe Angelo, Sr. Sys. Engineer @ Austec, Inc., San Jose, CA. where you go, ARPA: aussjo!joe@lll-tis-b.arpa PHONE: [408] 279-5533 there you UUCP: {sdencore,cbosgd,amdahl,ptsfa,dana}!aussjo!joe are ..." UUCP: {styx,imagen,dlb,jmr,sci,altnet}!auspyr!joe