On Tue, Feb 20, 2024 at 06:02:22PM -0500, Wietse Venema via Postfix-users wrote:
> - You'd better add $$ at the end of the pattern, to anchor the regular > expression. Actually, that hostname is typically followed by additional data separated by whitespace or a ';'. > header_checks = pcre:{ {/^Authentication-Results: \Q$myhostname\E$$/ > IGNORE} } > > Note that pcre, not regexp. Indeed PCRE is best here: header_checks = pcre:{ {/^Authentication-Results: \Q$myhostname\E[\s;]/ IGNORE} } -- Viktor. _______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org