Michiel Hazelhof via Postfix-users:
Checking application/pgp-signature: FAILURE
-- Start of PGP signed section.
> Delete the (.*?)$ at the end. <-- this works flawesly, same results as
> before, thanks :)
> Replace the (.*?) at the start with .+ <-- this only works if the subject
> starts with the given string, when filtering on a part of a subject it
> doesn't trigger, is there a smarter way to do this?
My mistake: (.*?) matches 'empty' therefore my .+ should be .*
But, as Viktor wrote, non-ASCII headers are usually encoded (base64
or quoted-printable), and as I explained, reguular expressions over
encoded text are not useful.
If you must match decoded headers, you need deeper content inspection,
perhaps an rspamd milter.
Wietse
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]