[pfx] Re: milter_header_checks seems not to get all spam

2024-11-09 Thread Robert L Mathews via Postfix-users
On Nov 9, 2024, at 10:08 AM, Randy Bush via Postfix-users wrote: > pcre is not in the debian postfix package :( It's available, but in a separate package named "postfix-pcre" that you can install: https://packages.debian.org/bookworm/postfix-pcre -- Robert L Mathews __

[pfx] Re: milter_header_checks seems not to get all spam

2024-11-09 Thread Randy Bush via Postfix-users
> I don't know aboud rspamd, but SpamAssassin may produce headers like: > X-Spam-Status: No, score=-1.9 required=3.5 tests=BAYES_00,DKIM_SIGNED, > which would positively match the OP's regexp: > /^X-Spam.*YES/ i do not believe rspamd produces such. as always, i could be wrong. >># I generall

[pfx] Re: milter_header_checks seems not to get all spam

2024-11-09 Thread Randy Bush via Postfix-users
> If you also emply header checks i don't. i checked because of the repeated "This feature is not supported with smtp header/body checks." > header_checks = regexp:{ {/^X-Spam(-Flag)?:[[:blank:]]*YES/ REJECT} } > mime_header_checks = > nested_header_checks = will try. thanks. rand

[pfx] Re: milter_header_checks seems not to get all spam

2024-11-09 Thread Randy Bush via Postfix-users
Robert L Mathews via Postfix-users wrote: >> pcre is not in the debian postfix package :( > It's available, but in a separate package named "postfix-pcre" that > you can install: > https://packages.debian.org/bookworm/postfix-pcre w00t! thank you. randy

[pfx] Re: milter_header_checks seems not to get all spam

2024-11-09 Thread Danjel Jungersen via Postfix-users
On 09-11-2024 19:08, Randy Bush via Postfix-users wrote: I don't know aboud rspamd, but SpamAssassin may produce headers like: X-Spam-Status: No, score=-1.9 required=3.5 tests=BAYES_00,DKIM_SIGNED, which would positively match the OP's regexp: /^X-Spam.*YES/ i do not believe rspamd produces suc

[pfx] Re: milter_header_checks seems not to get all spam

2024-11-09 Thread Matus UHLAR - fantomas via Postfix-users
On Fri, Nov 08, 2024 at 10:25:27PM -0800, Randy Bush via Postfix-users wrote: well, i have seen two `^X-Spam` markings X-Spam: Yes X-Spam-Flag: YES which is why my regexp was `/^X-Spam.*YES/`. i believe, but do not know, that the first is the mark of rspamd. no idea about the other.