Live data from Hacker News

A serverless email server on AWS using S3 and SES

github.com

1–10 of 217 posts

Re: A serverless email server on AWS using S3 and SES

#2
> This stack was created out of frustration due to the fact that to this day there's no easy way to have a full email server without the overhead of installing and configuring all servers needed to handle incoming and outgoing messages.

Looking at diagram, I'm not sure Postfix + Cyrus is more complicated than what you've got here.

Congrats though, I'm sure this will help a lot of people wanting to manage mail themselves. Just not sure how you're going to get mail accepted by others from constantly changing (and possibly blacklisted) Amazon IPs without using trusted smart hosts.

Re: A serverless email server on AWS using S3 and SES

#5

> This stack was created out of frustration due to the fact that to this day there's no easy way to have a full email server without the overhead of installing and configuring all servers needed to handle incoming and outgoing messages. Looking at diagram, I'm not sure Postfix + Cyrus is more complicated than what you've got here. Congrats though, I'm sure this will help a lot of people wanting to manage mail themsel…

You spotted the issue: maintaining a mailer requires constant monitoring of blocklists and contacting the list owners to be unblocked.

It required a fixed ipaddr and takes months to gain trust.

Using random AWS IP addresses is a lost cause.

Re: A serverless email server on AWS using S3 and SES

#7
Reading it I get that AWS now by default restricts email by

  - 200 mails per day max. 1 per second.  
  - Can only send mail to verified addresses. Not sure how they verify though.  
  - Can only send mail from the domain you own and verified.
All these are good steps. Guess that will gradually take AWS IPs out of all those mail blacklists.

And while we are on the topic, I find IP based mail blacklist services such as BRBL obsolete and possibly harmful. Now that we have domain verification services like DKIM SPF etc. Blacklist the domain. Not ip addresses as most institutions don't own their IPs like in the past. Most of all are hosted, and that IP might get assigned to someone else a few days later.

Re: A serverless email server on AWS using S3 and SES

#8
post #3

Am I reading this correctly, you have to upload a JSON file to an S3 bucket to send an email? That’s not really email then, is it?

SES supports using SMTP to send emails - so I don't know why this particular setup would prohibit that.

https://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-e...

Re: A serverless email server on AWS using S3 and SES

#9
post #7

Reading it I get that AWS now by default restricts email by - 200 mails per day max. 1 per second. - Can only send mail to verified addresses. Not sure how they verify though. - Can only send mail from the domain you own and verified. All these are good steps. Guess that will gradually take AWS IPs out of all those mail blacklists. And while we are on the topic, I find IP based mail blacklist services such as BRBL ob…

Verifying emails just involves SES sending an opt-in / verification link to the recipient email address in question.

Re: A serverless email server on AWS using S3 and SES

#10
post #7

Reading it I get that AWS now by default restricts email by - 200 mails per day max. 1 per second. - Can only send mail to verified addresses. Not sure how they verify though. - Can only send mail from the domain you own and verified. All these are good steps. Guess that will gradually take AWS IPs out of all those mail blacklists. And while we are on the topic, I find IP based mail blacklist services such as BRBL ob…

[deleted]
Post reply on HN