From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:5f26::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id yNU7A38blGWnLwEAkFu2QA (envelope-from ) for ; Tue, 02 Jan 2024 15:19:43 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id sBc1On4blGWlMAEAqHPOHw (envelope-from ) for ; Tue, 02 Jan 2024 15:19:43 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=remworks.net header.s=fm1 header.b=o7AoU4g+; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=xte25Fui; 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=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1704205182; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=VWcY+ByoXnialu9YkpYBKF/64Q9HyGWk5EfqZX539qE=; b=VI8o/bunDn8LSuygMG/CoqMONwlZLEc0rhWfpUVssbNQfT/fnON1j253dTtD8UYUwsuYwb 4xvLIWe9rLXGwHoXvoBklZ7EGOJ9A0WrePHqmYnCyZWf1aCuLMnX9PCSiMMT1Xxxs2HI6V FcnAXBcvYTYOWeysP5pneRSsxH2njixRmiyk8G8aCeaIZccQjXP3nSsV+tNriJr4jBygU/ szk4zmPaFI3AahwGN8Dr3QIshX7eswkw1iSJXjAE/G8Fvy6Gpl2INIPs8ZXhKU7qdzEXvg nCRyagZB/BEydSGWdLYTm+09Jg5Kva+qJNDNR/jtk6YU2JeoCkahRw8JuJJjKw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1704205182; a=rsa-sha256; cv=none; b=glFZv236ynYHuPk6ER99xdk2tXeNtglXV3ZNjW7mwW6kWdsUeJlNedPkhuTnZqm3UukaRE fJK+kyy3UwJugNZw41s/IZBlI7PkLrKp+P1/a8fdUyhWwL8K815BbGUqYPzgxvmApIC9pJ VNqlFu7+DFAQ8ADggX7CtdsbkLk8qkfMTh1h9qURKtTb3KUhJjtDsI7DIhEEngOlMp2RSh ApDPu+Cywc/Y70YhqJfWdKPa4JomIJD8ldvHX8dfD5U/oIVH3+j209EWGfgqYel5ll2SIh vaqiex8oAiQdMSRF64kgR6M5/MHcOT6vv9W8DJEU3ApbOaHxsx7xVHPRR2HbBg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=remworks.net header.s=fm1 header.b=o7AoU4g+; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=xte25Fui; 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=none 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 32EA445010 for ; Tue, 2 Jan 2024 15:19:42 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rKfbu-00043W-Pe; Tue, 02 Jan 2024 09:19:14 -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 1rKfbs-00043L-NB for help-guix@gnu.org; Tue, 02 Jan 2024 09:19:12 -0500 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rKfbq-0000SL-LW for help-guix@gnu.org; Tue, 02 Jan 2024 09:19:12 -0500 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 859465C0191 for ; Tue, 2 Jan 2024 09:19:05 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Tue, 02 Jan 2024 09:19:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=remworks.net; h= cc:content-type:content-type:date:date:from:from:in-reply-to :message-id:mime-version:reply-to:subject:subject:to:to; s=fm1; t=1704205145; x=1704291545; bh=VWcY+ByoXnialu9YkpYBKF/64Q9HyGWk 5EfqZX539qE=; b=o7AoU4g+18OESIq4KKGl+WO9V1eIEd9KtaliZE9EvPVzDXaL h0cGlRSKuhRi+PPXHd2fjU8VZmA5oy0v7ac3VIjHtmxS3CV0jGuIRmLj9y0oweUE a0Eki/nTg1ZL1+CDOTjOGwT9gkAwgn1GzIofzpgDDNOTYJM5pmzaJDZIwaj0WdoY h0vcmqiCfz/aBrijPiz2EmfhohHR9hnfKAE84am8oMkeHdW/Ldy6g33j9p6vmjZB tu87r9Cw4PpM9u8HmvFWGelWLaG1QbpKIGSWFO4w9ZFsiJvEjhIaYhZiuffh2Cw9 35Z6o9j4wqKeKR5VBWMfeA2zbFOwgBPCakTxlg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1704205145; x=1704291545; bh=VWcY+ByoXnialu9YkpYBKF/64Q9HyGWk5Ef qZX539qE=; b=xte25FuiS6ZCZEyQRvz+/oKNYu1bf2S2TvJr7zZl0hB9bN4yX7b nUczZCjqor3huMWVB1QIppwEZxfNkRmniJFpBGTb8M6ICgqBIHR+PrMBhyeGfLGA NEBM1NuvCcBDp688YMr9xqeEtOjM2aSSD5nCbTkWI+VNgv/Q+EKb6QFsGy88vYxm rC975z/k48qnmf+G/VYR56F0sU+b5mCtsnGexYKbOv4KQ7WQj/qNVFab91xW+HMy 3WUupWZoUlbSnbVTfx0bkJYLpPPUpGalRIvP7G5Wp71nf45RP7dMAOiL2OkKcZ6+ U4hfNyLhC9v+Rf5t2DTmp0jVR1NqdHZyUfg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrvdegvddgieduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpegfhffvufffkfggtgesthdtredttd ertdenucfhrhhomheptfgvmhgtohcuvhgrnhcukdhtucggvggvrhcuoehrvghmtghosehr vghmfihorhhkshdrnhgvtheqnecuggftrfgrthhtvghrnhepuedtudejjefhtdetveegue fhffeggedtffeftdelieevfffhueejjeffheetueejnecuvehluhhsthgvrhfuihiivgep tdenucfrrghrrghmpehmrghilhhfrhhomheprhgvmhgtohesrhgvmhifohhrkhhsrdhnvg ht X-ME-Proxy: Feedback-ID: i7e59465b:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Tue, 2 Jan 2024 09:19:04 -0500 (EST) User-agent: mu4e 1.10.8; emacs 29.1 From: Remco van 't Veer To: help-guix@gnu.org Subject: local and remove mail delivery Date: Tue, 02 Jan 2024 15:19:00 +0100 Message-ID: <87zfxnu8bv.fsf@remworks.net> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=66.111.4.27; envelope-from=remco@remworks.net; helo=out3-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -6.79 X-Spam-Score: -6.79 X-Migadu-Queue-Id: 32EA445010 X-Migadu-Scanner: mx11.migadu.com X-TUID: icEoUzem8PaL Hi, I am trying to get local (and remote through .forward and aliases, using fastmail as relay) mail delivery to work on a server for (rottlog etc) but I am stuck and hoping somebody can share some config.scm snippets to get it to work. My journey so far: The found rottlog service expects mailutils to be in a working state which it isn't out of the box. When sending mail it tries to launch /usr/sbin/sendmail which obviously does not exist. So I added the opensmtp service: (service opensmtpd-service-type (opensmtpd-configuration)) and setup a mailrc file with: set sendmail=sendmail:/run/current-system/profile/sbin/sendmail Now using mailutils "mail" command mail gets accepted but never delivered. date | mail -s test me In maillog I see messages like: Jan 2 13:48:26 localhost smtpd[665]: 16e9792116d40b8b mda delivery evpid=8bd03460af848da7 from= to= rcpt= user=me delay=5m result=TempFail stat=Error (terminated; timeout) And after a while: Jan 2 14:59:25 localhost lockspool: /var/mail/me.lock: Permission denied So I looked at the opensmtpd service definitions and found out executables are setgid to the smtpq group to gain some privileges so I chgrp-ed the /var/mail directory to smtpq and did chmod g+rwx on it but without effect. Maybe lockspool (which is in libexec) also needs to be setgid but I have not clue on how to do that since it's in libexec. I also tried exim briefly, it did not work with the default configuration and writing exim config is rather off putting. Anybody solve the above or got mailutils to work (and receive rottlog mails) via a different route? Cheers, Remco