简体   繁体   English

AWS EC2上的电子邮件服务器

[英]Email server on AWS EC2

High level, what I'm tying to do: We want to create a specific email address for each of our customers on our domain name (example customer01@xyz.com). 高层,我想做的是:我们想在我们的域名(例如customer01@xyz.com)上为每个客户创建一个特定的电子邮件地址。 When an email is received at that address, our system will associate the attachment with that customer and process it a certain way. 在该地址收到电子邮件后,我们的系统会将附件与该客户相关联,并以某种方式进行处理。 The email addresses will only be used for this purpose, so I don't really need a user interface or anything (although it might be nice to have for troubleshooting). 电子邮件地址仅用于此目的,因此我真的不需要用户界面或其他任何东西(尽管对于故障排除而言可能会很好)。

I've just started using AWS and have an overall understanding of the services. 我刚刚开始使用AWS,并且对服务有一个整体的了解。 I'm planning on doing this on an EC2 instance. 我打算在EC2实例上执行此操作。

I'm assuming it's possible to set up a mail server (incoming mail only) to constantly monitor all the customer specific email address and process any attachments that come in. 我假设可以设置一个邮件服务器(仅传入邮件)来不断监视所有客户特定的电子邮件地址并处理所有传入的附件。

Where do I even start with researching this (I've Googled it but need more direction)? 我什至从哪里开始研究这个问题(我已经用Google搜索了它,但需要更多指导)? Here are some questions that come to mind: 1) What mail server software is best for this? 以下是一些我想到的问题:1)哪种邮件服务器软件最适合? Or is this even needed? 还是需要这个? 2) Is it possible to write code to monitor the incoming email for ALL email addresses simultaneously? 2)是否可以编写代码以同时监视所有电子邮件地址的传入电子邮件? I don't mind buying existing software if it fits our needs. 我不介意购买符合我们需求的现有软件。

I'm a programmer myself but will not be coding this project. 我本人是一名程序员,但不会编写此项目。 I'll be hiring someone from Elance but I want to at least have a general knowledge of what is needed before posting the job. 我将从Elance招聘一个人,但我至少希望对职位发布之前的工作有一个一般的了解。

Thanks for any advice or links to helpful sites to get me in the right direction here. 感谢您提供任何建议或指向有用站点的链接,以使我在这里找到正确的方向。

Your requirement concentrates on processing the received Incoming Emails. 您的要求集中在处理收到的传入电子邮件上。 AWS doesn't have any out of the box service / solution. AWS没有任何现成的服务/解决方案。 Amazon Provides SES - Simple Email Service, which will help you deliver emails. 亚马逊提供SES-简单电子邮件服务,将帮助您传递电子邮件。

You need to build your solution on SMTP Servers like MS Exchange or Apache James etc. 您需要在SMTP服务器(例如MS Exchange或Apache James等)上构建解决方案。

This product: http://www.email2db.com/ should do what you want. 该产品: http : //www.email2db.com/可以满足您的要求。 You could install it on EC2 or even use their hosted edition. 您可以将其安装在EC2上,甚至可以使用其托管版本。 Not cheap, but I suspect a lot cheaper than hiring someone to write something with 1/10 the features. 不便宜,但是我怀疑比雇用某人编写具有1/10功能的东西便宜得多。

There are some cloud services that provide such solution like Mailgun or Mandrill. 有一些云服务可提供此类解决方案,例如Mailgun或Mandrill。 Presonally I've only used Mailgun and it's awesome. 以前我只用过Mailgun,它很棒。 You setup routing rules based on regexp on a domain and you can set them up to be redirected as a POST to your website. 您可以基于域上的regexp设置路由规则,并且可以将其设置为以POST重定向到您的网站。 Both providers have a free tier of 10-12k mails per month wich is great. 两家提供商都有每月10-12k邮件的免费套餐,这非常棒。

Regards, Marc 问候,马克

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM