PMG Block requests from and to

dcsapak

Proxmox Staff Member
Staff member
Feb 1, 2016
7,825
945
163
33
Vienna
if you want to match from/to header, you have to use a 'what' object with 'match field'

but i don't think it's possible to directly create a rule that does what you want

you'd have to create multiple rules:

1: to : admin@example.com/spam@example.com, from: example3.com/example4.com -> ACCEPT
2: to : admin@example.com/spam@example.com -> BLOCK
 

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 your own in 60 seconds.

Buy now!