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 21004 invoked from network); 17 Feb 2022 10:07:39 -0000 Received: from 4ess.inri.net (216.126.196.42) by inbox.vuxu.org with ESMTPUTF8; 17 Feb 2022 10:07:39 -0000 Received: from mail-ot1-f49.google.com ([209.85.210.49]) by 4ess; Thu Feb 17 02:25:00 -0500 2022 Received: by mail-ot1-f49.google.com with SMTP id g12-20020a9d6b0c000000b005ad077c9a9cso1883038otp.2 for <9front@9front.org>; Wed, 16 Feb 2022 23:24:54 -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=F6VdOJ9GjsYMV47roGmKW+gVWB1NTQ/ux6Tpe57avdg=; b=JrkzUh2cwr58hRCC7M2+rEbaq/6gsQMn9I5wxql9wAlHABJeS213RxnxG6MqZnxuXl VVFUCMHdx8wEvfYyW5M4f//ECjRB2J5UMBoST8795zbKehsZLn2XfSd0v+FS4sFRCSw5 ehgFBrx25xLrLIH1bvDVLVzDsm0pG+Q7kdjZ6o6LR4cKR8hXf8Uz4IS89Df/hhJyK2vK aBAtlK6l7CmskRNj6+ydwhVn8AOOEGZTpPu6xRcFUnwPSchOtHQ7SZK0gvFbg4W+9Vxh 4E4Y0JefjKgxSeiNT73aZ+shG98p9MbuVcCgj48OpldIr6A4bXpIPsgOpM9rXV2sKDaG EzPA== 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=F6VdOJ9GjsYMV47roGmKW+gVWB1NTQ/ux6Tpe57avdg=; b=kTy17RSQejgisRrL0LV9bnGZdxBtf4ejSig0ocrylRKKnkwxqMHUqOhVh9GMCD8YVp W7wE0jrHUlKFNuPYOxlzvDjXXMSWeYfxX8idw9MRjnpZyYKqeFL6b82zfPeB/vm/0coh m05BvNiiV3M5Owseh9/gzrRCy5VtF6HiQbD7NoFePo6ZQ67OgXHuaiMDXnvFHGI+fgCo VgnV0IeblBs294m/WVMwo5ZqHcmRzLrRghcdJZ8MWqqvqDmZp3uKpHL1/q0WvkC/bru+ 1cO3YoPkXGP7tTAXUS9w/1zoW+buE3X+NANnY75rTBjwjS+A+O3JqnAXrTfvB8AlsknE l/mw== X-Gm-Message-State: AOAM5312aP+5lPRlc3DrBcl8T6/WaoMXuW/jb9ALOxGMql5/9moZ2d+h O5ulhPYJtPSpZiur8da9+W3VwjCXjHk= X-Google-Smtp-Source: ABdhPJyMi4n+TswwpTBimwLp7GtD01eZKNLN7/jzMXw3YL1hbrpqhmCxGMhkg91SV5M4G2Yzp9X0dA== X-Received: by 2002:a9d:7d8e:0:b0:5ad:cca:520e with SMTP id j14-20020a9d7d8e000000b005ad0cca520emr467082otn.353.1645082693920; Wed, 16 Feb 2022 23:24:53 -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 f14sm11611966oiw.22.2022.02.16.23.24.52 for <9front@9front.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 16 Feb 2022 23:24:53 -0800 (PST) From: thinktankworkspaces@gmail.com X-Google-Original-From: glenda@gmail.com Message-ID: <23F7C62E41A3BF3CCB707926E2E58E7F@gmail.com> To: 9front@9front.org Date: Wed, 16 Feb 2022 23:24:49 -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: self-healing open rich-client HTML wrapper proxy 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: 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