Earlier quoted context omitted.
In cost? Running postfix.org mail sever on a VM must have a nonzero cost, with the additional need to maintain the underlying OS.
EC2 micro instances are free.
A serverless email server on AWS using S3 and SES
181–190 of 217 posts
Re: A serverless email server on AWS using S3 and SES
#182This is awesome & I totally intend to play with it :D Do you have any plans / any ideas on feasibility to plop an imap server on top of the s3 store? I have really wanted a serverless aws solution and this moves the needle on work I did not wanna do so I’m reinterested again. Something like an s3 object change -> dynamodb index might work well for latency concerns and keep the serverless spirit alive. I just have suc…
At that point why not use Amazon WorkMail[0]? Then you don't have to maintain anything at all. 0. https://aws.amazon.com/workmail/
Re: A serverless email server on AWS using S3 and SES
#183This is as "serverless" as gmail. SES is literally Simple Email Service. Now do that without SES.
| Now do that without SES. Why, so they can prove they know how to host an email server? That’s not the point of the OP.
Re: A serverless email server on AWS using S3 and SES
#184I'm a little bit disappointed by the solution of this article. They start with: "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." Ok, so the point is that it is too complicated/frustrating to deploy an email server. But look at their…
Re: A serverless email server on AWS using S3 and SES
#185This is a brilliant architecture. Everyone here talking about no email clients, IMAP and AWS restrictions is missing the point. Although you could use this as a personal account, or as a company. This fully automated system is a perfect ground layer to a number of applications with a very cleaver API. Say you are a small startup, and you will need some email functionality? Give your web server access to writing to ou…
SES is already in the mix, so why not just use it directly to send emails from your web server?
Re: A serverless email server on AWS using S3 and SES
#186Earlier quoted context omitted.
Yes, I used something like that as well. But, are you sure you can set "From" header to anything(even for email/domain that aren't verified with SES). So that on receiver side(gmail for example) it will show the original sender. In my account(in production mode, not being sandbox), I couldn't. When I attempted to set "From" header(or "Return-Path") I got these error 554 Message rejected: Email address is not verified…
No, you can't set it to anything, you'll fail DKIM/DMARC/SPF. Just leave it as it is! You just wrap the original email in an 'envelope' with envelope-to (you @ other provider) and envelope-from (whatever @ verified with SES). You can see this here, if it helps at all, though it's a bit DSL-y: https://github.com/OJFord/amail/blob/c602f4d36c1bb9df4da1744...
thread 'main' panicked at 'Failed to send test: Permanent(Response { code: Code { severity: PermanentNegativeCompletion, category: MailSystem, detail: Four }, message: ["Message rejected: Email address is not verified. The following identities failed the check in region US-WEST-2: random@gmail.com"] })', src/main.rs:41:10
note: run with `RUST_BACKTRACE=1` environment variable to display a backtraceRe: A serverless email server on AWS using S3 and SES
#187This is great but it's a bit misleading. It only store email on S3, that mean you cannot read email with your email client. Seem thing with outgoing, you upload email to s3 in a certain format to be send out, not smtp protocol This is more like an API for sending and receiving. You cannot say generate SMTP credential and drop in your mail client. Also, one of the limitation with AWS SES is you cannot sent FROM or RET…
Re: A serverless email server on AWS using S3 and SES
#188Earlier quoted context omitted.
I literally had one of the heads of a crucial flight system project loudly exclaim to me in front of the senior managers. "It's serverless - there is no server!" To which I honestly, just kept my mouth shut and stood aside.
To which I honestly, just kept my mouth shut and stood aside. I can never keep my mouth shut in these situations. Sometimes it leads to promotions, but I suspect it puts a ceiling on how high I can climb the corporate ladder.
Re: A serverless email server on AWS using S3 and SES
#189Re: A serverless email server on AWS using S3 and SES
#190A 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 has become a stupid marketing term, just like Facebook hijacked the words “Friend” and “Like”. I look forward to true serverless software - that is either peer to peer or uses a distributed back-end with encryption. Now THAT is the future! Serverless just means “we spin up a server for you”, similarly to how “the cloud” is just a euphemism for “extreme centralization of hosting myriad clients under the con…
I agree it's not a term well suited to its popular use, but such is life. Commercial interests are constantly mucking up the language to suit their own ends. E.g. Discord is abusing the term "server" to mean a virtual meeting space. "Organic" w.r.t. food has a really contrived official criteria, unlike in chemistry. Regular people muck up the language in frustrating ways, too. See "literally".