From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 8EXBAw6WRmVQAgAA9RJhRA:P1 (envelope-from ) for ; Sat, 04 Nov 2023 20:05:50 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 8EXBAw6WRmVQAgAA9RJhRA (envelope-from ) for ; Sat, 04 Nov 2023 20:05:50 +0100 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 72C0456F87 for ; Sat, 4 Nov 2023 20:05:49 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-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=1699124749; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=ykuE3piiBBdjV2yHuR5b7Wwu8Fs3pjgFbmkE+cwrBrs=; b=UOYaclEtVS0xjwH68GoscpyHFygswpVeIbVxe791tN5lSY+IYICyBfIsl81VhLeIQPW2zy yS3RrGm1lULcTJ/tB+yR7ZNMwKhRoYeBUkh1GXPE/oVz8VW7JuROAqrWiCrUO3sHblof2f crzsqrsR2y9WfONU52Y5de78fYAjB3fx2xkdZtRC1juJx9bIkPxWcyOpSqNu+5jJkVGFHc 0sqgztgi/8ccvtCIAvWHv7m1+pIA1gKtT1X6rTj6KHSADBa4HxQI998UM5DYc/JYPUBnN5 niXi6P+WluD8wERQ2oPHIYJ9pzFs3YAcX1tMnNgHceHsYOCmocgz6XNKA1VAkw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1699124749; a=rsa-sha256; cv=none; b=u+1Bu3SUtX/WYmBf1f3twgyNHMFF9vR11Bq1A3rbpLjxLwvvME2tokTkBmd7Tfq3rzSGpv MkG13+PxhCz7Kytx5STn69c1Fj+Lid+M4+21ZSfs7r8pmyvziQsXInKNTJRtjX3YbtbXaz DtBIpDV3TGn4NpaAFsxO1k0J7BaUaUdfNMCSWWuqYRRQfLKnqbGb2+4HZ91L8iiblh0V7+ 0x7G38Lv5Z6iPalkmPnvuWAeJZwzk38TiaCP1do4mROx81ftDdLBYBfVAJeAQ2Awm654rF dxTmXVrQSHbd+C2fhl5xn5wwbCslUxddwXyaJ597DJfult4Zmk9xaMfODm5CXA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qzLxX-0001g2-Sw; Sat, 04 Nov 2023 15:05:28 -0400 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 1qzLxV-0001fj-W5 for guix-patches@gnu.org; Sat, 04 Nov 2023 15:05:26 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qzLxV-0005r6-O9 for guix-patches@gnu.org; Sat, 04 Nov 2023 15:05:25 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qzLy6-0003Zf-0C for guix-patches@gnu.org; Sat, 04 Nov 2023 15:06:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66935] [PATCH 0/4] Dovecot service refactor. Resent-From: Bruno Victal Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 04 Nov 2023 19:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 66935 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 66935@debbugs.gnu.org Cc: Bruno Victal X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.169912471913671 (code B ref -1); Sat, 04 Nov 2023 19:06:01 +0000 Received: (at submit) by debbugs.gnu.org; 4 Nov 2023 19:05:19 +0000 Received: from localhost ([127.0.0.1]:35732 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qzLxO-0003YP-Sh for submit@debbugs.gnu.org; Sat, 04 Nov 2023 15:05:19 -0400 Received: from lists.gnu.org ([2001:470:142::17]:56882) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qzLxN-0003YD-EC for submit@debbugs.gnu.org; Sat, 04 Nov 2023 15:05:17 -0400 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 1qzLwh-0001b4-S0 for guix-patches@gnu.org; Sat, 04 Nov 2023 15:04:35 -0400 Received: from smtpm4.myservices.hosting ([185.26.105.235]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qzLwg-0005Z3-98 for guix-patches@gnu.org; Sat, 04 Nov 2023 15:04:35 -0400 Received: from mail1.netim.hosting (unknown [185.26.106.173]) by smtpm4.myservices.hosting (Postfix) with ESMTP id 5399D21310 for ; Sat, 4 Nov 2023 20:04:24 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mail1.netim.hosting (Postfix) with ESMTP id BFB0180060; Sat, 4 Nov 2023 20:04:23 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail1.netim.hosting Received: from mail1.netim.hosting ([127.0.0.1]) by localhost (mail1-2.netim.hosting [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id emwBZGY3CJLf; Sat, 4 Nov 2023 20:04:23 +0100 (CET) Received: from guix-nuc.home.arpa (unknown [10.192.1.83]) (Authenticated sender: lumen@makinata.eu) by mail1.netim.hosting (Postfix) with ESMTPSA id 4ABC88005B; Sat, 4 Nov 2023 20:04:23 +0100 (CET) From: Bruno Victal Date: Sat, 4 Nov 2023 19:03:57 +0000 Message-ID: X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.26.105.235; envelope-from=mirai@makinata.eu; helo=smtpm4.myservices.hosting X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=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: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -3.11 X-Spam-Score: -3.11 X-Migadu-Queue-Id: 72C0456F87 X-Migadu-Scanner: mx13.migadu.com X-TUID: xX0VTD0RngTp Notable changes: * Adds a 'reopen action to deal with log rotations. * Updated documentation. * Simplified service definition, reworked serialization to use G-Exps. * Fix inconsistency with ssl? setting in inet-listener-configuration. Tested with: * make check-system TESTS=dovecot * Running `dovecot -c -n' on the resulting file, a dry run that checks if file syntax conforms to dovecot expectations. Bruno Victal (4): services: dovecot: Use make-kill-destructor for action stop. services: dovecot: Add 'reopen action. services: dovecot: Refactor serialization process. services: dovecot: Fix incorrect type for ssl? field. doc/guix.texi | 1613 ++++++++++++++++------------------------- gnu/services/mail.scm | 906 ++++++++++++----------- 2 files changed, 1107 insertions(+), 1412 deletions(-) base-commit: e3f318f0489322c4c9b5964f03a8b063a7bfbebd -- 2.41.0