How can I handle inbound mail processing on port 25 without using EC2?

0
3
Asked By CloudyNinja92 On

I'm working on a custom inbound mail server that listens on port 25, and I'm looking to deploy it in a serverless environment. However, I've found out that both AWS Fargate and Lambda don't support inbound or outbound traffic on port 25. This leaves me with the option of using ECS with EC2, which I would prefer to avoid since I want a more scalable solution without relying on EC2. I need to find a better way to manage incoming emails on port 25 without depending on EC2, and using SES isn't suitable for my project. Any suggestions?

3 Answers

Answered By CuriousCoder99 On

I’ve got to ask, why are you stuck on port 25? Are there specific requirements your use case demands that prevent you from using other ports or services? I’m just curious since there are often workarounds!

Answered By ServerWhisperer77 On

You might want to consider using a Network Load Balancer (NLB) since it can accept inbound traffic on port 25. This setup allows you to work with either EC2 or even Fargate if it supports inbound via the NLB. Just keep in mind that while EC2 can block port 25 by default, the NLB won't have the same restrictions. Check out the AWS documentation for more details!

Answered By TechieTina23 On

If you're set on avoiding EC2, definitely go for the NLB option. It can handle the traffic as you need! Just confirm that your Fargate setup can work with it.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.