by pilif · 15y ago · 0 comments
More seriously:
While I can kind of understand that Amazon has their API and probably wants this to work similarly, but there is already a wide-spread protocol for sending out email (SMTP) and I just can't understand why they can't provide an endpoint for that.
Many applications which I really see making use of this already have built-in SMTP support (and are using that today), so why force developers to work with another, completely different API to send email over Amazon?
You can configure SES to work with Postfix or Sendmail. It's at least close to what you're asking about.
Now, I have nothing against that method in general, but if you need to send so many emails that it's useful to use the Amazon service, then forking, starting up perl and then running that script for every email you are sending might not be a viable option performance-wise.
On the other hand: If you are using amazon's service for sending mail, then with some likelyhood you are also running EC2 where wasting a couple of CPU cycles is beneficial for Amazon :-)
If we are talking compromised machines, then the key would be compromised as well at which point a spammer can use that key to send spam regardless of protocol.
I'm not saying to use smtp auth with your amazon username and password, but with some token derived from the API key, but just SMTP.