Topic: How to filter email based on recipient addresses with wildcard
I have a catch-all on my domain name and used it to create lots of coupons from a supplier on different email address (about 250). I now keep getting loads of marketing emails on those addresses so I would like to filter and block the emails sent to those addresses.
They have a uniform pattern, being e.g. firstname.lastname@example.org, email@example.com, firstname.lastname@example.org... so blocking every email sent to supplierspam* would work, but I just don't know where to do that. In the postfix config I found the header_checks file but I'm not sure whether it supports that functionality and I also read that there are some risks using recipient based restrictions