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.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 3129 invoked from network); 17 Feb 2022 07:36:33 -0000 Received: from 4ess.inri.net (216.126.196.42) by inbox.vuxu.org with ESMTPUTF8; 17 Feb 2022 07:36:33 -0000 Received: from mail-ot1-f52.google.com ([209.85.210.52]) by 4ess; Thu Feb 17 02:27:53 -0500 2022 Received: by mail-ot1-f52.google.com with SMTP id a12-20020a05683012cc00b005acf7c91097so3090325otq.10 for <9front@9front.org>; Wed, 16 Feb 2022 23:27:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:message-id:to:subject:date:in-reply-to:mime-version :content-transfer-encoding; bh=QFVpuBwC+Xvvumpx6QSSYDIjqoj2rrQdJKQHolgMbPM=; b=CI+HN/VhLR9JKou3SfzERojXrvyY7JTVL1idyMw5v4F5EkyFpqAILuPKuCybNGR8nz aKVKulMy+rpOWp3R5tf8OJ4veA88OgZDrlXfqQMuGmblXSIkLD9Bkt9YKlhB82K6oFoO E5mMnEYO88zF9kMcRRc3LM82H/cOtPx3tLfgXSazE108Op9fSS7WR+CQ883gMMJ8Td0N 7gHli7o5phsdkjR3SfZtVnA8x2GNrFDBGMqf6Y99TNqSgi4OknLZwLQK4FSHnHL6Xdyx HYsMy1RvIppzq2FSQeVlX6lp7mWpcd+BvokVf5JVofzGrZ+nBTkbomAcWc/47Tatr9YA 9GKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:message-id:to:subject:date:in-reply-to :mime-version:content-transfer-encoding; bh=QFVpuBwC+Xvvumpx6QSSYDIjqoj2rrQdJKQHolgMbPM=; b=iwAdQUn4qwDdFaaIViP6DGINYx9WYAFPsGubALZuVp1ZRVpz+w4Fc0sof6nNY5WYJV a9F25L1rpIT4cKGnxqzfedyuAQ0HN5iu/54DOEou0MJuOd1mKI283eBbvleAa0kkikcQ hKOjPWwijZXoTTYFZCDJgV7oZxnBaf5/qDV8bFOztkAfTSn79Q+Rf0LD0OBP3r1y+10v 9qYAp+dVYmgMIQfD3jfzktx5Mn8Dsi2Tb7KfRS6pHfu8Kz+yHXpZ3Y7Txa2ZmBVyZlxb GWxNkfu7yuJjE3kPb3ao/kC3PMcWDdPimltq1irY6pEOadCRW+A66BdWzZq/DgmViKxA a3EA== X-Gm-Message-State: AOAM530+sMrxdLulQo4SbJlBrVh39hlA/8SJUGG9e1xoSB+4poAb/eYR M6Vj1ueaFrY6bskDPCjguX+fIVbxo+Q= X-Google-Smtp-Source: ABdhPJzpQGp1dQo0pDfjiaMkKhMxTnfBOw+YsR9euAJF295DUDYcUkKY2nJyl4AT9WBehJjJTjP/jA== X-Received: by 2002:a9d:4b17:0:b0:5ac:fa41:17f3 with SMTP id q23-20020a9d4b17000000b005acfa4117f3mr468077otf.332.1645082868428; Wed, 16 Feb 2022 23:27:48 -0800 (PST) Return-Path: Received: from cirno.thinktank (107-200-43-169.lightspeed.sntcca.sbcglobal.net. [107.200.43.169]) by smtp.gmail.com with ESMTPSA id 52sm2905185otc.54.2022.02.16.23.27.47 for <9front@9front.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 16 Feb 2022 23:27:48 -0800 (PST) From: thinktankworkspaces@gmail.com X-Google-Original-From: glenda@gmail.com Message-ID: To: 9front@9front.org Date: Wed, 16 Feb 2022 23:27:43 -0800 In-Reply-To: <3805422656F32E7A61C800CDFE8388C5@gmail.com> 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: basic CMS HTML method dependency layer Subject: Re: [9front] upas email configuration Reply-To: 9front@9front.org Precedence: bulk Okay I feel like I'm getting a little closer. Here is the latest. This time i only changed one thing in rewrite # ### rewrite \l\thinktankworkspaces.com!(.*) alias \1 I guess I didn't understand what was going on in /mail/lib/remotemail the command /bin/upas/aliasmail -f $ sender displayed nothing. I ran it several times so I'm not sure what file its really looking or what it needs in that file. So I started to hard code things in remotemail # ### remotemail sender=$1 shift #addr=$1 shift #fd=`{/bin/upas/aliasmail -f $sender} #switch($fd){ #case *.* # ; #case * # fd=thinktankworkspaces.com #} fd=thinktankworkspaces.com addr=tcp!thinktankworkspaces.com!587 exec /bin/upas/smtp -h $fd -d $addr $sender $* # ### names.local postmaster glenda # ### namefiles names.local the only command I run is the following: echo hello | mail -s foobar gunnells@gmail.com Then I run /bin/upas/runq -a /mail/queue /mail/lib/remotemail It has debug turned on and prints the following: cpu% /bin/upas/runq -a /mail/queue /mail/lib/remotemail mxdial(tcp!thinktankworkspaces.com!587, , , mx) sending /net/dns 'thinktankworkspaces.com mx' sending /net/dns 'mail.thinktankworkspaces.com ip' mx list: mail.thinktankworkspaces.com 10 mx list: mail.thinktankworkspaces.com 10 35.86.109.161 mxdial trying mail.thinktankworkspaces.com [/net/tcp!35.86.109.161!587] failed connection refused sending /net/dns 'thinktankworkspaces.com ip' sending /net/dns 'mail.thinktankworkspaces.com ip' mxdial trying mail.thinktankworkspaces.com [/net/tcp!35.86.109.161!587] failed connection refused mxdial trying thinktankworkspaces.com [/net/tcp!35.86.109.161!587] failed connection refused cpu% cat tcp587 #!/bin/rc user=`{cat /dev/user} exec /bin/upas/smtpd -c /sys/lib/tls/smtp.cert -n $3 its really a pem file i just named it wrong at the time i created it following the fqa. any thoughts. I posted the mail prematurely Quoth phil9 : > > >Here is /sys/log/smtp.fail > > > > > >ghob Feb 15 00:21:08 delivery '/net.alt/dns' does not exist (net!gmail.com) > > >ghob Feb 15 00:21:08 delivery '/net.alt/dns' does not exist (net!gmail.com) > > >ghob Feb 15 00:21:08 delivery '/net.alt/dns' does not exist (net!gmail.com) > > > > > >tail /sys/log/mail > > >ghob Feb 15 00:19:16 remote gmail.com!gunnells From glenda Tue Feb 15 00:19:16 -0800 2022 (gunnells@gmail.com) 192 > > > > > >Any ideas what might be missing? I also setup a mx record at gandi.net. Gandi handles > > >all of the DNS and an 'A' record points to the server. > > > > > > > the error message is telling you dns lookup failed for some reason. > > This message is actually very misleading. /net.alt/dns is the last (of many) thing(s) upas/smtp tries before erroring out so the actual error might be something totally different. > I think the easiest way to debug this kind of issue is to redirect the output of upas/smtp in /mail/lib/remotemail. Also, adding -d to the command might give better insight. > > --phil