9front - general discussion about 9front
 help / color / mirror / Atom feed
From: thinktankworkspaces@gmail.com
To: 9front@9front.org
Subject: [9front] upas email configuration
Date: Tue, 15 Feb 2022 00:42:09 -0800	[thread overview]
Message-ID: <014CAD2072CE4EB08E6414F3D9FC62E5@gmail.com> (raw)


Trying migrate off of gmail. So I would like to get mail working on the server. 

Here are the configurations below for remotemail, smtp.conf, and rewrite. 

I have attached the logs to the end. I tried sending mail as follows:

echo hello | mail -s foobar gunnells@gmail.com

# ### remotemail
sender=$1
shift
addr=$1
shift
exec /bin/upas/smtp -h thinktankworkspaces.com $addr $sender $*

# ### smtp.conf
defaultdomain		thinktankworkspaces.com.com
norelay			on	#allow relaying
verifysenderdom		off	#disable dns verification of sender domain
saveblockedmsg		off	#save blocked messages
ournets 35.86.109.0/24 10.0.2.0/24 172.31.0.0/16 172.27.0.0/16
ourdomains thinktankworkspaces.com

# ### rewrite
\"(.+)\"		translate	"/bin/upas/aliasmail '\1'"
[^!@.]+			translate	"/bin/upas/aliasmail '&'"

\l!(.*)					alias		\1
(thinktankworkspaces.com)!(.*)		alias		\2

local!"(.+)"		>>		/mail/box/\1/mbox
local!(.*)		>>		/mail/box/\1/mbox

@([^@!,]*):([^!@]*)@([^!]*)		alias	\2@\3@\1
@([^@!]*),@([^!@,]*):([^!@]*)@([^!]*)	alias	@\1:\3@\4@\2

([^@]+)@([^@]+)@(.+)	alias		\2!\1@\3
([^@]+)@([^@]+)		alias		\2!\1

([^!]*)!(.*) 		| 		"/mail/lib/qmail '\s' 'net!\1'" "'\2'"


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. 

             reply	other threads:[~2022-02-15 10:06 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-15  8:42 thinktankworkspaces [this message]
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
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=014CAD2072CE4EB08E6414F3D9FC62E5@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).