Allow Specific Inbound Mail Only from IP Address

S

switt

Guest
Here's my setup:
1) I receive email from three separate IP addresses (a spam cluster before my network)
2) At my firewall, I forward SMTP traffic to my Proxmox
3) Proxmox relays mail to my email server


Here's what I want to do:
1) Limit email I accept to only those 3 IP addresses at the spam cluster
2) Forward mail from those addresses to Proxmox like normal
3) I hope this limits incoming mail to only legitimate email

I can't figure out how to do this so is it possible?

Thanks,
Shawn
 
Here's my setup:
1) I receive email from three separate IP addresses (a spam cluster before my network)

configure your firewall to accept smtp only form the three IP´s

2) At my firewall, I forward SMTP traffic to my Proxmox

yes. but keep in mind, that as Proxmox do not receive emails directly, a lot of filtering methods are not possible:
- SPF and greylisting, RBL checks, etc.

All this can only be done if Proxmox receives mail from the internet directly.

3) Proxmox relays mail to my email server

yes.

Here's what I want to do:
1) Limit email I accept to only those 3 IP addresses at the spam cluster
2) Forward mail from those addresses to Proxmox like normal
3) I hope this limits incoming mail to only legitimate email

I can't figure out how to do this so is it possible?

Thanks,
Shawn
 

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!