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

scott00

Member
Aug 9, 2022
5
0
6
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.