From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id oL4HNQvVAmER6AAAgWs5BA (envelope-from ) for ; Thu, 29 Jul 2021 18:19:23 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id GMmdMAvVAmEIXAAAbx9fmQ (envelope-from ) for ; Thu, 29 Jul 2021 16:19:23 +0000 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 94D1124182 for ; Thu, 29 Jul 2021 18:19:21 +0200 (CEST) Received: from localhost ([::1]:43400 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m98ki-0005Qh-O0 for larch@yhetil.org; Thu, 29 Jul 2021 12:19:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60680) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m98kZ-0005Q9-DJ for guix-devel@gnu.org; Thu, 29 Jul 2021 12:19:11 -0400 Received: from dustycloud.org ([50.116.34.160]:58530) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m98kW-00013U-Ak; Thu, 29 Jul 2021 12:19:11 -0400 Received: from twig (localhost [127.0.0.1]) by dustycloud.org (Postfix) with ESMTPS id C0CB12675C; Thu, 29 Jul 2021 12:19:06 -0400 (EDT) References: <87o8svh0jf.fsf@gnu.org> <878sen0zcd.fsf@gnu.org> User-agent: mu4e 1.4.15; emacs 27.2 From: Christine Lemmer-Webber To: =?utf-8?Q?G=C3=A1bor?= Boskovits Subject: Re: wip-postfix In-reply-to: Date: Thu, 29 Jul 2021 12:19:06 -0400 Message-ID: <87bl6lks91.fsf@dustycloud.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=50.116.34.160; envelope-from=cwebber@dustycloud.org; helo=dustycloud.org 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_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel@gnu.org, 35619@debbugs.gnu.org Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1627575561; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=f9JgQkOqm1n1jxFNLMo8V5I1ophM8tMQk7FJaeLrthk=; b=Q0JMgBraXc3hAARZHx1vjMs9iNCrCTJka+EMWVxgnsdEA8Pn4UrYX0bd/+C98ZpMDoz5JI VGekJNnMbG9RuNh5wkO405aXdKLF8z4gpuQ/sq9HXXQTSCvQNQjzIFNOEGxfMQEdCahuuB x3amgtnItLRugSS7b+fRzEaCJ5aCcW39FXjHCOzVRADBT3L8iKTBRnRw/1ZJVqcQxMVLJi ZkSLg4QDAMPCwaBha85Wvb6onGJjsyagurEcFsmQdVXUaqsbT1bb93EdDfolMV21YZOTwX 1ikd1l1CrNxmpbusnriy+IUONT5BvUaNmJ14cjMlLWN3WTF6aDqc2fqWobt7qw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1627575561; a=rsa-sha256; cv=none; b=qyqOuChrA9SEKN4E0Dvxt3C1yqPjuEPgkdAm+5dn4mHRaDDHMSia8c0GoZkQksxfRVOti3 JZmiIT1DmAIUa7g4AUQCgtWwcOcpko910H0y/Gl6u0gxhV2jfsHK0Es8iQKEkluZdarvY5 6jkC6RADGoHN7Cn7FPPKIey6hoR9qMPUxA5ICldnaauxlpNaYLZGAKOzXfgB+DCyFKUT6m Alne21xO8jzArAlsgAGeHHT1+aRQgoyjnZD+9JSV0CdYSuEB8CMQ1j4UgsNTyqxUXBiRfs 5nMJF8g5oWfWa5C0BsgxUhq275qc0ASqprV5TIJlV63hy7AGZ3V5TYFTmgeryQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Spam-Score: -2.41 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: 94D1124182 X-Spam-Score: -2.41 X-Migadu-Scanner: scn0.migadu.com X-TUID: TphZHTbW+j54 G=C3=A1bor Boskovits writes: > Hello Jan, > >> I took the liberty of rebasing wip-postfix on latest master and >> found it does not compile >> >> --8<---------------cut here---------------start------------->8--- >> gcc -fPIC -I. -I../../include -DNO_EAI -DDEF_SMTPUTF8_ENABLE=3D\"no\" >> -DHAS_DEV_URANDOM >> -DDEF_SHLIB_DIR=3D\"/gnu/store/hbdrbb84krvjvw58vmr1pvzb6l3gbmyv-postfix-= minimal-3.4.8\" >> -DUSE_DYNAMIC_LIBS -DUSE_DYNAMIC_MAPS -Wmissing-prototypes -Wformat >> -Wno-comment -fPIC -g -O -I. -I../../include -DLINUX5 -c dns_str_resflag= s.c >> dns_str_resflags.c:55:13: warning: RES_AAONLY is deprecated >> "RES_AAONLY", RES_AAONLY, >> ^~~~~~~~~~~~~~~~~ >> dns_str_resflags.c:57:13: warning: RES_PRIMARY is deprecated >> "RES_PRIMARY", RES_PRIMARY, >> ^~~~~~~~~~~~~~~~~~~ >> dns_str_resflags.c:63:22: error: =E2=80=98RES_INSECURE1=E2=80=99 undecla= red here (not in a >> function); did you mean =E2=80=98RES_RECURSE=E2=80=99? >> "RES_INSECURE1", RES_INSECURE1, >> ^~~~~~~~~~~~~ >> RES_RECURSE >> --8<---------------cut here---------------end--------------->8--- >> >> Luckily, that was easily fixed by updating postfix to 3.5.0. >> > > Thanks for having a look. > >> >> >> When I hack around and create /etc/ailases.db, it works. >> > I would like to add a service config for this. >> >> I found we already have mail-aliases-service-type, so I used that, >> together with running postalias. Now, queuing mail works ootb...but >> delivery seems not to work: it remains queued. >> >> I rebased wip-postfix and added a couple of patches for this. Please >> feel free to revert them if you don't like it :-) >> >> When starting postfix like so >> >> --8<---------------cut here---------------start------------->8--- >> ./pre-inst-env guix system vm gnu/system/examples/postfix.tmpl`\ >> --nographic -m 1G\ >> --nic >> user,model=3Dvirtio-net-pci,hostfwd=3Dtcp::12025-:25,hostfwd=3Dtcp:127.0= .0.1:12022 >> -:2222 >> --8<---------------cut here---------------end--------------->8--- >> >> I'm seeing >> >> --8<---------------cut here---------------start------------->8--- >> 07:39:18 janneke@dundal:~/src/guix/wip-postfix [env] >> $ telnet localhost 12025 >> Trying 127.0.0.1... >> Connected to localhost. >> Escape character is '^]'. >> 220 komputilo.localdomain ESMTP Postfix >> mail from: root >> mail from: root >> 250 2.1.0 Ok >> rcpt to: alice >> rcpt to: alice >> 250 2.1.5 Ok >> data >> data >> 354 End data with . >> hello Alice! >> hello Alice! >> . >> . >> 250 2.0.0 Ok: queued as E26BA3116 >> quit >> quit >> 221 2.0.0 Bye >> Connection closed by foreign host. >> 08:03:53 janneke@dundal:~/src/guix/wip-postfix [env] >> $ ssh -p 12022 root@localhost >> /gnu/store/mydn0wr0bs7mz3rx9fwihpma26r0dpqq-postfix-minimal-3.5.0/mailq = -C >> /gnu/store/nj5pa9l9zy6vx5484pbdsqnilva8bivc-postfix-config-dir >> -Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient------- >> E26BA3116* 175 Mon Aug 10 08:00:50 root@komputilo.localdomain >> alice@komputilo.localdomain >> >> -- 0 Kbytes in 1 Request. >> --8<---------------cut here---------------end--------------->8--- >> >> Ideas? >> > > I will have a look early next week. Most probably the setuid stuff is > missing, and access is denied to something. Good news, the new setuid stuff is in now in git master. This probably means wip-postfix could be rebased on top of it again and could take advantage of it?