Live data from Hacker News

A serverless email server on AWS using S3 and SES

github.com

51–60 of 217 posts

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

#51
There's another much more important limits on AWS SES that the article doesn't mention if you try to do this for normal email, the 10MB message size limit, which translates to about a 6MB maximum attachment size.

It works fine for transactional mail and most newsletters, but quite a few users expect to be email larger files than that.

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

#52
post #14
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…

IPs are still a precious commodity, hence the threat of being listed by a high quality blocklist like Spamhaus provides an effective degree of encouragement for senders to clean up their act. Domain blocklists also exist, but the stick isn’t as sharp, because domains are a dime a dozen.

IPv6 has entered the chat.

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

#53
post #32

Earlier quoted context omitted.

My understanding of it has been "look, I reinvented cgi-bin."

Is cgi-bin highly available and will someone else have to wake up at night if it crashes?

Yes and no, respectively.

A cgi-bin is as highly available as the web infrastructure hosting it, which as the cgi-bin author you don't need to know anything about.

A cgi-bin cannot "crash" because there is nothing long-running to crash. It is only run on demand.

I think it is easy to make the case that CGI was the proto-serverless api and that the serverless offerings we have today are an evolution of the CGI approach.

edit: typos

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

#55
post #22

A serverless server? It is a great illustration of how the term "serverless" has shifted from literally no server (ex: sqlite database) to "somebody else's computer".

> serverless server? This isn’t a contradiction. “Server” is an overloaded term and the “server” in “serverless” refers to a different meaning of “server” than the “email server” bit. “Serverless” means there is no physical or virtual hosts to manage, you just supply the request handler i.e., the email server . It's amusing because it sounds like a contradiction, but it's not one.

I disagree with your assessment, email is a service and not a server. A service can run on a server, or ephemerally as in this article (which still has servers underneath it, you're just not running them). S3 and SES are services running on servers.

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

#57
post #22

A serverless server? It is a great illustration of how the term "serverless" has shifted from literally no server (ex: sqlite database) to "somebody else's computer".

"Serverless" is a ridiculous stupid term. You'd think it meant something like Photoshop, some system that doesn't rely a server, something that lives locally. Nope. It's just a server that someone else manages 90% of.

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

#58
I feel like the current methods for spam filtration are getting so many false positives that it makes email unnecessarily difficult for users with good intentions.

I also don't know how much of this is unethical behaviour by the big email providers, forcing you to sign up for their cloud email solution instead of doing your own.

It sure would be nice to be able to run one's own email server without having to stress over whether the recipient got your email.

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

#59

One micro instance with Postfix is more than enough and can beat this setup not only in performance but in simplicity. What a year to be alive ...

In cost? Running postfix.org mail sever on a VM must have a nonzero cost, with the additional need to maintain the underlying OS.

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

#60
post #53
post #32

Earlier quoted context omitted.

Is cgi-bin highly available and will someone else have to wake up at night if it crashes?

Yes and no, respectively. A cgi-bin is as highly available as the web infrastructure hosting it, which as the cgi-bin author you don't need to know anything about. A cgi-bin cannot "crash" because there is nothing long-running to crash. It is only run on demand. I think it is easy to make the case that CGI was the proto-serverless api and that the serverless offerings we have today are an evolution of the CGI approac…

And cgi-bin was really just an evolution of inetd (or ucspi-tcp if you worshipped at the altar of djb). You didn't used to have to worry about binding to ports or long running processes. Something would just send you a message on stdin and you replied on stdout.
Post reply on HN