From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id EEHQKUk3WmfgRwAA62LTzQ:P1 (envelope-from ) for ; Thu, 12 Dec 2024 01:07:21 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id EEHQKUk3WmfgRwAA62LTzQ (envelope-from ) for ; Thu, 12 Dec 2024 02:07:21 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lease-up.com header.s=2017 header.b=PWWcUgxn; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1733965641; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=qzvLSIE7upjO6+XreIdEelq5qotFoI1Va7yA54qUvN4=; b=bmTR+CU/42zlvQrRdXlyiNZ17CnWJygUea/i8dSO8FL3QSqtMot/7yI9cJx57EhJLr/AeB +gfyIG+zZbQMH4W/ux3aN1JnQACCe3rOXYoNNrGJ9xM+gX7Y09h95a3fCT1DR/UM8e/CkT hTOIWv4zhxFQuB4IBrPz/3pR4r73W7nXBLqO+ryyMRcALnpoKN9AUMgcXfpcxhoHq0e+rD V3rXUs2Gxxcm+goQlEB0INc/ZeSBK0FwZxXcP/DPmkNSB7wN/1JoH0+EwNg4n95mlWdKt6 pyfUkqgVHHa6kBdiT6IwyrUEPW0+c8h5mQ1Y2pCQmhr0+KE/dlVhr1RYrT8a0A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lease-up.com header.s=2017 header.b=PWWcUgxn; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1733965641; a=rsa-sha256; cv=none; b=FSOTH9RDI3B7ok+zW+/X5o3trpQv9i5QWdCyFkoA2TgseSKq0JUYlrkFajjH3hoOGFtbOt f32M/RWPvGp2FKmXZyIOcSe9lyj4gPEltrpDyViMgOx3gudhE9Suj4W+Wb8FUNwTeS1hLL 1oI2GpSm4Epl5yhnnYRKRqtF4qSGBJyKYDvrNBVxcRg34DlEEkhG6LMWCK6FA+jnM+14p4 N51Sia4/XFE+ez9rJc5haIZPE0Jw41EfExyqbkAD4RUDFh1Bx+z3QWm58zPhB7Mr5meozu U+ryGg2KnXuEiEnAB1AxshTlCVMgKGT1gVq1pmP0cMszp3o3wuEzwchKPQP8SQ== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id CA3C285F8C for ; Thu, 12 Dec 2024 02:07:18 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tLXfM-0006HD-L8; Wed, 11 Dec 2024 20:06:56 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tLXfL-0006H5-Hc for help-guix@gnu.org; Wed, 11 Dec 2024 20:06:55 -0500 Received: from sail-ipv4.us-core.com ([208.82.101.137]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1tLXfJ-0006mj-8P for help-guix@gnu.org; Wed, 11 Dec 2024 20:06:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=2017; bh=qzvLSIE7upjO6+X reIdEelq5qotFoI1Va7yA54qUvN4=; h=date:references:in-reply-to:subject: cc:to:from; d=lease-up.com; b=PWWcUgxnu+mjF/ktldlPi3gx33tyZHtC0oFTgOIU W75GxoElmk2408+MDe9cEoelcplLsl4HvHgODnnvnDek1rGA1JWtA63sHq7k9WAwmAqScc QwVH6x+sD4j6Fzs7NBV9EN8oifaNoBcTWervTbCmgujwvgvtJdK4mLkAeOUvk= Received: by sail-ipv4.us-core.com (OpenSMTPD) with ESMTPSA id 085d6e08 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Wed, 11 Dec 2024 19:40:08 +0000 (UTC) To: Marc Coquand Cc: Edouard Klein , help-guix@gnu.org Subject: Re: Prepend string to "file" in G-expression In-Reply-To: <87a5d2e6l0.fsf@coquand.email> (Marc Coquand's message of "Wed, 11 Dec 2024 14:40:11 +0200") References: <87a5d2e6l0.fsf@coquand.email> User-Agent: mu4e 1.12.7; emacs 29.4 Date: Wed, 11 Dec 2024 11:40:05 -0800 Message-ID: <87ttbam2ju.fsf@lease-up.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=208.82.101.137; envelope-from=felix.lechner@lease-up.com; helo=sail-ipv4.us-core.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Felix Lechner From: Felix Lechner via Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: -2.46 X-Spam-Score: -2.46 X-Migadu-Queue-Id: CA3C285F8C X-TUID: cyjVifE2W/QM Hi Marc, On Wed, Dec 11 2024, Marc Coquand wrote: > Essentially what I'm trying to do is build a program that sends an > email, and then package it in Guix. Maybe you could pipe an appropriately formatted text to 'sendmail'? Here is an example. [1] Kind regards Felix [1] https://codeberg.org/lechner/system-config/src/commit/4335818ba8da818f21810b5b402db51c77d3b344/host/wallace-server/operating-system.scm#L899-L908