On 13/04/2019 09:26, Andrey Repin wrote:
Greetings, Nick Howitt!

I am receiving some not very nice spam and I was wondering if I could
use as a single filter:
To: contains mydomain
From: is the same as To: (inside < and >)
Return-Path: is not from my domain
Or am I using completely the wrong tool for this?
If you search list archive, you'll find that each check made by postfix is
made in isolation, if you want some complex rules, you'd need a milter.


Thanks Andrey,
I thought the checks were line by line and you've confirmed it. I've had a quick look at writing milters and that one is beyond me for the moment.
Regards,
Nick

Reply via email to