Subject: [sup-talk] sup concatenating many email addresses

From: [email-masked] (jeff covey)
Date: Wed, 11 Jul 2007 19:34:04 -0400

some mail bounced, and when i went back to look in ~/.sup/sent.mbox, i found
messages with "to:" lines like this:

> From jeff.covey at pobox.com Sun Jul 08 17:14:45 -0400 2007
> Subject: opening the zendo on upcoming saturdays
> From: jeff covey <jeff.covey at pobox.com>
> To: mutei doug murphy <mutei at aol.com>nate butler <n8butler at yahoo.com>Jan & Michael Prenger <jmprenger1 at comcast.net>John and/or Martha Seay <mseay at comcast.net>erichj.kuhn <erichj.kuhn at gmail.com>Robert Williams <williams.rm at comcast.net>chunyuanlee <chunyuanlee at yahoo.com>
> Date: Sun, 08 Jul 2007 17:14:45 -0400
> Message-Id: <1183928946-sup-7677 at mona>
> User-Agent: Sup/0.0.8
> Content-Disposition: inline
> Content-Type: text/plain; charset=utf-8

this had looked just fine in the reply-mode buffer when i sent it, with each
email address on a separate line and a comma after each but the last.

the problem seems to be traced back to these lines in ~/.sup/people.txt:

mutei at aol.com: 1184195526 mutei doug murphy
chunyuanlee at yahoo.com: 1184195526 mutei doug murphy <mutei at aol.com>nate butler <n8butler at yahoo.com>Jan & Michael Prenger <jmprenger1 at comcast.net>John and/or Martha Seay <mseay at comcast.net>erichj.kuhn <erichj.kuhn at gmail.com>Robert Williams <williams.rm at comcast.net>chunyuanlee
mutei at [email-masked] at [email-masked] at [email-masked] at yahoo.com: 1184195526 mutei
"mutei at [email-masked] at [email-masked] at [email-masked]"@yahoo.com: 1184195679 mutei doug murphy nate butler Jan & Michael Prenger John and/or Martha Seay erichj.kuhn Robert Williams chunyuanlee

sup seems to be trying to do something clever but coming up with
progressively worse results.  there are a couple of other lines in
people.txt which have oddly-run-together addresses, and i can't trust sup to
send email where it says it's sending it at the moment.  :-\

thanks,

-- 
jeff covey
http://jeffcovey.net/

---

From: [email-masked] (William Morgan)
Date: Thu, 12 Jul 2007 08:39:21 -0700

Excerpts from jeff.covey's message of Wed Jul 11 16:34:04 -0700 2007:
> some mail bounced, and when i went back to look in ~/.sup/sent.mbox, i
> found messages with "to:" lines like this:

This was due to a bug in svn revisions 473--491 in which multiple To: or
Cc: addresses would get squished together exactly in this manner. Sorry
about that! In r473 I switched to RubyMail composing the outgoing
message content, instead of doing it by hand, which was necessary for
attachment support. But I screwed up the headers in this manner.

> the problem seems to be traced back to these lines in

I think this is a symptom, not the problem itself. But you will have to
manually clean up people.txt now. Sorry. :(

Sent.mbox is an accurate reflection of whatever went out over the wire,
so you should be able to confirm that everything works with current
revisions by browsing it with mutt or whatever. (The same function is
called twice, once with an open stream to the sendmail process and again
with an file pointer to sent.mbox.) Let me know if you're still having
this problem with recent code.

-- 
William <wmorgan-sup at masanjin.net>