From: thinktankworkspaces@gmail.com
To: 9front@9front.org
Subject: Re: [9front] upas email configuration
Date: Wed, 16 Feb 2022 23:24:49 -0800 [thread overview]
Message-ID: <23F7C62E41A3BF3CCB707926E2E58E7F@gmail.com> (raw)
In-Reply-To: <3805422656F32E7A61C800CDFE8388C5@gmail.com>
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 <telephil9@gmail.com>:
> > >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
next prev parent reply other threads:[~2022-02-17 10:07 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-15 8:42 thinktankworkspaces
2022-02-15 9:55 ` qwx
2022-02-15 12:49 ` sirjofri
2022-02-24 5:09 ` thinktankworkspaces
2022-02-24 11:05 ` hiro
2022-02-26 20:43 ` thinktankworkspaces
2022-02-15 15:22 ` Stanley Lieber
2022-02-15 17:08 ` Steve Simon
2022-02-15 19:05 ` phil9
2022-02-15 23:50 ` thinktankworkspaces
2022-02-17 7:24 ` thinktankworkspaces [this message]
2022-02-17 7:27 ` thinktankworkspaces
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=23F7C62E41A3BF3CCB707926E2E58E7F@gmail.com \
--to=thinktankworkspaces@gmail.com \
--cc=9front@9front.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).