Filter keywords for a single mailbox in PMG

kkn1

New Member
Mar 5, 2025
1
0
1
Hi everyone,

I'm using Proxmox Mail Gateway (PMG) and would like to configure a specific filter for just one mailbox (a single email address). My goal is to define around 10 different words/terms (e.g., "away"), and if any of these appear in the subject or body of an email, the email should be blocked entirely from reaching the mailbox.

Is there a way to configure this in PMG?
I thought about Mail Filter -> Who or What Objects, but no idea how to configure correctly.

Thanks in advance for any guidance!
 
create what object > add Match Field
field: subject
value: away(or any regex)
you cant check body then you have to use spamassassin; afaik
create who object > add mail id
add new Mail filter > add who and what object you just created.