mailbody scan

seechiller

Renowned Member
Jan 5, 2014
18
1
68
I have a new mail gateway running and notice that almost all mails arrive with links in the form page.link, e.g.:
https://ifjuzcfj.page.link/bG1vcFmTTsSp18FC9
https://tasuulmw.page.link/1KxEGmkkbaGfvPaa8
https://dkrldfgl.page.link/11sFfZPAviB66TXP8
https://lajrahba.page.link/SwNfro99dBWPUeAp7
https://hswxaher.page.link/FXYm5udAqpFMeQMd7
https://anqjoiqw.page.link/coHRBruBvrdEtCzw8

I have created a regex for this:
https:\/\/[a-z0-9]+\.page\.link\/[a-zA-Z0-9_-]+

Now the question is where do I integrate this so that the content of the mails is scanned, if there is a hit, the mail should be rejected / filtered immediately and not appear in the quarantine.

What is the best way to do this?
 

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!