9front - general discussion about 9front
 help / color / mirror / Atom feed
* [9front] upas email configuration
@ 2022-02-15  8:42 thinktankworkspaces
  2022-02-15  9:55 ` qwx
  2022-02-15 15:22 ` Stanley Lieber
  0 siblings, 2 replies; 12+ messages in thread
From: thinktankworkspaces @ 2022-02-15  8:42 UTC (permalink / raw)
  To: 9front


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. 

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2022-02-26 21:45 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-15  8:42 [9front] upas email configuration 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
2022-02-17  7:27     ` thinktankworkspaces

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).