Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Sep 1995 01:37:59 +0200 (MET DST)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        freebsd-current@FreeBSD.ORG
Subject:   Re: rmail and brain-dead mail systems .. patch enclosed
Message-ID:  <199509222338.BAA15700@uriah.heep.sax.de>
In-Reply-To: <199509222128.FAA15859@haywire.DIALix.COM> from "Peter Wemm" at Sep 23, 95 05:28:52 am

next in thread | previous in thread | raw e-mail | index | archive | help
As Peter Wemm wrote:
> 
> If you drop the From_ line, how do you communicate the envelope sender
> address?
> 
> It's most definately needed... For example, when you send email to
> (say) current@freebsd.org, the envelope sender is
> "owner-freebsd-current@freebsd.org" which happens to be aliased to
> "mailman".

Hmmmmmm....

j@uriah 138% perl -e 'while(<>) {\
  next unless /^From /;\
  ($f,$u)=split; $fr{$u}++;\
}\
\
foreach $u reverse(sort(bycount (keys %fr))) {\
  print "$u: $fr{$u} times\n"\
}\
exit;\
sub bycount {$fr{$a} <=> $fr{$b}}' $mail
joerg_wunsch: 34 times
bde@zeta.org.au: 3 times
sax-saxnet-request@sax.sax.de: 3 times
uucp: 3 times
syssgm@devetir.qld.gov.au: 2 times
uk1@irz301.inf.tu-dresden.de: 2 times
peter@freefall.freebsd.org: 2 times
cutie.ka.sub.org!pmh@pilhuhn.de: 1 times
... (remaining addresses that only appear once)

As you can see, there's 34 times "joerg_wunsch" in the envelope
address.  Pretty much useless, don't you think?

And that's with the stock rmail(1), of course. :)

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/
Never trust an operating system you don't have sources for. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199509222338.BAA15700>