Accepting Only Allowed Attachments

ibrahimayhan

Member
Jul 21, 2020
30
0
6
32
Hi Proxmox Team,
I'm Adapting on our Proxmox MG Structure,
Instead of Blocking Individual Mail Attachments,
Accept Only Specific Mail Attachments
How Can I Write the Rule?
 
Hi,

you could do this by using two rules.
1. A higher priority "accept mails with good attachment"
2. A lower priority than the other rule with "block ALL attachments"

As the "accept good" one has higher priority only the bad ones will come to the "block every mail with any attachment" rule.
 
Hi,

you could do this by using two rules.
1. A higher priority "accept mails with good attachment"
2. A lower priority than the other rule with "block ALL attachments"

As the "accept good" one has higher priority only the bad ones will come to the "block every mail with any attachment" rule.

Hi @t.lamprecht
I Didn't Understand What To Do Because I Used Proxmox MG For The First Time,
Can You Tell With A Screen Shot Or A Small Video?
 
There's a "Installation and Configuration of Proxmox Mail Gateway" video here which touches the mail filter rules a bit:
https://youtu.be/Dr3-BeY0V1k?t=410

Also there's the documentation available:
https://pmg.proxmox.com/pmg-docs/pmg-admin-guide.html#chapter_mailfilter

You would need to add a "what object" for the good attachments:
https://pmg.proxmox.com/pmg-docs/pmg-admin-guide.html#pmg_mailfilter_what

Sorry, I'm on the go, so cannot provide more in depth help, try to search the forum and docs, youtube has also some videos.
Maybe some other forum member can help a bit :)
 

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!