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

* Re: [9front] upas email configuration
  2022-02-15  8:42 [9front] upas email configuration thinktankworkspaces
@ 2022-02-15  9:55 ` qwx
  2022-02-15 12:49   ` sirjofri
  2022-02-15 15:22 ` Stanley Lieber
  1 sibling, 1 reply; 12+ messages in thread
From: qwx @ 2022-02-15  9:55 UTC (permalink / raw)
  To: 9front

On Tue Feb 15 09:47:54 +0100 2022, thinktankworkspaces@gmail.com wrote:
> 
> 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:
[...]
> 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. 

Hello,

I don't manage a mail server myself, but the only client I use for all
of my accounts is nupas.  I haven't touched lib/rewrite (it's just
lib/rewrite.direct) since I overwrite whatever it does.  The only
things I have changed are lib/remotemail and lib/names.from:

	; cat /mail/lib/names.from
	qwx			wopr.sciops.net
	qwx@sciops.net		wopr.sciops.net
	qu7uux			gmail.com
	qu7uux@gmail.com	gmail.com
	[...]

	; cat /mail/lib/remotemail
	#!/bin/rc
	# $1=mail
	shift
	# from marshal(1)'s namespace: $upasname or getuser(2)
	sender=$1
	shift
	# set in /mail/lib/rewrite, as net!$smtp, but for destination
	# so don't know how to manage this, we just overwrite it
	addr=$1
	shift
	# see /mail/lib/namesfrom, /mail/lib/names.from
	fd=`{/bin/upas/aliasmail -f $sender}
	usr=$user
	switch($fd){
	case migadu.com
		addr=tcp!smtp.migadu.com!ssmtp
		usr=$sender
	case gmail.com
		addr=tcp!smtp.gmail.com!ssmtp
		usr=$sender
	case wopr.sciops.net
		addr=tcp!wopr.sciops.net!ssmtp
		usr=`{echo $sender | sed 's/@.*//'}
	case *.*
		;
	case *
		addr=!NOPENOPENOPE!
	}
	/bin/upas/smtp -dat -h $fd -u $usr $addr $sender $*

I also need to set $upasname before using mail(1), I have a whole
bunch of mailboxes.  I redacted the files since my setup is more
complicated, uses archival scripts, subrios, plumb rules, and whole
other bunch of bullshit.  I also had a cronjob to update gmail's
stupid tls certs, but in the end I opted to patch upas/smtp and
upas/fs to ignore cert thumbprints explicitely since it's what I do
anyway...  I can't say I understand it all, but it all works now.
Configuring this shit is a horrorshow, at least for me.

Also note that phil9 recently wrote mongrel(1) [1], but I haven't
tried it yet.

Hope this helps,
qwx


[1] gits://shithub.us/phil9/mongrel

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

* Re: [9front] upas email configuration
  2022-02-15  9:55 ` qwx
@ 2022-02-15 12:49   ` sirjofri
  2022-02-24  5:09     ` thinktankworkspaces
  0 siblings, 1 reply; 12+ messages in thread
From: sirjofri @ 2022-02-15 12:49 UTC (permalink / raw)
  To: 9front

Hello you two,

I have a running mailserver on 9front using the 9front upas (which is 
nupas). Most things are configured like mentioned in the FQA (section 7, 
I guess?), but here are my notes. I hope it helps:

http://sirjofri.de/changeblog/1594881674/

I have another blog post about putting tagged mails into different 
folders, which you can nicely see in action when you look at my mail 
address: sirjofri+ml-9front, where the ml-9front part specifies the 
folder for the mails sent to this address.

Mail server maintenance is horror and I wish you good luck. Also don't 
forget you need a running cron for sending mail using runq.

sirjofri

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

* Re: [9front] upas email configuration
  2022-02-15  8:42 [9front] upas email configuration thinktankworkspaces
  2022-02-15  9:55 ` qwx
@ 2022-02-15 15:22 ` Stanley Lieber
  2022-02-15 17:08   ` Steve Simon
  2022-02-15 19:05   ` phil9
  1 sibling, 2 replies; 12+ messages in thread
From: Stanley Lieber @ 2022-02-15 15:22 UTC (permalink / raw)
  To: 9front

On February 15, 2022 8:42:09 AM UTC, thinktankworkspaces@gmail.com wrote:
>
>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. 
>

the error message is telling you dns lookup failed for some reason.

sl

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

* Re: [9front] upas email configuration
  2022-02-15 15:22 ` Stanley Lieber
@ 2022-02-15 17:08   ` Steve Simon
  2022-02-15 19:05   ` phil9
  1 sibling, 0 replies; 12+ messages in thread
From: Steve Simon @ 2022-02-15 17:08 UTC (permalink / raw)
  To: 9front


this implies to me that you are trying to connect to gmail using /net.alt and there is no /dns under /net.alt.

maybe you are not starting another dns for the second network? or perhaps the namespace that remotemail is running in is the issue?

you can always add debug echo statements (or ls /net.alt) to remotemail an redirect their output in a file in /mail/tmp


> ghob Feb 15 00:21:08 delivery '/net.alt/dns' does not exist (net!gmail.com) 

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

* Re: [9front] upas email configuration
  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
                       ` (2 more replies)
  1 sibling, 3 replies; 12+ messages in thread
From: phil9 @ 2022-02-15 19:05 UTC (permalink / raw)
  To: 9front

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

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

* Re: [9front] upas email configuration
  2022-02-15 19:05   ` phil9
@ 2022-02-15 23:50     ` thinktankworkspaces
  2022-02-17  7:24     ` thinktankworkspaces
  2022-02-17  7:27     ` thinktankworkspaces
  2 siblings, 0 replies; 12+ messages in thread
From: thinktankworkspaces @ 2022-02-15 23:50 UTC (permalink / raw)
  To: 9front

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


so /net.alt/dns doesn't exist and I can't create it. Not sure I should create it anyways. 
seems like system will create it or something. 

-d is helpful i think. I have sent so many emails. I kind of need to clean out the queue and start over?

mxdial(net!gmail.com, , <nil>, mx)
sending /net/dns 'gmail.com mx'
sending /net/dns 'gmail-smtp-in.l.google.com ip'
sending /net/dns 'alt1.gmail-smtp-in.l.google.com ip'
sending /net/dns 'alt2.gmail-smtp-in.l.google.com ip'
sending /net/dns 'alt3.gmail-smtp-in.l.google.com ip'
sending /net/dns 'alt4.gmail-smtp-in.l.google.com ip'
mx list: gmail-smtp-in.l.google.com	5	
mx list: gmail-smtp-in.l.google.com	5	74.125.197.26
mx list: alt1.gmail-smtp-in.l.google.com	10	
mx list: alt1.gmail-smtp-in.l.google.com	10	142.250.115.26
mx list: alt2.gmail-smtp-in.l.google.com	20	
mx list: alt2.gmail-smtp-in.l.google.com	20	64.233.171.26
mx list: alt3.gmail-smtp-in.l.google.com	30	
mx list: alt3.gmail-smtp-in.l.google.com	30	142.250.152.26
mx list: alt4.gmail-smtp-in.l.google.com	40	
mx list: alt4.gmail-smtp-in.l.google.com	40	172.253.113.26

mxdial trying gmail-smtp-in.l.google.com	[/net/net!74.125.197.26!smtp]
	failed interrupted
mxdial trying alt1.gmail-smtp-in.l.google.com	[/net/net!142.250.115.26!smtp]
	failed interrupted
mxdial trying alt2.gmail-smtp-in.l.google.com	[/net/net!64.233.171.26!smtp]
	failed interrupted
mxdial trying alt3.gmail-smtp-in.l.google.com	[/net/net!142.250.152.26!smtp]
	failed interrupted
mxdial trying alt4.gmail-smtp-in.l.google.com	[/net/net!172.253.113.26!smtp]
	failed interrupted
sending /net/dns 'gmail.com ip'
sending /net/dns 'gmail-smtp-in.l.google.com ip'
sending /net/dns 'alt1.gmail-smtp-in.l.google.com ip'
sending /net/dns 'alt2.gmail-smtp-in.l.google.com ip'
sending /net/dns 'alt3.gmail-smtp-in.l.google.com ip'
sending /net/dns 'alt4.gmail-smtp-in.l.google.com ip'
mxdial trying gmail-smtp-in.l.google.com	[/net/net!74.125.197.26!smtp]
	failed interrupted
mxdial trying alt1.gmail-smtp-in.l.google.com	[/net/net!142.250.115.26!smtp]
	failed interrupted
mxdial trying alt2.gmail-smtp-in.l.google.com	[/net/net!64.233.171.26!smtp]
	failed interrupted
mxdial trying alt3.gmail-smtp-in.l.google.com	[/net/net!142.250.152.26!smtp]
	failed interrupted
mxdial trying alt4.gmail-smtp-in.l.google.com	[/net/net!172.253.113.26!smtp]
	failed interrupted
mxdial trying gmail.com	[/net/net!172.217.14.229!smtp]
	failed interrupted

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

* Re: [9front] upas email configuration
  2022-02-15 19:05   ` phil9
  2022-02-15 23:50     ` thinktankworkspaces
@ 2022-02-17  7:24     ` thinktankworkspaces
  2022-02-17  7:27     ` thinktankworkspaces
  2 siblings, 0 replies; 12+ messages in thread
From: thinktankworkspaces @ 2022-02-17  7:24 UTC (permalink / raw)
  To: 9front

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


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

* Re: [9front] upas email configuration
  2022-02-15 19:05   ` phil9
  2022-02-15 23:50     ` thinktankworkspaces
  2022-02-17  7:24     ` thinktankworkspaces
@ 2022-02-17  7:27     ` thinktankworkspaces
  2 siblings, 0 replies; 12+ messages in thread
From: thinktankworkspaces @ 2022-02-17  7:27 UTC (permalink / raw)
  To: 9front

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, , <nil>, 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 <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


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

* Re: [9front] upas email configuration
  2022-02-15 12:49   ` sirjofri
@ 2022-02-24  5:09     ` thinktankworkspaces
  2022-02-24 11:05       ` hiro
  0 siblings, 1 reply; 12+ messages in thread
From: thinktankworkspaces @ 2022-02-24  5:09 UTC (permalink / raw)
  To: 9front

So I suspect mail was working fine. AWS was blocking 25 and 587. They kind of recommend 
paying for static address and to use SES. Which is wasteful and expensive over a long
period of time. SES only publishes to SNS or s3. I would have write extra stuff just to get
mail. 



Quoth sirjofri <sirjofri+ml-9front@sirjofri.de>:
> Hello you two,
> 
> I have a running mailserver on 9front using the 9front upas (which is 
> nupas). Most things are configured like mentioned in the FQA (section 7, 
> I guess?), but here are my notes. I hope it helps:
> 
> http://sirjofri.de/changeblog/1594881674/
> 
> I have another blog post about putting tagged mails into different 
> folders, which you can nicely see in action when you look at my mail 
> address: sirjofri+ml-9front, where the ml-9front part specifies the 
> folder for the mails sent to this address.
> 
> Mail server maintenance is horror and I wish you good luck. Also don't 
> forget you need a running cron for sending mail using runq.
> 
> sirjofri


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

* Re: [9front] upas email configuration
  2022-02-24  5:09     ` thinktankworkspaces
@ 2022-02-24 11:05       ` hiro
  2022-02-26 20:43         ` thinktankworkspaces
  0 siblings, 1 reply; 12+ messages in thread
From: hiro @ 2022-02-24 11:05 UTC (permalink / raw)
  To: 9front

maybe just get a cheaper VPS from a more reputable provider.
will save nerves and money.

On 2/24/22, thinktankworkspaces@gmail.com <thinktankworkspaces@gmail.com> wrote:
> So I suspect mail was working fine. AWS was blocking 25 and 587. They kind
> of recommend
> paying for static address and to use SES. Which is wasteful and expensive
> over a long
> period of time. SES only publishes to SNS or s3. I would have write extra
> stuff just to get
> mail.
>
>
>
> Quoth sirjofri <sirjofri+ml-9front@sirjofri.de>:
>> Hello you two,
>>
>> I have a running mailserver on 9front using the 9front upas (which is
>> nupas). Most things are configured like mentioned in the FQA (section 7,
>> I guess?), but here are my notes. I hope it helps:
>>
>> http://sirjofri.de/changeblog/1594881674/
>>
>> I have another blog post about putting tagged mails into different
>> folders, which you can nicely see in action when you look at my mail
>> address: sirjofri+ml-9front, where the ml-9front part specifies the
>> folder for the mails sent to this address.
>>
>> Mail server maintenance is horror and I wish you good luck. Also don't
>> forget you need a running cron for sending mail using runq.
>>
>> sirjofri
>
>

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

* Re: [9front] upas email configuration
  2022-02-24 11:05       ` hiro
@ 2022-02-26 20:43         ` thinktankworkspaces
  0 siblings, 0 replies; 12+ messages in thread
From: thinktankworkspaces @ 2022-02-26 20:43 UTC (permalink / raw)
  To: 9front

I am in agreement. I had no idea what I was getting myself into. 
The ec2 is a t3.small and its currently about $15+ per month. 

It hosts 3 domains and I was planning to migrate more domains. 

SES is just not practical and its an overly complicated system designed for a lot of internal message
passing between other AWS resoures. AWS workmail is $25 per user and bloated. I do a lot of AWS in
my day job so it was kind of a natural progression to move it. 

I seriously can't fathom why its so expensive for what little it does. Sure I could have choosen 
a smaller instance and plan out projected usage to save in bandwith and IOPS. 
But its a lot of work just to reduce cost and save $5.

I installed 9front on Linode shared VPS yesterday. It frustrates me beyond measure that I can 
get the same performance for cheaper. I did notice however they are using AWS as well. It appears
they are using a larger instance and they are carving out pieces of it with qemu. They 
try to keep it hidden but its noticeable in glish console. The network is bridged and uses a volume 
slice rather than virtual drive. Its interesting. I still need to file a ticket for smtp access. 
I could potentially my domains over.




Quoth hiro <23hiro@gmail.com>:
> maybe just get a cheaper VPS from a more reputable provider.
> will save nerves and money.
> 
> On 2/24/22, thinktankworkspaces@gmail.com <thinktankworkspaces@gmail.com> wrote:
> > So I suspect mail was working fine. AWS was blocking 25 and 587. They kind
> > of recommend
> > paying for static address and to use SES. Which is wasteful and expensive
> > over a long
> > period of time. SES only publishes to SNS or s3. I would have write extra
> > stuff just to get
> > mail.
> >
> >
> >
> > Quoth sirjofri <sirjofri+ml-9front@sirjofri.de>:
> >> Hello you two,
> >>
> >> I have a running mailserver on 9front using the 9front upas (which is
> >> nupas). Most things are configured like mentioned in the FQA (section 7,
> >> I guess?), but here are my notes. I hope it helps:
> >>
> >> http://sirjofri.de/changeblog/1594881674/
> >>
> >> I have another blog post about putting tagged mails into different
> >> folders, which you can nicely see in action when you look at my mail
> >> address: sirjofri+ml-9front, where the ml-9front part specifies the
> >> folder for the mails sent to this address.
> >>
> >> Mail server maintenance is horror and I wish you good luck. Also don't
> >> forget you need a running cron for sending mail using runq.
> >>
> >> sirjofri
> >
> >


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