From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 15166 invoked from network); 20 Feb 2021 06:10:09 -0000 Received: from 1ess.inri.net (216.126.196.35) by inbox.vuxu.org with ESMTPUTF8; 20 Feb 2021 06:10:09 -0000 Received: from mimir.eigenstate.org ([206.124.132.107]) by 1ess; Fri Feb 19 19:49:20 -0500 2021 Received: from abbatoir.fios-router.home (pool-108-41-92-79.nycmny.fios.verizon.net [108.41.92.79]) by mimir.eigenstate.org (OpenSMTPD) with ESMTPSA id a2b72949 (TLSv1.2:ECDHE-RSA-AES256-SHA:256:NO) for <9front@9front.org>; Fri, 19 Feb 2021 16:49:11 -0800 (PST) Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit To: 9front@9front.org Date: Fri, 19 Feb 2021 16:49:09 -0800 From: ori@eigenstate.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: module-oriented scripting locator Subject: Re: [9front] [Bug] Mail fails to send attachments Reply-To: 9front@9front.org Precedence: bulk Quoth sirjofri : > I noticed that marshal also handles the whole boundary stuff and > attachments. The output file I get in pipefrom does not contain the data > from the attachment. > > To verify I made this pipefrom: > > #!/bin/rc > echo $* > /tmp/msgargs > cat > /tmp/msgcontent > > Then look at these files. > > The whole thing is formatted as a multipart message, but it only contains > the message text, no attachments. > > I also looked at the history of the marshal code, I don't think the > sendmail function is bad here. > > sirjofri > I'd look at whether we're closing the wrong fd if we're passing '-S'.