From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Faylor To: Jason Molenda Cc: overseers@sources.redhat.com, Jonathan Larmour , overseers@sourceware.cygnus.com Subject: Re: [Fwd: failure notice] Date: Sat, 30 Dec 2000 06:08:00 -0000 Message-id: <20000830164446.C27389@cygnus.com> References: <39AD4E83.55F4D362@redhat.com> <20000830113053.A23654@shell17.ba.best.com> <20000830120321.A3776@shell17.ba.best.com> <20000830153622.B27245@cygnus.com> <20000830131422.A26689@shell17.ba.best.com> X-SW-Source: 2000/msg01035.html On Wed, Aug 30, 2000 at 01:14:25PM -0700, Jason Molenda wrote: >On Wed, Aug 30, 2000 at 03:36:22PM -0400, Chris Faylor wrote: > >> I looked at the script and I can see why it does fail on two Cc: lines. >> I don't see any obvious way to fix this. Are two Cc: lines even legal in >> a header? Especially when the first line ends with a comma? > >I don't know if it's legal, but it got delivered. If it were me, >I'd probably say "Don't do that" - this is the first report I've >ever seen of someone sending out a msg like that. But if Jonathan >thinks it's important enough, he can always dig in to it himself. > >To fix it, I'd probably add some code to count the number of To: and Cc: >lines in the headers, and then loop over them somehow. Ok. I think I fixed it. I just used 'formail' to parse the headers. This program was written to parse header info, so... cgf From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Faylor To: Jason Molenda Cc: overseers@sources.redhat.com, Jonathan Larmour , overseers@sourceware.cygnus.com Subject: Re: [Fwd: failure notice] Date: Wed, 30 Aug 2000 13:45:00 -0000 Message-ID: <20000830164446.C27389@cygnus.com> References: <39AD4E83.55F4D362@redhat.com> <20000830113053.A23654@shell17.ba.best.com> <20000830120321.A3776@shell17.ba.best.com> <20000830153622.B27245@cygnus.com> <20000830131422.A26689@shell17.ba.best.com> X-SW-Source: 2000-q3/msg00326.html Message-ID: <20000830134500.8L0wz9lPRToSTtO12Dl_EcRywqXwiyxjRGkm-qHESsk@z> On Wed, Aug 30, 2000 at 01:14:25PM -0700, Jason Molenda wrote: >On Wed, Aug 30, 2000 at 03:36:22PM -0400, Chris Faylor wrote: > >> I looked at the script and I can see why it does fail on two Cc: lines. >> I don't see any obvious way to fix this. Are two Cc: lines even legal in >> a header? Especially when the first line ends with a comma? > >I don't know if it's legal, but it got delivered. If it were me, >I'd probably say "Don't do that" - this is the first report I've >ever seen of someone sending out a msg like that. But if Jonathan >thinks it's important enough, he can always dig in to it himself. > >To fix it, I'd probably add some code to count the number of To: and Cc: >lines in the headers, and then loop over them somehow. Ok. I think I fixed it. I just used 'formail' to parse the headers. This program was written to parse header info, so... cgf