email gateway for ec2 instance

oah433

Member
Apr 8, 2021
31
1
8
40
Hi
I have the following setup and I am not sure if proxmox email gateway is intended for such deployments:
I did the following
1- Changed the MX-record to point to the public IP (100.10.10.10) of my on-premise PMG machine
2- Did 1:1 NAT for the public (100.10.10.10) and private IPs (5.5.5.4) of the PMG machine
3- In the default-relay I had the public IP of the email-server 7.7.7.8 (running on AWS Ec2-machine)
4- In the relay-domains I added my domains mail.xyz.com and xyz.com
5- Configured the firewall on my AWS machine to ignore all the traffic that comes to port 25 except from the public 100.10.10.10 (public IP of my PMG)
This setup is not working and I can't see why. What am I missing here?

Note: I have WHM running on my EC2 server. Do I need to apply any settings on its side?


proxmox_email.png
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!