How to block all emails with a link/domain in the body of the email

scott00

New Member
Aug 9, 2022
3
0
1
I have to configure this, still not working, Anyone can help?

cp /etc/mail/spamassassin/custom.cf /etc/pmg/templates/custom.cf

nano /etc/pmg/templates/custom.cf

uri __G_DRV /\\/drive\\.google\\.com/i
uri __ONE_DRV /\\/onedrive\\.live\\.com/i
meta CLOUD_SHARE (__G_DRV || __ONE_DRV)
describe CLOUD_SHARE Suspicious cloud storage links
score CLOUD_SHARE 1.0


pmgconfig sync --restart 1


These configure not work.
 

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!